summaryrefslogtreecommitdiff
path: root/xhfc/xhfc.h
diff options
context:
space:
mode:
authorNoe Rubinstein <nrubinstein@proformatique.com>2010-11-12 13:45:24 +0100
committerNoe Rubinstein <nrubinstein@proformatique.com>2010-11-12 13:45:24 +0100
commita80aeaabdcd15d5ec68adc80a7fb92eb41378e7b (patch)
tree503ee895ab980e09d4daddc5b2d5d604eb22fdd9 /xhfc/xhfc.h
parent0765bf9a051d735855f9617cbe2a54d231a56ba9 (diff)
debug traces, cleanup/fix
Diffstat (limited to 'xhfc/xhfc.h')
-rw-r--r--xhfc/xhfc.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/xhfc/xhfc.h b/xhfc/xhfc.h
index 4709c10..0fb1375 100644
--- a/xhfc/xhfc.h
+++ b/xhfc/xhfc.h
@@ -71,7 +71,7 @@ enum { XHFC_T1, XHFC_T2, XHFC_T3, XHFC_T4 };
#define DBG_ALARM (debug & DEBUG_ALARM)
#define DBG_TIMING (debug & DEBUG_TIMING)
-#define DBG_SPANFILTER ((1 << xhfc_span->port) & dbg_spanfilter)
+#define DBG_SPAN(xhfc_span) ((1 << xhfc_span->port) & dbg_spanfilter)
#define CORRUPTED_FRAME (-1)
@@ -172,9 +172,10 @@ int xhfc_reset(struct xhfc * xhfc);
int xhfc_chipid(struct xhfc * xhfc);
int xhfc_cfg_pcm(struct xhfc * xhfc, __u8 pcm);
-void hfc_handle_state(struct xhfc_span *s);
-void hfc_update_st_timers(struct xhfc *x);
-void hfc_start_st(struct xhfc_span *s);
+void activate_request(struct xhfc_span* s);
+void deactivate_request(struct xhfc_span* s);
+void handle_state_change(struct xhfc_span* s);
+void handle_st_timers(struct xhfc_span* s)
int __devinit xhfc_init_one(struct pci_dev *pdev, const struct pci_device_id *ent);
void __devexit xhfc_remove_one(struct pci_dev *pdev);