1 External m.d. interface points:
3 To config, code should configure 'gt' with a struct gtbus_attach_args
4 filled in. The code should have already set up the bus_space and
5 bus_dma tags that are passed in.
7 m.d. pci_chipset_tag_t should contain at least a copy of the
8 gtpci_chipset_tag_t data structure.
10 m.d. code must provide the following functions:
17 void *gtmpp_intr_establish(struct gt_softc *gt, int mpp_pin, int ipl,
18 int (*handler)(void *), void *arg);
19 Add an interrupt attached to Discovery MPP pin <mpp_pin> at
20 the given ipl with the given handler.
22 void gtmpp_intr_disestablish(struct gt_softc *gt, void *cookie);
23 Remove an interrupt attached to Discovery MPP pin.
25 int gtget_macaddr(struct gt_softc *gt, int function, char *enaddr);
26 Get MAC for Discovery ethernet <function>
28 void intr_enable(void);
29 Enable all interrupts (disregarding spls)
31 void intr_disable(void);
32 Disable all interrupts (disregarding spls)