Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Oct 2009 10:38:30 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/i386/bios apm.c
Message-ID:  <200910311038.n9VAckkY043915@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2009-10-31 10:38:30 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/bios        apm.c 
  Log:
  SVN rev 198707 on 2009-10-31 10:38:30Z by ed
  
  Unobfuscate unit number handling in apm(4).
  
  There is no need to use the lower 4 bits of the unit number to store the
  device type number. Just use 0 and 1 to distinguish them. devfs also
  guarantees that there can never be an open call on a device that has a
  unit number different to 0 and 1, so there is no need to check for this
  in open().
  
  Revision  Changes    Path
  1.156     +9 -13     src/sys/i386/bios/apm.c



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