bz 2008-04-20 17:45:32 UTC
FreeBSD src repository
Modified files:
sys/dev/ata ata-all.c
Log:
devclass_get_maxunit() returns n+1 with n starting at 0.
So if we have channel 0..3 devclass_get_maxunit is 4.
It's never been a problem as devclass_get_device() has
catched a possibly bad input.
Discussed with: scottl
Revision Changes Path
1.287 +5 -4 src/sys/dev/ata/ata-all.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"