The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/dev/marvell/README

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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 

Cache object: f0479703975e5a2774a4b6c392538e5a


[ source navigation ] [ diff markup ] [ 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.