smsc911x: add dynamic bus configuration
Convert the driver to select 16-bit or 32-bit bus access at runtime, at a small performance cost. Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
6fabd715e6
commit
2107fb8b5b
@ -21,7 +21,6 @@
|
||||
#ifndef __SMSC911X_H__
|
||||
#define __SMSC911X_H__
|
||||
|
||||
#define SMSC_CAN_USE_32BIT 1
|
||||
#define TX_FIFO_LOW_THRESHOLD ((u32)1600)
|
||||
#define SMSC911X_EEPROM_SIZE ((u32)7)
|
||||
#define USE_DEBUG 0
|
||||
|
Reference in New Issue
Block a user