summaryrefslogtreecommitdiffstats
path: root/drivers/staging/et131x
Commit message (Collapse)AuthorAgeFilesLines
* staging: convert to use netdev_for_each_mc_addrJiri Pirko2010-02-181-7/+8
| | | | | | | | removed needless checks in arlan-main.c and slicoss.c fixed bug in et131x_netdev.c to actually fill addresses in. Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* net: use netdev_mc_count and netdev_mc_empty when appropriateJiri Pirko2010-02-121-5/+5
| | | | | | | | | | | This patch replaces dev->mc_count in all drivers (hopefully I didn't miss anything). Used spatch and did small tweaks and conding style changes when it was suitable. Jirka Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* Staging: et131x: Fix 2.6.33rc1 regression in et131xAlan Cox2010-01-202-8/+16
| | | | | | | | | | | | | | et131x: Fix 12bit wrapping From: Alan Cox <alan@linux.intel.com> The 12bit wrap logic conversion is wrong and this shows up for some memory sizes and layouts of card. Patch it up for now, once the kernel view of status is cleaned up it'll become two variables and a lot saner. Signed-off-by: Alan Cox <alan@linux.intel.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: clean up the avail fields in the rx registersAlan Cox2009-12-113-44/+26
| | | | | | | | | These have a wrap bit but again need little work to clean out. There are a couple of uglies left that want addressing in later clean up. Notably we should probably keep the local psr copy and wrap as two values. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: Clean up number fieldsAlan Cox2009-12-112-98/+47
| | | | | | | | Lots of RX typedefs are just low bits of a u32, so clean them all up in one go and just work them directly. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: kill RX_DMA_MAX_PKT_TIMEAlan Cox2009-12-112-15/+6
| | | | | | | Another one bits the dust ... Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: kill TX_SHADOWAlan Cox2009-12-111-17/+5
| | | | | | | Guess what - we don't use this one either Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: Another typedef solely used to write 0 to a registerAlan Cox2009-12-112-24/+9
| | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: kill TX_PR_NUM_DES_tAlan Cox2009-12-112-15/+5
| | | | | | | | Yes folks it another unused typedef.. This completes the clean up of the TX DMA typedefs Signed-off-by: Alan Cox <alan@linux.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: kill TxMacTest fieldAlan Cox2009-12-112-5/+1
| | | | | | | | It's really a local in the interrupt handler Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: kill TXTEST and TXFILL, clean up CF_PARAMAlan Cox2009-12-114-57/+19
| | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: clean up mac stat namesAlan Cox2009-12-111-46/+46
| | | | | | | Might as well use something short and obvious Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: clean up MAC_STAT registerAlan Cox2009-12-112-189/+74
| | | | | | | One by one... Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: Kill MAC_IF_CTRL typedefsAlan Cox2009-12-112-50/+29
| | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: fix assorted typos all over the placeAndré Goddard Rosa2009-12-111-1/+1
| | | | | | Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: Clean up the phy code, especially dup stuffAlan Cox2009-12-112-409/+215
| | | | | | | | | | | Fold in the TPAL stuff and remove the duplication Clean up other stuff where we do un-needed work or have verbose implementations Comment some of the functions as we go Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: phy clean upAlan Cox2009-12-112-569/+545
| | | | | | | | | Clean up the phy code a bit so we can see what needs doing. This involves moving blocks around and making stuff static Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: Clean up MII controlAlan Cox2009-12-112-128/+56
| | | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: kill off MAC_TEST_tAlan Cox2009-12-111-13/+2
| | | | | | | | It isn't used anyway Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: clean up MAX_FM typeAlan Cox2009-12-112-15/+3
| | | | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: Clean up MAC_CFG typesAlan Cox2009-12-113-117/+68
| | | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: Clean up the MII_MGMT typeAlan Cox2009-12-112-27/+9
| | | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: Clean up the half duplex control reg typesAlan Cox2009-12-112-39/+13
| | | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: Clean the IPG types upAlan Cox2009-12-112-29/+12
| | | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: Kill the RX skb list element - it isn't usedAlan Cox2009-12-111-9/+0
| | | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: Kill the RX pending listAlan Cox2009-12-112-23/+0
| | | | | | | | As with tx there was a pending list Linux doesn't use Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: tx ring mac error is only used as a localAlan Cox2009-12-112-6/+3
| | | | | | | | So make it a local Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: Bring tx into coding styleAlan Cox2009-12-112-26/+28
| | | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: kill unused tcb fieldsAlan Cox2009-12-112-4/+2
| | | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: Clean up tx namingAlan Cox2009-12-114-193/+142
| | | | | | | | | Clean up the names to be Linux like Remove the unused pad buffer Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: Clean up the tx ring initAlan Cox2009-12-111-11/+7
| | | | | | | | Keep this small change separate for bisectability Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: tidy up a bit furtherAlan Cox2009-12-112-57/+16
| | | | | | | | Clean up the minor uglies left from the previous work Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: Remove old SendWaitQueue codeAlan Cox2009-12-114-54/+4
| | | | | | | | | The Linux driver doesn't keep a pending queue as the old one did. so we can remove all the code related to it. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: fold up simple wrapper functionsAlan Cox2009-12-111-34/+5
| | | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: Clean up the receive arraysAlan Cox2009-12-111-18/+1
| | | | | | | | | We don't use them for anything having stripped out the debug gunge in the original driver. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: first pass RX cleanupAlan Cox2009-12-111-209/+205
| | | | | | | | Sort out the variable naming and clean up types and obvious trivia Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: pci_alloc_consistent DMA alignment is guaranteedAlan Cox2009-12-114-59/+14
| | | | | | | | | So we can remove this alignment work. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: the stuck descriptor copy is never usedAlan Cox2009-12-111-9/+0
| | | | | | | | Say goodbye to it Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: tidy up names for the TX structuresAlan Cox2009-12-115-278/+275
| | | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: clean up WORD2 usageAlan Cox2009-12-112-36/+20
| | | | | | | | | A little more complex but again move the structure and typedef into into the documentation Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: clean up word 3 definitionAlan Cox2009-12-112-49/+25
| | | | | | | | | This is basically not really used so turn it into a u32 and comment the format for reference Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: rxstat is not usedAlan Cox2009-12-111-23/+13
| | | | | | | | Turn it into a u32 and document the fields in a comment instead Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: PHY loopback cannot be set (and isn't useful for us anyway)Alan Cox2009-12-116-97/+56
| | | | | | | | | Remove the stuff that falls out from this always being zero. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: kill NMI hacksAlan Cox2009-12-113-30/+0
| | | | | | | | | The NMI code is in the shipped driver for "validation". We won't be doing chip validation and we have proper core nmi handling so this can go. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: tidy up initpci codeAlan Cox2009-12-113-252/+192
| | | | | | | | Perform some easy tidying so we can see what needs to be done next Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: Kill the NoPhyAccess variableAlan Cox2009-12-113-6/+1
| | | | | | | | Another write once "variable" Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: extract the eeprom setup logic from initpciAlan Cox2009-12-113-72/+73
| | | | | | | | This puts all the eeprom handling in one place and cleans up the interfaces Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: tidy eeprom code upAlan Cox2009-12-113-265/+158
| | | | | | | | Turn this one into something resembling a clean Linux driver Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: kill SUCCESS and FAILURE definesAlan Cox2009-12-113-20/+12
| | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: et131x: adding __init/__exit macrosPeter Huewe2009-12-111-2/+2
| | | | | | | | | | | | | Trivial patch which adds the __init/__exit macros to the module_init/ module_exit functions of ./staging/et131x/et131x_initpci.c Greg, please have a look at the small patch and either pull it through your staging tree, or please ack' it so Jiri can pull it through the trivial tree. Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
OpenPOWER on IntegriCloud