Go to the documentation of this file.
10 #include <linux/module.h>
12 #include <linux/kernel.h>
13 #include <linux/pci.h>
15 #include <linux/errno.h>
18 #include <linux/types.h>
19 #include <linux/netdevice.h>
23 #include <asm/bitops.h>
31 #define MARVELL 0x0141
32 #define ICPLUS_PHY 0x243
35 #define MII_PHY_SELECTOR_IEEE8023 0x0001
36 #define MII_PHY_TECHABILITYFIELD 0x1FE0
39 #define GMII_PHY_1000BASETCONTROL_PreferMaster 0x0400
42 #define GMII_PREAMBLE 0xFFFFFFFF
45 #define GMII_WRITE 0x1
46 #define GMII_TA_READ_MASK 0x1
47 #define GMII_TA_WRITE 0x2
99 #define IPG_OCTETRCVOK 0xA8
100 #define IPG_MCSTOCTETRCVDOK 0xAC
101 #define IPG_BCSTOCTETRCVOK 0xB0
102 #define IPG_FRAMESRCVDOK 0xB4
103 #define IPG_MCSTFRAMESRCVDOK 0xB8
104 #define IPG_BCSTFRAMESRCVDOK 0xBE
105 #define IPG_MACCONTROLFRAMESRCVD 0xC6
106 #define IPG_FRAMETOOLONGERRRORS 0xC8
107 #define IPG_INRANGELENGTHERRORS 0xCA
108 #define IPG_FRAMECHECKSEQERRORS 0xCC
109 #define IPG_FRAMESLOSTRXERRORS 0xCE
110 #define IPG_OCTETXMTOK 0xD0
111 #define IPG_MCSTOCTETXMTOK 0xD4
112 #define IPG_BCSTOCTETXMTOK 0xD8
113 #define IPG_FRAMESXMTDOK 0xDC
114 #define IPG_MCSTFRAMESXMTDOK 0xE0
115 #define IPG_FRAMESWDEFERREDXMT 0xE4
116 #define IPG_LATECOLLISIONS 0xE8
117 #define IPG_MULTICOLFRAMES 0xEC
118 #define IPG_SINGLECOLFRAMES 0xF0
119 #define IPG_BCSTFRAMESXMTDOK 0xF6
120 #define IPG_CARRIERSENSEERRORS 0xF8
121 #define IPG_MACCONTROLFRAMESXMTDOK 0xFA
122 #define IPG_FRAMESABORTXSCOLLS 0xFC
123 #define IPG_FRAMESWEXDEFERRAL 0xFE
126 #define IPG_ETHERSTATSCOLLISIONS 0x100
127 #define IPG_ETHERSTATSOCTETSTRANSMIT 0x104
128 #define IPG_ETHERSTATSPKTSTRANSMIT 0x108
129 #define IPG_ETHERSTATSPKTS64OCTESTSTRANSMIT 0x10C
130 #define IPG_ETHERSTATSPKTS65TO127OCTESTSTRANSMIT 0x110
131 #define IPG_ETHERSTATSPKTS128TO255OCTESTSTRANSMIT 0x114
132 #define IPG_ETHERSTATSPKTS256TO511OCTESTSTRANSMIT 0x118
133 #define IPG_ETHERSTATSPKTS512TO1023OCTESTSTRANSMIT 0x11C
134 #define IPG_ETHERSTATSPKTS1024TO1518OCTESTSTRANSMIT 0x120
135 #define IPG_ETHERSTATSCRCALIGNERRORS 0x124
136 #define IPG_ETHERSTATSUNDERSIZEPKTS 0x128
137 #define IPG_ETHERSTATSFRAGMENTS 0x12C
138 #define IPG_ETHERSTATSJABBERS 0x130
139 #define IPG_ETHERSTATSOCTETS 0x134
140 #define IPG_ETHERSTATSPKTS 0x138
141 #define IPG_ETHERSTATSPKTS64OCTESTS 0x13C
142 #define IPG_ETHERSTATSPKTS65TO127OCTESTS 0x140
143 #define IPG_ETHERSTATSPKTS128TO255OCTESTS 0x144
144 #define IPG_ETHERSTATSPKTS256TO511OCTESTS 0x148
145 #define IPG_ETHERSTATSPKTS512TO1023OCTESTS 0x14C
146 #define IPG_ETHERSTATSPKTS1024TO1518OCTESTS 0x150
149 #define IPG_ETHERSTATSMULTICASTPKTSTRANSMIT 0xE0
150 #define IPG_ETHERSTATSBROADCASTPKTSTRANSMIT 0xF6
151 #define IPG_ETHERSTATSMULTICASTPKTS 0xB8
152 #define IPG_ETHERSTATSBROADCASTPKTS 0xBE
153 #define IPG_ETHERSTATSOVERSIZEPKTS 0xC8
154 #define IPG_ETHERSTATSDROPEVENTS 0xCE
157 #define IPG_EEPROM_CONFIGPARAM 0x00
158 #define IPG_EEPROM_ASICCTRL 0x01
159 #define IPG_EEPROM_SUBSYSTEMVENDORID 0x02
160 #define IPG_EEPROM_SUBSYSTEMID 0x03
161 #define IPG_EEPROM_STATIONADDRESS0 0x10
162 #define IPG_EEPROM_STATIONADDRESS1 0x11
163 #define IPG_EEPROM_STATIONADDRESS2 0x12
170 #define IPG_PIB_RSVD_MASK 0xFFFFFE01
171 #define IPG_PIB_IOBASEADDRESS 0xFFFFFF00
172 #define IPG_PIB_IOBASEADDRIND 0x00000001
175 #define IPG_PMB_RSVD_MASK 0xFFFFFE07
176 #define IPG_PMB_MEMBASEADDRIND 0x00000001
177 #define IPG_PMB_MEMMAPTYPE 0x00000006
178 #define IPG_PMB_MEMMAPTYPE0 0x00000002
179 #define IPG_PMB_MEMMAPTYPE1 0x00000004
180 #define IPG_PMB_MEMBASEADDRESS 0xFFFFFE00
183 #define IPG_CS_RSVD_MASK 0xFFB0
184 #define IPG_CS_CAPABILITIES 0x0010
185 #define IPG_CS_66MHZCAPABLE 0x0020
186 #define IPG_CS_FASTBACK2BACK 0x0080
187 #define IPG_CS_DATAPARITYREPORTED 0x0100
188 #define IPG_CS_DEVSELTIMING 0x0600
189 #define IPG_CS_SIGNALEDTARGETABORT 0x0800
190 #define IPG_CS_RECEIVEDTARGETABORT 0x1000
191 #define IPG_CS_RECEIVEDMASTERABORT 0x2000
192 #define IPG_CS_SIGNALEDSYSTEMERROR 0x4000
193 #define IPG_CS_DETECTEDPARITYERROR 0x8000
198 #define IPG_TFC_RSVD_MASK 0x0000FFFF9FFFFFFF
199 #define IPG_TFC_FRAMEID 0x000000000000FFFF
200 #define IPG_TFC_WORDALIGN 0x0000000000030000
201 #define IPG_TFC_WORDALIGNTODWORD 0x0000000000000000
202 #define IPG_TFC_WORDALIGNTOWORD 0x0000000000020000
203 #define IPG_TFC_WORDALIGNDISABLED 0x0000000000030000
204 #define IPG_TFC_TCPCHECKSUMENABLE 0x0000000000040000
205 #define IPG_TFC_UDPCHECKSUMENABLE 0x0000000000080000
206 #define IPG_TFC_IPCHECKSUMENABLE 0x0000000000100000
207 #define IPG_TFC_FCSAPPENDDISABLE 0x0000000000200000
208 #define IPG_TFC_TXINDICATE 0x0000000000400000
209 #define IPG_TFC_TXDMAINDICATE 0x0000000000800000
210 #define IPG_TFC_FRAGCOUNT 0x000000000F000000
211 #define IPG_TFC_VLANTAGINSERT 0x0000000010000000
212 #define IPG_TFC_TFDDONE 0x0000000080000000
213 #define IPG_TFC_VID 0x00000FFF00000000
214 #define IPG_TFC_CFI 0x0000100000000000
215 #define IPG_TFC_USERPRIORITY 0x0000E00000000000
218 #define IPG_TFI_RSVD_MASK 0xFFFF00FFFFFFFFFF
219 #define IPG_TFI_FRAGADDR 0x000000FFFFFFFFFF
220 #define IPG_TFI_FRAGLEN 0xFFFF000000000000LL
225 #define IPG_RFS_RSVD_MASK 0x0000FFFFFFFFFFFF
226 #define IPG_RFS_RXFRAMELEN 0x000000000000FFFF
227 #define IPG_RFS_RXFIFOOVERRUN 0x0000000000010000
228 #define IPG_RFS_RXRUNTFRAME 0x0000000000020000
229 #define IPG_RFS_RXALIGNMENTERROR 0x0000000000040000
230 #define IPG_RFS_RXFCSERROR 0x0000000000080000
231 #define IPG_RFS_RXOVERSIZEDFRAME 0x0000000000100000
232 #define IPG_RFS_RXLENGTHERROR 0x0000000000200000
233 #define IPG_RFS_VLANDETECTED 0x0000000000400000
234 #define IPG_RFS_TCPDETECTED 0x0000000000800000
235 #define IPG_RFS_TCPERROR 0x0000000001000000
236 #define IPG_RFS_UDPDETECTED 0x0000000002000000
237 #define IPG_RFS_UDPERROR 0x0000000004000000
238 #define IPG_RFS_IPDETECTED 0x0000000008000000
239 #define IPG_RFS_IPERROR 0x0000000010000000
240 #define IPG_RFS_FRAMESTART 0x0000000020000000
241 #define IPG_RFS_FRAMEEND 0x0000000040000000
242 #define IPG_RFS_RFDDONE 0x0000000080000000
243 #define IPG_RFS_TCI 0x0000FFFF00000000
246 #define IPG_RFI_RSVD_MASK 0xFFFF00FFFFFFFFFF
247 #define IPG_RFI_FRAGADDR 0x000000FFFFFFFFFF
248 #define IPG_RFI_FRAGLEN 0xFFFF000000000000LL
253 #define IPG_RZ_ALL 0x0FFFFFFF
256 #define IPG_SM_ALL 0x0FFFFFFF
257 #define IPG_SM_OCTETRCVOK_FRAMESRCVDOK 0x00000001
258 #define IPG_SM_MCSTOCTETRCVDOK_MCSTFRAMESRCVDOK 0x00000002
259 #define IPG_SM_BCSTOCTETRCVDOK_BCSTFRAMESRCVDOK 0x00000004
260 #define IPG_SM_RXJUMBOFRAMES 0x00000008
261 #define IPG_SM_TCPCHECKSUMERRORS 0x00000010
262 #define IPG_SM_IPCHECKSUMERRORS 0x00000020
263 #define IPG_SM_UDPCHECKSUMERRORS 0x00000040
264 #define IPG_SM_MACCONTROLFRAMESRCVD 0x00000080
265 #define IPG_SM_FRAMESTOOLONGERRORS 0x00000100
266 #define IPG_SM_INRANGELENGTHERRORS 0x00000200
267 #define IPG_SM_FRAMECHECKSEQERRORS 0x00000400
268 #define IPG_SM_FRAMESLOSTRXERRORS 0x00000800
269 #define IPG_SM_OCTETXMTOK_FRAMESXMTOK 0x00001000
270 #define IPG_SM_MCSTOCTETXMTOK_MCSTFRAMESXMTDOK 0x00002000
271 #define IPG_SM_BCSTOCTETXMTOK_BCSTFRAMESXMTDOK 0x00004000
272 #define IPG_SM_FRAMESWDEFERREDXMT 0x00008000
273 #define IPG_SM_LATECOLLISIONS 0x00010000
274 #define IPG_SM_MULTICOLFRAMES 0x00020000
275 #define IPG_SM_SINGLECOLFRAMES 0x00040000
276 #define IPG_SM_TXJUMBOFRAMES 0x00080000
277 #define IPG_SM_CARRIERSENSEERRORS 0x00100000
278 #define IPG_SM_MACCONTROLFRAMESXMTD 0x00200000
279 #define IPG_SM_FRAMESABORTXSCOLLS 0x00400000
280 #define IPG_SM_FRAMESWEXDEFERAL 0x00800000
283 #define IPG_CD_RSVD_MASK 0x0700FFFF
284 #define IPG_CD_COUNT 0x0000FFFF
285 #define IPG_CD_COUNTDOWNSPEED 0x01000000
286 #define IPG_CD_COUNTDOWNMODE 0x02000000
287 #define IPG_CD_COUNTINTENABLED 0x04000000
290 #define IPG_TB_RSVD_MASK 0xFF
293 #define IPG_TU_RSVD_MASK 0xFF
296 #define IPG_TP_RSVD_MASK 0xFF
299 #define IPG_RU_RSVD_MASK 0xFF
302 #define IPG_RP_RSVD_MASK 0xFF
305 #define IPG_RM_RSVD_MASK 0x3F
306 #define IPG_RM_RECEIVEUNICAST 0x01
307 #define IPG_RM_RECEIVEMULTICAST 0x02
308 #define IPG_RM_RECEIVEBROADCAST 0x04
309 #define IPG_RM_RECEIVEALLFRAMES 0x08
310 #define IPG_RM_RECEIVEMULTICASTHASH 0x10
311 #define IPG_RM_RECEIVEIPMULTICAST 0x20
314 #define IPG_PS_MEM_LENB9B 0x01
315 #define IPG_PS_MEM_LEN9 0x02
316 #define IPG_PS_NON_COMPDET 0x04
319 #define IPG_PC_RSVD_MASK 0xFF
320 #define IPG_PC_MGMTCLK_LO 0x00
321 #define IPG_PC_MGMTCLK_HI 0x01
322 #define IPG_PC_MGMTCLK 0x01
323 #define IPG_PC_MGMTDATA 0x02
324 #define IPG_PC_MGMTDIR 0x04
325 #define IPG_PC_DUPLEX_POLARITY 0x08
326 #define IPG_PC_DUPLEX_STATUS 0x10
327 #define IPG_PC_LINK_POLARITY 0x20
328 #define IPG_PC_LINK_SPEED 0xC0
329 #define IPG_PC_LINK_SPEED_10MBPS 0x40
330 #define IPG_PC_LINK_SPEED_100MBPS 0x80
331 #define IPG_PC_LINK_SPEED_1000MBPS 0xC0
334 #define IPG_DC_RSVD_MASK 0xC07D9818
335 #define IPG_DC_RX_DMA_COMPLETE 0x00000008
336 #define IPG_DC_RX_DMA_POLL_NOW 0x00000010
337 #define IPG_DC_TX_DMA_COMPLETE 0x00000800
338 #define IPG_DC_TX_DMA_POLL_NOW 0x00001000
339 #define IPG_DC_TX_DMA_IN_PROG 0x00008000
340 #define IPG_DC_RX_EARLY_DISABLE 0x00010000
341 #define IPG_DC_MWI_DISABLE 0x00040000
342 #define IPG_DC_TX_WRITE_BACK_DISABLE 0x00080000
343 #define IPG_DC_TX_BURST_LIMIT 0x00700000
344 #define IPG_DC_TARGET_ABORT 0x40000000
345 #define IPG_DC_MASTER_ABORT 0x80000000
348 #define IPG_AC_RSVD_MASK 0x07FFEFF2
349 #define IPG_AC_EXP_ROM_SIZE 0x00000002
350 #define IPG_AC_PHY_SPEED10 0x00000010
351 #define IPG_AC_PHY_SPEED100 0x00000020
352 #define IPG_AC_PHY_SPEED1000 0x00000040
353 #define IPG_AC_PHY_MEDIA 0x00000080
354 #define IPG_AC_FORCED_CFG 0x00000700
355 #define IPG_AC_D3RESETDISABLE 0x00000800
356 #define IPG_AC_SPEED_UP_MODE 0x00002000
357 #define IPG_AC_LED_MODE 0x00004000
358 #define IPG_AC_RST_OUT_POLARITY 0x00008000
359 #define IPG_AC_GLOBAL_RESET 0x00010000
360 #define IPG_AC_RX_RESET 0x00020000
361 #define IPG_AC_TX_RESET 0x00040000
362 #define IPG_AC_DMA 0x00080000
363 #define IPG_AC_FIFO 0x00100000
364 #define IPG_AC_NETWORK 0x00200000
365 #define IPG_AC_HOST 0x00400000
366 #define IPG_AC_AUTO_INIT 0x00800000
367 #define IPG_AC_RST_OUT 0x01000000
368 #define IPG_AC_INT_REQUEST 0x02000000
369 #define IPG_AC_RESET_BUSY 0x04000000
370 #define IPG_AC_LED_SPEED 0x08000000
371 #define IPG_AC_LED_MODE_BIT_1 0x20000000
374 #define IPG_EC_RSVD_MASK 0x83FF
375 #define IPG_EC_EEPROM_ADDR 0x00FF
376 #define IPG_EC_EEPROM_OPCODE 0x0300
377 #define IPG_EC_EEPROM_SUBCOMMAD 0x0000
378 #define IPG_EC_EEPROM_WRITEOPCODE 0x0100
379 #define IPG_EC_EEPROM_READOPCODE 0x0200
380 #define IPG_EC_EEPROM_ERASEOPCODE 0x0300
381 #define IPG_EC_EEPROM_BUSY 0x8000
384 #define IPG_FC_RSVD_MASK 0xC001
385 #define IPG_FC_RAM_TEST_MODE 0x0001
386 #define IPG_FC_TRANSMITTING 0x4000
387 #define IPG_FC_RECEIVING 0x8000
390 #define IPG_TS_RSVD_MASK 0xFFFF00DD
391 #define IPG_TS_TX_ERROR 0x00000001
392 #define IPG_TS_LATE_COLLISION 0x00000004
393 #define IPG_TS_TX_MAX_COLL 0x00000008
394 #define IPG_TS_TX_UNDERRUN 0x00000010
395 #define IPG_TS_TX_IND_REQD 0x00000040
396 #define IPG_TS_TX_COMPLETE 0x00000080
397 #define IPG_TS_TX_FRAMEID 0xFFFF0000
400 #define IPG_WE_WAKE_PKT_ENABLE 0x01
401 #define IPG_WE_MAGIC_PKT_ENABLE 0x02
402 #define IPG_WE_LINK_EVT_ENABLE 0x04
403 #define IPG_WE_WAKE_POLARITY 0x08
404 #define IPG_WE_WAKE_PKT_EVT 0x10
405 #define IPG_WE_MAGIC_PKT_EVT 0x20
406 #define IPG_WE_LINK_EVT 0x40
407 #define IPG_WE_WOL_ENABLE 0x80
410 #define IPG_IE_RSVD_MASK 0x1FFE
411 #define IPG_IE_HOST_ERROR 0x0002
412 #define IPG_IE_TX_COMPLETE 0x0004
413 #define IPG_IE_MAC_CTRL_FRAME 0x0008
414 #define IPG_IE_RX_COMPLETE 0x0010
415 #define IPG_IE_RX_EARLY 0x0020
416 #define IPG_IE_INT_REQUESTED 0x0040
417 #define IPG_IE_UPDATE_STATS 0x0080
418 #define IPG_IE_LINK_EVENT 0x0100
419 #define IPG_IE_TX_DMA_COMPLETE 0x0200
420 #define IPG_IE_RX_DMA_COMPLETE 0x0400
421 #define IPG_IE_RFD_LIST_END 0x0800
422 #define IPG_IE_RX_DMA_PRIORITY 0x1000
425 #define IPG_IS_RSVD_MASK 0x1FFF
426 #define IPG_IS_INTERRUPT_STATUS 0x0001
427 #define IPG_IS_HOST_ERROR 0x0002
428 #define IPG_IS_TX_COMPLETE 0x0004
429 #define IPG_IS_MAC_CTRL_FRAME 0x0008
430 #define IPG_IS_RX_COMPLETE 0x0010
431 #define IPG_IS_RX_EARLY 0x0020
432 #define IPG_IS_INT_REQUESTED 0x0040
433 #define IPG_IS_UPDATE_STATS 0x0080
434 #define IPG_IS_LINK_EVENT 0x0100
435 #define IPG_IS_TX_DMA_COMPLETE 0x0200
436 #define IPG_IS_RX_DMA_COMPLETE 0x0400
437 #define IPG_IS_RFD_LIST_END 0x0800
438 #define IPG_IS_RX_DMA_PRIORITY 0x1000
441 #define IPG_MC_RSVD_MASK 0x7FE33FA3
442 #define IPG_MC_IFS_SELECT 0x00000003
443 #define IPG_MC_IFS_4352BIT 0x00000003
444 #define IPG_MC_IFS_1792BIT 0x00000002
445 #define IPG_MC_IFS_1024BIT 0x00000001
446 #define IPG_MC_IFS_96BIT 0x00000000
447 #define IPG_MC_DUPLEX_SELECT 0x00000020
448 #define IPG_MC_DUPLEX_SELECT_FD 0x00000020
449 #define IPG_MC_DUPLEX_SELECT_HD 0x00000000
450 #define IPG_MC_TX_FLOW_CONTROL_ENABLE 0x00000080
451 #define IPG_MC_RX_FLOW_CONTROL_ENABLE 0x00000100
452 #define IPG_MC_RCV_FCS 0x00000200
453 #define IPG_MC_FIFO_LOOPBACK 0x00000400
454 #define IPG_MC_MAC_LOOPBACK 0x00000800
455 #define IPG_MC_AUTO_VLAN_TAGGING 0x00001000
456 #define IPG_MC_AUTO_VLAN_UNTAGGING 0x00002000
457 #define IPG_MC_COLLISION_DETECT 0x00010000
458 #define IPG_MC_CARRIER_SENSE 0x00020000
459 #define IPG_MC_STATISTICS_ENABLE 0x00200000
460 #define IPG_MC_STATISTICS_DISABLE 0x00400000
461 #define IPG_MC_STATISTICS_ENABLED 0x00800000
462 #define IPG_MC_TX_ENABLE 0x01000000
463 #define IPG_MC_TX_DISABLE 0x02000000
464 #define IPG_MC_TX_ENABLED 0x04000000
465 #define IPG_MC_RX_ENABLE 0x08000000
466 #define IPG_MC_RX_DISABLE 0x10000000
467 #define IPG_MC_RX_ENABLED 0x20000000
468 #define IPG_MC_PAUSED 0x40000000
475 #define IPG_APPEND_FCS_ON_TX 1
478 #define IPG_STRIP_FCS_ON_RX 1
483 #define IPG_DROP_ON_RX_ETH_ERRORS 1
488 #define IPG_INSERT_MANUAL_VLAN_TAG 0
491 #define IPG_ADD_IPCHECKSUM_ON_TX 0
496 #define IPG_ADD_TCPCHECKSUM_ON_TX 0
501 #define IPG_ADD_UDPCHECKSUM_ON_TX 0
506 #define IPG_MANUAL_VLAN_VID 0xABC
507 #define IPG_MANUAL_VLAN_CFI 0x1
508 #define IPG_MANUAL_VLAN_USERPRIORITY 0x5
510 #define IPG_IO_REG_RANGE 0xFF
511 #define IPG_MEM_REG_RANGE 0x154
512 #define IPG_DRIVER_NAME "Sundance Technology IPG Triple-Speed Ethernet"
513 #define IPG_NIC_PHY_ADDRESS 0x01
514 #define IPG_DMALIST_ALIGN_PAD 0x07
515 #define IPG_MULTICAST_HASHTABLE_SIZE 0x40
520 #define IPG_AC_RESETWAIT 0x05
523 #define IPG_AC_RESET_TIMEOUT 0x0A
528 #define IPG_PC_PHYCTRLWAIT_NS 200
530 #define IPG_TFDLIST_LENGTH 0x100
535 #define IPG_FRAMESBETWEENTXDMACOMPLETES 0x1
537 #define IPG_RFDLIST_LENGTH 0x100
542 #define IPG_MAXRFDPROCESS_COUNT 0x80
547 #define IPG_MINUSEDRFDSTOFREE 0x80
552 #define MAX_JUMBOSIZE 0x8
565 #define IPG_TXDMAPOLLPERIOD_VALUE 0x26
578 #define IPG_TXDMAURGENTTHRESH_VALUE 0x04
590 #define IPG_TXDMABURSTTHRESH_VALUE 0x30
601 #define IPG_RXDMAPOLLPERIOD_VALUE 0x01
614 #define IPG_RXDMAURGENTTHRESH_VALUE 0x30
626 #define IPG_RXDMABURSTTHRESH_VALUE 0x30
638 #define IPG_FLOWONTHRESH_VALUE 0x0740
650 #define IPG_FLOWOFFTHRESH_VALUE 0x00BF
658 # define IPG_DEBUG_MSG(fmt, args...) \
661 printk(KERN_DEBUG "IPG: " fmt, ##args); \
663 # define IPG_DDEBUG_MSG(fmt, args...) \
664 printk(KERN_DEBUG "IPG: " fmt, ##args)
665 # define IPG_DUMPRFDLIST(args) ipg_dump_rfdlist(args)
666 # define IPG_DUMPTFDLIST(args) ipg_dump_tfdlist(args)
668 # define IPG_DEBUG_MSG(fmt, args...) \
671 printk(KERN_DEBUG "IPG: " fmt, ##args); \
673 # define IPG_DDEBUG_MSG(fmt, args...) \
676 printk(KERN_DEBUG "IPG: " fmt, ##args); \
678 # define IPG_DUMPRFDLIST(args)
679 # define IPG_DUMPTFDLIST(args)
743 int RFDListCheckedCount;
744 int EmptyRFDListCount;