diff options
author | wollman <wollman@FreeBSD.org> | 1994-10-19 01:59:11 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-10-19 01:59:11 +0000 |
commit | 24e218260af83b7292524d1581b8dfcf5d3c8c5b (patch) | |
tree | 5d1fe7fa29fd95ce356cefa187ddba64b0b97b6d /sys/i386/isa/isa_device.h | |
parent | c2771d0d1bd4ee9f81f73a838d7aa075897c1b71 (diff) | |
download | FreeBSD-src-24e218260af83b7292524d1581b8dfcf5d3c8c5b.zip FreeBSD-src-24e218260af83b7292524d1581b8dfcf5d3c8c5b.tar.gz |
Add support for devconf to a large number of device drivers, and do
the right thing in dev_goawayall() when kdc_goaway is null.
Diffstat (limited to 'sys/i386/isa/isa_device.h')
-rw-r--r-- | sys/i386/isa/isa_device.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/i386/isa/isa_device.h b/sys/i386/isa/isa_device.h index 9badfde..fdd702a 100644 --- a/sys/i386/isa/isa_device.h +++ b/sys/i386/isa/isa_device.h @@ -92,6 +92,11 @@ struct isa_driver { int sensitive_hw; /* true if other probes confuse us */ }; +#define ISA_EXTERNALLEN (sizeof(struct isa_device)) +#define EISA_EXTERNALLEN (sizeof(struct isa_device) + sizeof(int)) + +#ifdef KERNEL + extern char eintrnames[]; /* end of intrnames[] */ extern u_long intrcnt[]; /* counts for for each device and stray */ extern char intrnames[]; /* string table containing device names */ @@ -130,10 +135,13 @@ int register_intr __P((int intr, int device_id, u_int flags, inthand2_t *handler, u_int mask, int unit)); int unregister_intr __P((int intr, inthand2_t *handler)); -#define ISA_EXTERNALLEN (sizeof(struct isa_device)) -#define EISA_EXTERNALLEN (sizeof(struct isa_device) + sizeof(int)) extern int isa_externalize(struct isa_device *, void *, size_t *); extern int isa_internalize(struct isa_device *, void **, size_t *); extern int eisa_externalize(struct isa_device *, int, void *, size_t *); +struct kern_devconf; +extern int isa_generic_externalize(struct proc *, struct kern_devconf *, void *, size_t); +extern int eisa_generic_externalize(struct proc *,struct kern_devconf *, void *, size_t); +#endif /* KERNEL */ + #endif /* _I386_ISA_ISA_DEVICE_H_ */ |