17c478bd9Sstevel@tonic-gate #if !defined(ISA_H) && defined(CONFIG_ISA)
27c478bd9Sstevel@tonic-gate #define ISA_H
37c478bd9Sstevel@tonic-gate 
47c478bd9Sstevel@tonic-gate struct dev;
57c478bd9Sstevel@tonic-gate 
67c478bd9Sstevel@tonic-gate #define ISAPNP_VENDOR(a,b,c)	(((((a)-'A'+1)&0x3f)<<2)|\
77c478bd9Sstevel@tonic-gate 				((((b)-'A'+1)&0x18)>>3)|((((b)-'A'+1)&7)<<13)|\
87c478bd9Sstevel@tonic-gate 				((((c)-'A'+1)&0x1f)<<8))
97c478bd9Sstevel@tonic-gate 
107c478bd9Sstevel@tonic-gate #define	GENERIC_ISAPNP_VENDOR	ISAPNP_VENDOR('P','N','P')
117c478bd9Sstevel@tonic-gate 
127c478bd9Sstevel@tonic-gate struct isa_driver
137c478bd9Sstevel@tonic-gate {
147c478bd9Sstevel@tonic-gate 	int type;
157c478bd9Sstevel@tonic-gate 	const char *name;
167c478bd9Sstevel@tonic-gate 	int (*probe)(struct dev *, unsigned short *);
177c478bd9Sstevel@tonic-gate 	unsigned short *ioaddrs;
187c478bd9Sstevel@tonic-gate };
197c478bd9Sstevel@tonic-gate 
207c478bd9Sstevel@tonic-gate #define __isa_driver	__attribute__ ((unused,__section__(".drivers.isa")))
217c478bd9Sstevel@tonic-gate extern const struct isa_driver isa_drivers[];
227c478bd9Sstevel@tonic-gate extern const struct isa_driver isa_drivers_end[];
237c478bd9Sstevel@tonic-gate 
247c478bd9Sstevel@tonic-gate #define ISA_ROM(IMAGE, DESCRIPTION)
257c478bd9Sstevel@tonic-gate 
267c478bd9Sstevel@tonic-gate #endif /* ISA_H */
277c478bd9Sstevel@tonic-gate 
28