aboutsummaryrefslogtreecommitdiff
path: root/sys/pccard/pccard.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-07-22 06:46:10 +0000
committerWarner Losh <imp@FreeBSD.org>2002-07-22 06:46:10 +0000
commite6e2fdce18b8de8a38bd851a25b379720ab80bac (patch)
tree6c8157b3de31e1f4ac84cf47d28edb2982fdc1be /sys/pccard/pccard.c
parent776600e6de11ae6fca443b28bf5d1aeeb7ec3c4f (diff)
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).
Notes
Notes: svn path=/head/; revision=100484
Diffstat (limited to 'sys/pccard/pccard.c')
-rw-r--r--sys/pccard/pccard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c
index 6e51a78f6411..b145317833f5 100644
--- a/sys/pccard/pccard.c
+++ b/sys/pccard/pccard.c
@@ -224,6 +224,8 @@ allocate_driver(struct slot *slt, struct dev_desc *desc)
devi->running = 1;
devi->slt = slt;
bcopy(desc->misc, devi->misc, sizeof(desc->misc));
+ strcpy(devi->manufstr, desc->manufstr);
+ strcpy(devi->versstr, desc->versstr);
devi->manufacturer = desc->manufacturer;
devi->product = desc->product;
devi->prodext = desc->prodext;