K 10 svn:author V 2 bz K 8 svn:date V 27 2008-05-24T10:15:20.000000Z K 7 svn:log V 234 MFC: rev. 1.287 ata-all.c 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 caught any possibly bad input. END