HomeFreeBSD

MFC: rev. 1.287 ata-all.c
rS179285Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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.

Details

Provenance
bzAuthored on
Parents
rS179284: MFC: rev. 1.6
Branches
Unknown
Tags
Unknown

Event Timeline