9ade11517c
There is no need to use the lower 4 bits of the unit number to store the device type number. Just use 0 and 1 to distinguish them. devfs also guarantees that there can never be an open call on a device that has a unit number different to 0 and 1, so there is no need to check for this in open(). |
||
---|---|---|
.. | ||
apm.c | ||
apm.h | ||
mca_machdep.c | ||
mca_machdep.h | ||
smapi_bios.S | ||
smapi.c | ||
smbios.c | ||
vpd.c |