summaryrefslogtreecommitdiffstats
path: root/sys/pccard/slot.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-07-14 06:47:52 +0000
committerimp <imp@FreeBSD.org>2002-07-14 06:47:52 +0000
commit1f90b85e30b1201ea3e5c24561d5f6b88b8facc6 (patch)
treec09bd69e7b489354d1c8679f6c9b04b08eca8ce4 /sys/pccard/slot.h
parentd84464f213f9ba21a322886ecef90d13e9d43b74 (diff)
downloadFreeBSD-src-1f90b85e30b1201ea3e5c24561d5f6b88b8facc6.zip
FreeBSD-src-1f90b85e30b1201ea3e5c24561d5f6b88b8facc6.tar.gz
Rearrange previous commit that passed the vendor id to the kernel in a way
that's binary compatible for -stable. While binary compatibility doesn't matter much in -current, it is critical for -stable. This change requires pccardd/pccardc to be recompiled.
Diffstat (limited to 'sys/pccard/slot.h')
-rw-r--r--sys/pccard/slot.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/sys/pccard/slot.h b/sys/pccard/slot.h
index ebbec57..9f40ae4 100644
--- a/sys/pccard/slot.h
+++ b/sys/pccard/slot.h
@@ -86,14 +86,13 @@ struct slot_ctrl {
* devices together.
*/
struct pccard_devinfo {
- u_char name[128];
- int running; /* Current state of driver */
- u_char misc[128]; /* For any random info */
- u_int manufacturer; /* Manufacturer ID */
- u_int product; /* Product ID */
- u_int prodext; /* Product ID (extended) */
- struct slot *slt; /* Back pointer to slot */
-
+ uint8_t name[128];
+ int running; /* Current state of driver */
+ uint8_t misc[116]; /* For any random info */
+ uint32_t manufacturer; /* Manufacturer ID */
+ uint32_t product; /* Product ID */
+ uint32_t prodext; /* Product ID (extended) */
+ struct slot *slt; /* Back pointer to slot */
struct resource_list resources;
};
OpenPOWER on IntegriCloud