Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2008 10:15:20 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/ata ata-all.c
Message-ID:  <200805241015.m4OAFLAc030744@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805241015.m4OAFLAc030744>