summaryrefslogtreecommitdiffstats
path: root/sys/pccard/cardinfo.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-08-01 18:12:51 +0000
committerimp <imp@FreeBSD.org>1999-08-01 18:12:51 +0000
commitfcdf2e3fd01acc88eaaedeba3ba84345bd8736e7 (patch)
tree4e73414eab3d82a1d31cda39876cbcc2d785a835 /sys/pccard/cardinfo.h
parent564b182ca1eb133700db2d233b675a6543944077 (diff)
downloadFreeBSD-src-fcdf2e3fd01acc88eaaedeba3ba84345bd8736e7.zip
FreeBSD-src-fcdf2e3fd01acc88eaaedeba3ba84345bd8736e7.tar.gz
o Add additional printfs for error cases when we can't attach the device.
o Add field to dev_desc for the size of the io port range. This isn't used yet in the committed sources, but will make the transition easier in the future. If you build this into your kernel, you will need to rebuild pccardd.
Diffstat (limited to 'sys/pccard/cardinfo.h')
-rw-r--r--sys/pccard/cardinfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pccard/cardinfo.h b/sys/pccard/cardinfo.h
index 045665a..ed11af8 100644
--- a/sys/pccard/cardinfo.h
+++ b/sys/pccard/cardinfo.h
@@ -101,10 +101,12 @@ struct dev_desc {
unsigned long mem; /* Memory address of driver */
int memsize; /* Memory size (if used) */
int iobase; /* base of I/O ports */
+ int iosize; /* Length of I/O ports */
int irqmask; /* Interrupt number(s) to allocate */
int flags; /* Device flags */
u_char misc[128]; /* For any random info */
};
+#define DEV_DESC_HAS_SIZE 1
struct pcic_reg {
unsigned char reg;
OpenPOWER on IntegriCloud