aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c')
-rw-r--r--drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
index ff691d9b984..eeb7dd43f9a 100644
--- a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
+++ b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
@@ -90,7 +90,7 @@ MODULE_SUPPORTED_DEVICE("FT1000");
90//--------------------------------------------------------------------------- 90//---------------------------------------------------------------------------
91// 91//
92// Function: ft1000_asic_read 92// Function: ft1000_asic_read
93// Descripton: This function will retrieve the value of a specific ASIC 93// Description: This function will retrieve the value of a specific ASIC
94// register. 94// register.
95// Input: 95// Input:
96// dev - network device structure 96// dev - network device structure
@@ -107,7 +107,7 @@ inline u16 ft1000_asic_read(struct net_device *dev, u16 offset)
107//--------------------------------------------------------------------------- 107//---------------------------------------------------------------------------
108// 108//
109// Function: ft1000_asic_write 109// Function: ft1000_asic_write
110// Descripton: This function will set the value of a specific ASIC 110// Description: This function will set the value of a specific ASIC
111// register. 111// register.
112// Input: 112// Input:
113// dev - network device structure 113// dev - network device structure
@@ -124,7 +124,7 @@ inline void ft1000_asic_write(struct net_device *dev, u16 offset, u16 value)
124//--------------------------------------------------------------------------- 124//---------------------------------------------------------------------------
125// 125//
126// Function: ft1000_read_fifo_len 126// Function: ft1000_read_fifo_len
127// Descripton: This function will read the ASIC Uplink FIFO status register 127// Description: This function will read the ASIC Uplink FIFO status register
128// which will return the number of bytes remaining in the Uplink FIFO. 128// which will return the number of bytes remaining in the Uplink FIFO.
129// Sixteen bytes are subtracted to make sure that the ASIC does not 129// Sixteen bytes are subtracted to make sure that the ASIC does not
130// reach its threshold. 130// reach its threshold.
@@ -148,7 +148,7 @@ static inline u16 ft1000_read_fifo_len(struct net_device *dev)
148//--------------------------------------------------------------------------- 148//---------------------------------------------------------------------------
149// 149//
150// Function: ft1000_read_dpram 150// Function: ft1000_read_dpram
151// Descripton: This function will read the specific area of dpram 151// Description: This function will read the specific area of dpram
152// (Electrabuzz ASIC only) 152// (Electrabuzz ASIC only)
153// Input: 153// Input:
154// dev - device structure 154// dev - device structure
@@ -175,7 +175,7 @@ u16 ft1000_read_dpram(struct net_device * dev, int offset)
175//--------------------------------------------------------------------------- 175//---------------------------------------------------------------------------
176// 176//
177// Function: ft1000_write_dpram 177// Function: ft1000_write_dpram
178// Descripton: This function will write to a specific area of dpram 178// Description: This function will write to a specific area of dpram
179// (Electrabuzz ASIC only) 179// (Electrabuzz ASIC only)
180// Input: 180// Input:
181// dev - device structure 181// dev - device structure
@@ -201,7 +201,7 @@ static inline void ft1000_write_dpram(struct net_device *dev,
201//--------------------------------------------------------------------------- 201//---------------------------------------------------------------------------
202// 202//
203// Function: ft1000_read_dpram_mag_16 203// Function: ft1000_read_dpram_mag_16
204// Descripton: This function will read the specific area of dpram 204// Description: This function will read the specific area of dpram
205// (Magnemite ASIC only) 205// (Magnemite ASIC only)
206// Input: 206// Input:
207// dev - device structure 207// dev - device structure
@@ -233,7 +233,7 @@ u16 ft1000_read_dpram_mag_16(struct net_device *dev, int offset, int Index)
233//--------------------------------------------------------------------------- 233//---------------------------------------------------------------------------
234// 234//
235// Function: ft1000_write_dpram_mag_16 235// Function: ft1000_write_dpram_mag_16
236// Descripton: This function will write to a specific area of dpram 236// Description: This function will write to a specific area of dpram
237// (Magnemite ASIC only) 237// (Magnemite ASIC only)
238// Input: 238// Input:
239// dev - device structure 239// dev - device structure
@@ -263,7 +263,7 @@ static inline void ft1000_write_dpram_mag_16(struct net_device *dev,
263//--------------------------------------------------------------------------- 263//---------------------------------------------------------------------------
264// 264//
265// Function: ft1000_read_dpram_mag_32 265// Function: ft1000_read_dpram_mag_32
266// Descripton: This function will read the specific area of dpram 266// Description: This function will read the specific area of dpram
267// (Magnemite ASIC only) 267// (Magnemite ASIC only)
268// Input: 268// Input:
269// dev - device structure 269// dev - device structure
@@ -290,7 +290,7 @@ u32 ft1000_read_dpram_mag_32(struct net_device *dev, int offset)
290//--------------------------------------------------------------------------- 290//---------------------------------------------------------------------------
291// 291//
292// Function: ft1000_write_dpram_mag_32 292// Function: ft1000_write_dpram_mag_32
293// Descripton: This function will write to a specific area of dpram 293// Description: This function will write to a specific area of dpram
294// (Magnemite ASIC only) 294// (Magnemite ASIC only)
295// Input: 295// Input:
296// dev - device structure 296// dev - device structure
@@ -315,7 +315,7 @@ void ft1000_write_dpram_mag_32(struct net_device *dev, int offset, u32 value)
315//--------------------------------------------------------------------------- 315//---------------------------------------------------------------------------
316// 316//
317// Function: ft1000_enable_interrupts 317// Function: ft1000_enable_interrupts
318// Descripton: This function will enable interrupts base on the current interrupt mask. 318// Description: This function will enable interrupts base on the current interrupt mask.
319// Input: 319// Input:
320// dev - device structure 320// dev - device structure
321// Output: 321// Output:
@@ -340,7 +340,7 @@ static void ft1000_enable_interrupts(struct net_device *dev)
340//--------------------------------------------------------------------------- 340//---------------------------------------------------------------------------
341// 341//
342// Function: ft1000_disable_interrupts 342// Function: ft1000_disable_interrupts
343// Descripton: This function will disable all interrupts. 343// Description: This function will disable all interrupts.
344// Input: 344// Input:
345// dev - device structure 345// dev - device structure
346// Output: 346// Output:
@@ -364,7 +364,7 @@ static void ft1000_disable_interrupts(struct net_device *dev)
364//--------------------------------------------------------------------------- 364//---------------------------------------------------------------------------
365// 365//
366// Function: ft1000_reset_asic 366// Function: ft1000_reset_asic
367// Descripton: This function will call the Card Service function to reset the 367// Description: This function will call the Card Service function to reset the
368// ASIC. 368// ASIC.
369// Input: 369// Input:
370// dev - device structure 370// dev - device structure
@@ -408,7 +408,7 @@ static void ft1000_reset_asic(struct net_device *dev)
408//--------------------------------------------------------------------------- 408//---------------------------------------------------------------------------
409// 409//
410// Function: ft1000_reset_card 410// Function: ft1000_reset_card
411// Descripton: This function will reset the card 411// Description: This function will reset the card
412// Input: 412// Input:
413// dev - device structure 413// dev - device structure
414// Output: 414// Output:
@@ -571,7 +571,7 @@ static int ft1000_reset_card(struct net_device *dev)
571//--------------------------------------------------------------------------- 571//---------------------------------------------------------------------------
572// 572//
573// Function: ft1000_chkcard 573// Function: ft1000_chkcard
574// Descripton: This function will check if the device is presently available on 574// Description: This function will check if the device is presently available on
575// the system. 575// the system.
576// Input: 576// Input:
577// dev - device structure 577// dev - device structure
@@ -607,7 +607,7 @@ static int ft1000_chkcard(struct net_device *dev)
607//--------------------------------------------------------------------------- 607//---------------------------------------------------------------------------
608// 608//
609// Function: ft1000_hbchk 609// Function: ft1000_hbchk
610// Descripton: This function will perform the heart beat check of the DSP as 610// Description: This function will perform the heart beat check of the DSP as
611// well as the ASIC. 611// well as the ASIC.
612// Input: 612// Input:
613// dev - device structure 613// dev - device structure
@@ -828,7 +828,7 @@ static void ft1000_hbchk(u_long data)
828//--------------------------------------------------------------------------- 828//---------------------------------------------------------------------------
829// 829//
830// Function: ft1000_send_cmd 830// Function: ft1000_send_cmd
831// Descripton: 831// Description:
832// Input: 832// Input:
833// Output: 833// Output:
834// 834//
@@ -908,7 +908,7 @@ void ft1000_send_cmd (struct net_device *dev, u16 *ptempbuffer, int size, u16 qt
908//--------------------------------------------------------------------------- 908//---------------------------------------------------------------------------
909// 909//
910// Function: ft1000_receive_cmd 910// Function: ft1000_receive_cmd
911// Descripton: This function will read a message from the dpram area. 911// Description: This function will read a message from the dpram area.
912// Input: 912// Input:
913// dev - network device structure 913// dev - network device structure
914// pbuffer - caller supply address to buffer 914// pbuffer - caller supply address to buffer
@@ -1003,7 +1003,7 @@ BOOLEAN ft1000_receive_cmd(struct net_device *dev, u16 * pbuffer, int maxsz, u16
1003//--------------------------------------------------------------------------- 1003//---------------------------------------------------------------------------
1004// 1004//
1005// Function: ft1000_proc_drvmsg 1005// Function: ft1000_proc_drvmsg
1006// Descripton: This function will process the various driver messages. 1006// Description: This function will process the various driver messages.
1007// Input: 1007// Input:
1008// dev - device structure 1008// dev - device structure
1009// pnxtph - pointer to next pseudo header 1009// pnxtph - pointer to next pseudo header
@@ -1285,7 +1285,7 @@ void ft1000_proc_drvmsg(struct net_device *dev)
1285//--------------------------------------------------------------------------- 1285//---------------------------------------------------------------------------
1286// 1286//
1287// Function: ft1000_parse_dpram_msg 1287// Function: ft1000_parse_dpram_msg
1288// Descripton: This function will parse the message received from the DSP 1288// Description: This function will parse the message received from the DSP
1289// via the DPRAM interface. 1289// via the DPRAM interface.
1290// Input: 1290// Input:
1291// dev - device structure 1291// dev - device structure
@@ -1442,7 +1442,7 @@ int ft1000_parse_dpram_msg(struct net_device *dev)
1442//--------------------------------------------------------------------------- 1442//---------------------------------------------------------------------------
1443// 1443//
1444// Function: ft1000_flush_fifo 1444// Function: ft1000_flush_fifo
1445// Descripton: This function will flush one packet from the downlink 1445// Description: This function will flush one packet from the downlink
1446// FIFO. 1446// FIFO.
1447// Input: 1447// Input:
1448// dev - device structure 1448// dev - device structure
@@ -1587,7 +1587,7 @@ static void ft1000_flush_fifo(struct net_device *dev, u16 DrvErrNum)
1587//--------------------------------------------------------------------------- 1587//---------------------------------------------------------------------------
1588// 1588//
1589// Function: ft1000_copy_up_pkt 1589// Function: ft1000_copy_up_pkt
1590// Descripton: This function will pull Flarion packets out of the Downlink 1590// Description: This function will pull Flarion packets out of the Downlink
1591// FIFO and convert it to an ethernet packet. The ethernet packet will 1591// FIFO and convert it to an ethernet packet. The ethernet packet will
1592// then be deliver to the TCP/IP stack. 1592// then be deliver to the TCP/IP stack.
1593// Input: 1593// Input:
@@ -1773,7 +1773,7 @@ int ft1000_copy_up_pkt(struct net_device *dev)
1773//--------------------------------------------------------------------------- 1773//---------------------------------------------------------------------------
1774// 1774//
1775// Function: ft1000_copy_down_pkt 1775// Function: ft1000_copy_down_pkt
1776// Descripton: This function will take an ethernet packet and convert it to 1776// Description: This function will take an ethernet packet and convert it to
1777// a Flarion packet prior to sending it to the ASIC Downlink 1777// a Flarion packet prior to sending it to the ASIC Downlink
1778// FIFO. 1778// FIFO.
1779// Input: 1779// Input: