cvs commit: src/sys/dev/ata ata-all.c

Bjoern A. Zeeb bz at FreeBSD.org
Sat May 24 10:15:21 UTC 2008


bz          2008-05-24 10:15:20 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/dev/ata          ata-all.c 
  Log:
  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.
  
  Revision   Changes    Path
  1.280.2.2  +5 -4      src/sys/dev/ata/ata-all.c


More information about the cvs-all mailing list