BXE: pcidev fixups
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 12 Jan 2015 22:28:19 +0000 (17:28 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 3 Feb 2015 15:12:26 +0000 (10:12 -0500)
commitc1d0955aa44d1f0e5cb08a28fa6881dc5cfe121b
treee86463ac8b30de857c61e2985942d8138e0b056d
parent16deee2dc42076e85cf125c45f7917ec064c7858
BXE: pcidev fixups

Spatch for the pci_write_config business.  The pci_read_config failed.  After
spending enough time on it to have done it by hand once or twice, I just did it
by hand.

I didn't have an spatch for changing all usages of bxe_adapter->dev and ->pdev
to ->pcidevice.  Just did it manually (vi: %s/sc->dev\(\W\)/sc->pcidev\1/gc)
kern/drivers/net/bxe/bxe.c
kern/drivers/net/bxe/bxe.h
kern/drivers/net/bxe/bxe_debug.c
scripts/spatch/bsd/bxe.cocci [new file with mode: 0644]