diff options
Diffstat (limited to 'xhfc/xhfc.h')
-rw-r--r-- | xhfc/xhfc.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/xhfc/xhfc.h b/xhfc/xhfc.h index 6179b45..92e889f 100644 --- a/xhfc/xhfc.h +++ b/xhfc/xhfc.h @@ -139,7 +139,6 @@ struct xhfc_span { }; struct xhfc { - char *name; struct xhfc_pi *pi; /* backpointer to xhfc_pi */ struct xhfc_span spans[SPANS_PER_CHIP]; @@ -154,10 +153,13 @@ struct xhfc_pi { u8 __iomem *cs_n0; int irq; - char name[16]; /* 'XHFC_PI0' = ProcessorInterface no. 0 */ struct xhfc xhfc; /* mem for one XHFC */ struct pci_dev *pci_dev; + + /* maybe should be in struct xhfc but mainly used to retrieve the irq, + * so for now it ends up here */ + struct pnp_dev *pnp_dev; #ifdef AUDIO struct xivo_tdm_port *tdm_port; #endif @@ -166,17 +168,6 @@ struct xhfc_pi { #define dchan_fifo(span) ((span)->port * 4 + 2) #define portno(span) ((span)->port + 1) /* used for traces */ -void xhfc_flush_fifo(struct xhfc* x, int fifo); -int xhfc_hdlc_init(struct xhfc* x); -int xhfc_hdlc_interrupt(struct xhfc* x); - -void xhfc_waitbusy(struct xhfc * xhfc); -void xhfc_selfifo(struct xhfc * xhfc, int fifo, int receive); -void xhfc_inc_f(struct xhfc * xhfc); -int xhfc_reset(struct xhfc * xhfc); -int xhfc_chipid(struct xhfc * xhfc); -int xhfc_cfg_pcm(struct xhfc * xhfc, __u8 pcm); - void start_state_machine(struct xhfc_span* s); void activate_request(struct xhfc_span* s); void deactivate_request(struct xhfc_span* s); |