2005-03-08 18:53:11 +00:00
|
|
|
#ifndef ISA_H
|
|
|
|
#define ISA_H
|
|
|
|
|
2005-04-13 12:01:44 +00:00
|
|
|
#include "isa_ids.h"
|
2005-03-08 18:53:11 +00:00
|
|
|
|
2005-04-13 12:01:44 +00:00
|
|
|
struct dev;
|
2005-03-08 18:53:11 +00:00
|
|
|
|
|
|
|
struct isa_driver
|
|
|
|
{
|
|
|
|
int type;
|
|
|
|
const char *name;
|
|
|
|
int (*probe)(struct dev *, unsigned short *);
|
|
|
|
unsigned short *ioaddrs;
|
|
|
|
};
|
|
|
|
|
|
|
|
#ifndef __HYPERSTONE__
|
|
|
|
#define __isa_driver __attribute__ ((used,__section__(".drivers.isa")))
|
|
|
|
#else
|
|
|
|
#define __isa_driver __attribute__ ((used,__section__(".drivisa")))
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern const struct isa_driver isa_drivers[];
|
|
|
|
extern const struct isa_driver isa_drivers_end[];
|
|
|
|
|
|
|
|
#define ISA_ROM(IMAGE, DESCRIPTION)
|
|
|
|
|
|
|
|
#endif /* ISA_H */
|
|
|
|
|