cvs commit: src/sys/dev/pci pci.c

Warner Losh imp at
Wed Apr 21 13:19:57 PDT 2004

imp         2004/04/21 13:19:56 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/pci          pci.c 
  ata devices in legacy are special, and we must treat them as such.
  While I would have prefered to have a solution that didn't move
  knowledge of this into the pci layer.  However, this is literally the
  only exception that's listed in the PCI standard to the usual way of
  decoding BARs.  atapci devices in legacy mode now ignore the first 4
  bars and hard code the values to the legacy ide values (well, for each
  of the controllers that are in legacy mode).  The 5th bar is handled
  Remove the zero bar handling.  zero bars should be ignored at all
  other times, and since we handle that specially, we don't need the
  older workaround.
  Revision  Changes    Path
  1.247     +99 -45    src/sys/dev/pci/pci.c

More information about the cvs-src mailing list