diff options
author | jake <jake@FreeBSD.org> | 2000-05-26 02:09:24 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2000-05-26 02:09:24 +0000 |
commit | 961b97d43458f3c57241940cabebb3bedf7e4c00 (patch) | |
tree | 6014972d9b90b4e3a8b20dbea641a88cf6355c13 /sys/pci/pci.c | |
parent | 06b64672180d9b04ae6d35db819c854df3c3c684 (diff) | |
download | FreeBSD-src-961b97d43458f3c57241940cabebb3bedf7e4c00.zip FreeBSD-src-961b97d43458f3c57241940cabebb3bedf7e4c00.tar.gz |
Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen.
Requested by: msmith and others
Diffstat (limited to 'sys/pci/pci.c')
-rw-r--r-- | sys/pci/pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/pci.c b/sys/pci/pci.c index 081cd54..aa58b8a 100644 --- a/sys/pci/pci.c +++ b/sys/pci/pci.c @@ -87,13 +87,13 @@ struct pci_quirk pci_quirks[] = { #define PCI_MAPPORT 0x04 /* port map */ struct pci_devinfo { - STAILQ_ENTRY(struct pci_devinfo) pci_links; + STAILQ_ENTRY(pci_devinfo) pci_links; struct resource_list resources; pcicfgregs cfg; struct pci_conf conf; }; -static STAILQ_HEAD(devlist, struct pci_devinfo) pci_devq; +static STAILQ_HEAD(devlist, pci_devinfo) pci_devq; u_int32_t pci_numdevs = 0; static u_int32_t pci_generation = 0; @@ -400,7 +400,7 @@ pci_freecfg(struct pci_devinfo *dinfo) if (dinfo->cfg.map != NULL) free(dinfo->cfg.map, M_DEVBUF); /* XXX this hasn't been tested */ - STAILQ_REMOVE(devlist_head, dinfo, struct pci_devinfo, pci_links); + STAILQ_REMOVE(devlist_head, dinfo, pci_devinfo, pci_links); free(dinfo, M_DEVBUF); /* increment the generation count */ |