|
@@ -86,40 +86,6 @@ MODULE_SUPPORTED_DEVICE("FT1000");
|
|
|
|
|
|
#define MAX_RCV_LOOP 100
|
|
|
|
|
|
-//---------------------------------------------------------------------------
|
|
|
-//
|
|
|
-// Function: ft1000_asic_read
|
|
|
-// Description: This function will retrieve the value of a specific ASIC
|
|
|
-// register.
|
|
|
-// Input:
|
|
|
-// dev - network device structure
|
|
|
-// offset - ASIC register to read
|
|
|
-// Output:
|
|
|
-// value - value of ASIC register
|
|
|
-//
|
|
|
-//---------------------------------------------------------------------------
|
|
|
-inline u16 ft1000_asic_read(struct net_device *dev, u16 offset)
|
|
|
-{
|
|
|
- return (ft1000_read_reg(dev, offset));
|
|
|
-}
|
|
|
-
|
|
|
-//---------------------------------------------------------------------------
|
|
|
-//
|
|
|
-// Function: ft1000_asic_write
|
|
|
-// Description: This function will set the value of a specific ASIC
|
|
|
-// register.
|
|
|
-// Input:
|
|
|
-// dev - network device structure
|
|
|
-// value - value to set ASIC register
|
|
|
-// Output:
|
|
|
-// none
|
|
|
-//
|
|
|
-//---------------------------------------------------------------------------
|
|
|
-inline void ft1000_asic_write(struct net_device *dev, u16 offset, u16 value)
|
|
|
-{
|
|
|
- ft1000_write_reg(dev, offset, value);
|
|
|
-}
|
|
|
-
|
|
|
//---------------------------------------------------------------------------
|
|
|
//
|
|
|
// Function: ft1000_read_fifo_len
|