cvs commit: src/sys/dev/my if_my.c

John Baldwin jhb at FreeBSD.org
Wed Aug 10 20:21:29 GMT 2005


jhb         2005-08-10 20:21:29 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/my           if_my.c 
  Log:
  - Remove pre-new-bus code under #if 0 and some other rotted code under
    #if 0.
  - Use pci_enable_busmaster() to enable busmastering instead of frobbing
    the command register directly.
  - Don't check to see if memory or I/O can be enabled by writing to the
    command register.  The PCI bus driver's bus_alloc_resource() method
    already checks this and will fail if it can't enable the bit.
  
  Revision  Changes    Path
  1.33      +2 -55     src/sys/dev/my/if_my.c


More information about the cvs-all mailing list