FreeBSD kernel CXGBE device code
|
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/bus.h>
#include <sys/kernel.h>
#include <sys/module.h>
#include <sys/systm.h>
#include <dev/pci/pcivar.h>
#include "common/common.h"
#include "common/t4_regs.h"
#include "t4_if.h"
Go to the source code of this file.
Data Structures | |
struct | t4iov_softc |
Functions | |
__FBSDID ("$FreeBSD$") | |
static uint32_t | t4iov_read_reg (struct t4iov_softc *sc, uint32_t reg) |
static int | t4iov_attach_child (device_t dev) |
static int | t4iov_probe (device_t dev) |
static int | t5iov_probe (device_t dev) |
static int | t6iov_probe (device_t dev) |
static int | t4iov_attach (device_t dev) |
static int | t4iov_detach_child (device_t dev) |
static int | t4iov_detach (device_t dev) |
DRIVER_MODULE (t4iov, pci, t4iov_driver, t4iov_devclass, 0, 0) | |
MODULE_VERSION (t4iov, 1) | |
DRIVER_MODULE (t5iov, pci, t5iov_driver, t5iov_devclass, 0, 0) | |
MODULE_VERSION (t5iov, 1) | |
DRIVER_MODULE (t6iov, pci, t6iov_driver, t6iov_devclass, 0, 0) | |
MODULE_VERSION (t6iov, 1) | |
Variables | |
struct { | |
uint16_t device | |
char * desc | |
} | t4iov_pciids [] |
struct { | |
uint16_t device | |
char * desc | |
} | t5iov_pciids [] |
struct { | |
uint16_t device | |
char * desc | |
} | t6iov_pciids [] |
static device_method_t | t4iov_methods [] |
static driver_t | t4iov_driver |
static device_method_t | t5iov_methods [] |
static driver_t | t5iov_driver |
static device_method_t | t6iov_methods [] |
static driver_t | t6iov_driver |
static devclass_t | t4iov_devclass |
static devclass_t | t5iov_devclass |
static devclass_t | t6iov_devclass |
__FBSDID | ( | "$FreeBSD$" | ) |
DRIVER_MODULE | ( | t4iov | , |
pci | , | ||
t4iov_driver | , | ||
t4iov_devclass | , | ||
0 | , | ||
0 | |||
) |
DRIVER_MODULE | ( | t5iov | , |
pci | , | ||
t5iov_driver | , | ||
t5iov_devclass | , | ||
0 | , | ||
0 | |||
) |
DRIVER_MODULE | ( | t6iov | , |
pci | , | ||
t6iov_driver | , | ||
t6iov_devclass | , | ||
0 | , | ||
0 | |||
) |
MODULE_VERSION | ( | t4iov | , |
1 | |||
) |
MODULE_VERSION | ( | t5iov | , |
1 | |||
) |
MODULE_VERSION | ( | t6iov | , |
1 | |||
) |
|
static |
Definition at line 193 of file t4_iov.c.
References A_PL_REV, A_PL_WHOAMI, t4iov_softc::bh, t4iov_softc::bt, CHELSIO_T5, G_CHIPID, G_SOURCEPF, G_T6_SOURCEPF, t4iov_softc::pf, t4iov_softc::regs_res, t4iov_softc::regs_rid, t4iov_softc::sc_dev, t4iov_softc::sc_main, t4iov_attach_child(), and t4iov_read_reg().
|
static |
Definition at line 228 of file t4_iov.c.
References t4iov_softc::sc_attached, and t4iov_softc::sc_main.
Referenced by t4iov_attach().
|
static |
Definition at line 291 of file t4_iov.c.
References t4iov_softc::regs_res, t4iov_softc::regs_rid, t4iov_softc::sc_attached, and t4iov_detach_child().
|
static |
Definition at line 267 of file t4_iov.c.
References t4iov_softc::sc_attached.
Referenced by t4iov_detach().
|
static |
Definition at line 133 of file t4_iov.c.
References desc, device, PCI_VENDOR_ID_CHELSIO, and t4iov_pciids.
|
inlinestatic |
Definition at line 124 of file t4_iov.c.
References t4iov_softc::bh, and t4iov_softc::bt.
Referenced by t4iov_attach().
|
static |
Definition at line 153 of file t4_iov.c.
References desc, device, PCI_VENDOR_ID_CHELSIO, and t5iov_pciids.
|
static |
Definition at line 173 of file t4_iov.c.
References desc, device, PCI_VENDOR_ID_CHELSIO, and t6iov_pciids.
char* desc |
Definition at line 62 of file t4_iov.c.
Referenced by t4iov_probe(), t5iov_probe(), and t6iov_probe().
uint16_t device |
Definition at line 61 of file t4_iov.c.
Referenced by t4iov_probe(), t5iov_probe(), and t6iov_probe().
|
static |
|
static |
struct { ... } t4iov_pciids[] |
Referenced by t4iov_probe().
|
static |
|
static |
struct { ... } t5iov_pciids[] |
Referenced by t5iov_probe().
|
static |
|
static |
struct { ... } t6iov_pciids[] |
Referenced by t6iov_probe().