From 1a867bfb3949ff4131834cddd491428a056b63ce Mon Sep 17 00:00:00 2001 From: Marty Connor Date: Thu, 13 Dec 2007 11:08:40 -0500 Subject: Remove *_fill_nic() calls, and directly set nic->ioaddr and nic->irqno . This needs to be done manually because if the irq() routine is implemented then we want something like "nic->irqno = pci->irqno;", else we do "nic->irqno = 0;" nic->ioaddr may also need to be set carefully. Also added local variables to end of many files, for emacs indentation to match kernel style (tab does 8 space indent). --- src/drivers/net/ns83820.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/drivers/net/ns83820.c') diff --git a/src/drivers/net/ns83820.c b/src/drivers/net/ns83820.c index 3262ba6ce..36091c0ad 100755 --- a/src/drivers/net/ns83820.c +++ b/src/drivers/net/ns83820.c @@ -837,7 +837,6 @@ static int ns83820_probe ( struct nic *nic, struct pci_device *pci ) { return 0; nic->irqno = 0; - pci_fill_nic ( nic, pci ); nic->ioaddr = pci->ioaddr & ~3; /* disable interrupts */ @@ -1003,3 +1002,11 @@ static int ns83820_probe ( struct nic *nic, struct pci_device *pci ) { DRIVER ( "NS83820/PCI", nic_driver, pci_driver, ns83820_driver, ns83820_probe, ns83820_disable ); + +/* + * Local variables: + * c-basic-offset: 8 + * c-indent-level: 8 + * tab-width: 8 + * End: + */ -- cgit v1.2.3-55-g7522