aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorJosh Boyer <[email protected]>2008-09-04 04:03:45 +0000
committerJosh Boyer <[email protected]>2008-09-30 09:23:04 -0400
commitec4f9945b5b3e9e491a04eb1efe1c959371fa6de (patch)
treeaf711173c68d0939ba85e581c63f83a4599f02ce /net/lapb/lapb_timer.c
parentb68d185ab12b1fc8000432c5d5ab5404d4788b4c (diff)
ibm_newemac: Introduce mal_has_feature
There are some PowerPC SoCs that do odd things with the MAL handling. In order to accommodate them, we need to introduce a feature mechanism that is similar to the existing emac_has_feature function. This adds a feature variable to the mal_instance structure, and adds a mal_has_feature function. Two features are defined and are guarded by Kconfig options that are selected by the affected platforms. MAL_FTR_CLEAR_ICINSTAT is used for platforms that need to clear the interrupt bits in the ICINTSTAT SDR for txeob/rxeob. This is common on MAL implementations that have interrupt coalescing. MAL_FTR_COMMON_ERR_INT is used for platforms that have SERR, TXDE, and RXDE OR'd into a single interrupt bit. Signed-off-by: Josh Boyer <[email protected]> Acked-by: Benjamin Herrenschmidt <[email protected]> Acked-by: Jeff Garzik <[email protected]> Signed-off-by: Josh Boyer <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions