Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 1996 11:10:26 -0800
From:      "Jin Guojun[ITG]" <jin@george.lbl.gov>
To:        hackers@freebsd.org
Subject:   Q for loadable network driver
Message-ID:  <199612091910.LAA02529@george.lbl.gov>

next in thread | raw e-mail | index | archive | help
I have a question in writing a loadable network driver.
How is the PCI device table is load into pcidevice_set list --
	pcidevice_set.ls_items
That is, what is the mechanism to replace these lines :

struct pci_device xyz_device = {
        OEM_DRVNAME,
        xyz_probe,
        xyz_attach,
        &xyz_count,
        xyz_shutdown
};      

DATA_SET(pcidevice_set, xyz_device);


Thanks,

-Jin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612091910.LAA02529>