From 2442eb4eddf7def948501cf76d5fa2eab08df870 Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 22 Jul 2002 06:46:10 +0000 Subject: Copy manufacturer and version string into the kernel, and copy it to the slot info. This brings OLDCARD's API much closer to NEWCARD and will allow moving more information into the kernel from pccard.conf for common drivers (ed). --- sys/pccard/slot.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/pccard/slot.h') diff --git a/sys/pccard/slot.h b/sys/pccard/slot.h index 9f40ae4..f797451 100644 --- a/sys/pccard/slot.h +++ b/sys/pccard/slot.h @@ -88,7 +88,9 @@ struct slot_ctrl { struct pccard_devinfo { uint8_t name[128]; int running; /* Current state of driver */ - uint8_t misc[116]; /* For any random info */ + uint8_t misc[DEV_MISC_LEN]; /* For any random info */ + uint8_t manufstr[DEV_MAX_CIS_LEN]; + uint8_t versstr[DEV_MAX_CIS_LEN]; uint32_t manufacturer; /* Manufacturer ID */ uint32_t product; /* Product ID */ uint32_t prodext; /* Product ID (extended) */ -- cgit v1.1