• Jeff Garzik's avatar
    [tokenring lanstreamer] clean up MWI / PCI_CACHE_LINE_SIZE usage · 4458d480
    Jeff Garzik authored
    * remove PCI_CACHE_LINE_SIZE workaround, PCI core already does
      this for us.  (main change)
    * propagate pci_set_dma_mask return value
    * add 'ULL' suffix to pci_set_dma_mask arg
    * propagate pci_enable_device return value
    * call pci_set_mwi, check and propagate its return value
    * call pci_clear_mwi and pci_disable_device on close, and probe error
    * call iounmap when cleaning up
    4458d480
lanstreamer.c 66.8 KB