]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Remove pre-new-bus code under #if 0 and some other rotted code under
authorjhb <jhb@FreeBSD.org>
Wed, 10 Aug 2005 20:21:29 +0000 (20:21 +0000)
committerjhb <jhb@FreeBSD.org>
Wed, 10 Aug 2005 20:21:29 +0000 (20:21 +0000)
commit156a2cfb5d206dd055c7588a56afeeb7cf1d0a4f
tree5df67fcdf1d06c6857f566f1438be37d34127b20
parentf9ad9d9fa78781df81e53a155332571b56ea9903
- 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.
sys/dev/my/if_my.c