HomeFreeBSD

devclass_get_maxunit() returns n+1 with n starting at 0.
rS178339Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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

Details

Provenance
bzAuthored on
Parents
rS178338: Add one more HTC PocketPC device id.
Branches
Unknown
Tags
Unknown

Event Timeline