Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ source navigation ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]
FreeBSD/Linux Kernel Cross Reference
|
Name | Size | Last modified (GMT) | Description | |
Parent directory | 2011-05-23 18:02:51 | |||
README | 1004 bytes | 2003-03-05 22:08:18 | ||
files.discovery | 1920 bytes | 2005-12-11 12:22:16 | ||
gt.c | 27786 bytes | 2005-12-24 20:27:41 | ||
gtbrgreg.h | 4196 bytes | 2003-03-05 22:08:18 | ||
gtethreg.h | 34562 bytes | 2005-12-11 12:22:16 | ||
gti2c.c | 7346 bytes | 2006-06-26 18:21:39 | ||
gti2creg.h | 3842 bytes | 2006-03-08 23:46:25 | ||
gtidma.c | 36214 bytes | 2006-03-29 06:55:32 | ||
gtidmareg.h | 9914 bytes | 2006-02-16 20:17:19 | ||
gtidmavar.h | 6699 bytes | 2005-12-11 12:22:16 | ||
gtintrreg.h | 10587 bytes | 2005-12-11 12:22:16 | ||
gtmpsc.c | 43875 bytes | 2006-12-21 17:05:10 | ||
gtmpscreg.h | 17015 bytes | 2005-12-11 12:22:16 | ||
gtmpscvar.h | 5357 bytes | 2006-03-06 08:13:58 | ||
gtpci.c | 25177 bytes | 2006-03-29 06:55:32 | ||
gtpcireg.h | 40993 bytes | 2005-12-11 12:22:16 | ||
gtpcivar.h | 3860 bytes | 2006-02-16 20:17:19 | ||
gtreg.h | 29367 bytes | 2005-12-11 12:22:16 | ||
gtsdmareg.h | 7094 bytes | 2005-12-11 12:22:16 | ||
gtvar.h | 5708 bytes | 2006-05-24 21:22:36 | ||
if_gfe.c | 53296 bytes | 2006-03-29 06:55:32 | ||
if_gfevar.h | 6177 bytes | 2005-12-11 12:22:16 | ||
obio.c | 5537 bytes | 2006-03-29 06:55:32 |
1 External m.d. interface points: 2 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. 6 7 m.d. pci_chipset_tag_t should contain at least a copy of the 8 gtpci_chipset_tag_t data structure. 9 10 m.d. code must provide the following functions: 11 12 pci_intr_map 13 pci_intr_string 14 pci_intr_establish, 15 pci_intr_disestablish 16 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. 21 22 void gtmpp_intr_disestablish(struct gt_softc *gt, void *cookie); 23 Remove an interrupt attached to Discovery MPP pin. 24 25 int gtget_macaddr(struct gt_softc *gt, int function, char *enaddr); 26 Get MAC for Discovery ethernet <function> 27 28 void intr_enable(void); 29 Enable all interrupts (disregarding spls) 30 31 void intr_disable(void); 32 Disable all interrupts (disregarding spls) 33
[ source navigation ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]
This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.