diff options
author | imp <imp@FreeBSD.org> | 2001-11-02 17:28:43 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2001-11-02 17:28:43 +0000 |
commit | bf4b2ea40eae132c607ed882ce91cde889b727a3 (patch) | |
tree | 6aea951e8c9cca6e9da6b3a9e98575fac96b2a93 /usr.sbin | |
parent | a17e2c0c4408996307edf2dee263e96b99339a92 (diff) | |
download | FreeBSD-src-bf4b2ea40eae132c607ed882ce91cde889b727a3.zip FreeBSD-src-bf4b2ea40eae132c607ed882ce91cde889b727a3.tar.gz |
Always set unit number to -1 unless some other unit is specified in
the config file. This fixes the breakage caused by the recent change
in the behavior of device_add_child for ata (which shows soren's
reservations were well founded).
Submitted by: OGAWA Takaya <t-ogawa@triaez.kaisei.org>
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pccard/pccardd/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/pccard/pccardd/file.c b/usr.sbin/pccard/pccardd/file.c index 0bfcc0b..4643812 100644 --- a/usr.sbin/pccard/pccardd/file.c +++ b/usr.sbin/pccard/pccardd/file.c @@ -573,6 +573,7 @@ new_driver(char *name) drivers = drvp; drvp->name = newstr(name); drvp->kernel = newstr(name); + drvp->unit = -1; p = drvp->kernel; while (*p++) if (*p >= '0' && *p <= '9') { |