Alan Cox
bcb903fa30
Staging: et131x: kill off the TXDMA CSR type
...
Go to a u32 and masks
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:29 -07:00
Alan Cox
fba8416697
Staging: et131x: kill off the TXDMA error type
...
This isn't actually used properly anyway
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:29 -07:00
Alan Cox
7ca5d42290
Staging: et131x: re-order the initpci code to match usual Linux style
...
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:29 -07:00
Alan Cox
15700039b1
Staging: et131x: prune all the debug code
...
We don't need it, we have a perfectly good set of debug tools. For this pass
keep a few debug printks around which are "should not happen" items
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:29 -07:00
Alan Cox
bc7f9c597f
Staging: et131x: kill the loopback type
...
Kill off the loopback type in the driver
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:29 -07:00
Alan Cox
e266b20222
Staging: et131x: kill MSI type
...
Kill off the MSI structure
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:29 -07:00
Alan Cox
b8c4cc4654
Staging: et131x: put the jagcore routines in with their users
...
We have two trivial IRQ routines, a single statement and a real function -
relocate them. While we are at it kill the trivial to sort out soft reset
and slv bits in the same areas of code.
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:29 -07:00
Alan Cox
2211b732ba
Staging: et131x: kill the interrupt magic define and types
...
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:28 -07:00
Alan Cox
f6b35d66cf
Staging: et131x: clean up MP_FLAG macros
...
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:28 -07:00
Alan Cox
356c74b401
Staging: et131x: clean up DMA10/DMA4 types
...
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:28 -07:00
Alan Cox
f2c98d27b8
Staging: et131x: clean up PM_CSR_t
...
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:28 -07:00
Alan Cox
b8ab735253
Staging: et131x: kill the Q_ADDR struct
...
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:28 -07:00
Alan Cox
c47a601d69
Staging: et131x: quick tidy of the debug code
...
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:28 -07:00
Alan Cox
e5cf1b75f5
Staging: et131x: clean up MMC_SRAM_
...
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:28 -07:00
Alan Cox
df482a0916
Staging: et131x: sort out the mmc enable routine
...
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:28 -07:00
Alan Cox
13071fded6
Staging: et131x: eeprom remove features
...
We only read eeprom id 0, in byte mode - so the rest can go away
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:28 -07:00
Alan Cox
c6c9f8cb38
Staging: et131x: remove unused PCI identifiers
...
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:28 -07:00
Alan Cox
576b38e0cd
Staging: et131x: continue pruning unused fields
...
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:28 -07:00
Alan Cox
9fa8109921
Staging: et131x: de-hungarianise a bit
...
bOverrideAddress is write only so kill it rather than fix it
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:27 -07:00
Alan Cox
8c5f20f36a
Staging: et131x: fold the diet config into the other code
...
No point having a file just for that
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:27 -07:00
Alan Cox
8d0e4fd405
Staging: et131x: config is already zeroed
...
Adapter was cleared by netdev allocation so any zero defaults do not need
writing.
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:27 -07:00
Alan Cox
9483146369
Staging: et131x: attack the config stuff
...
Prune this back as most of it isn't relevant or used
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:27 -07:00
Alan Cox
c2557177f1
Staging: et131x: clean up constant rx/tx registry fields
...
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:27 -07:00
Alan Cox
c3b4a7a92e
Staging: et131x: eliminate write only registry fields
...
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:27 -07:00
Alan Cox
3bc9da3ed4
Staging: et131x: Eliminate RegistryDMA Cache
...
One writer, of a constant, one user .. it can go.
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2009-09-15 12:02:27 -07:00