pcivar.h (b6c8407840389a556fef99efaca29e8e5460f386) pcivar.h (bb0d0a8efc748ae3a7a6f639d373bac067cf8ba1)
1/*
2 * Copyright (c) 1997, Stefan Esser <se@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 130 unchanged lines hidden (view full) ---

139struct pci_devinfo {
140 STAILQ_ENTRY(pci_devinfo) pci_links;
141 struct resource_list resources;
142 pcicfgregs cfg;
143 struct pci_conf conf;
144};
145#endif
146
1/*
2 * Copyright (c) 1997, Stefan Esser <se@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 130 unchanged lines hidden (view full) ---

139struct pci_devinfo {
140 STAILQ_ENTRY(pci_devinfo) pci_links;
141 struct resource_list resources;
142 pcicfgregs cfg;
143 struct pci_conf conf;
144};
145#endif
146
147/* externally visible functions */
148
149const char *pci_ata_match(struct device *dev);
150const char *pci_usb_match(struct device *dev);
151const char *pci_vga_match(struct device *dev);
152const char *pci_chip_match(struct device *dev);
153
154/* low level PCI config register functions provided by pcibus.c */
155
156int pci_cfgread (pcicfgregs *cfg, int reg, int bytes);
157void pci_cfgwrite (pcicfgregs *cfg, int reg, int data, int bytes);
158
159#ifdef __alpha__
160vm_offset_t pci_cvt_to_dense (vm_offset_t);
161vm_offset_t pci_cvt_to_bwx (vm_offset_t);

--- 171 unchanged lines hidden ---
147/* low level PCI config register functions provided by pcibus.c */
148
149int pci_cfgread (pcicfgregs *cfg, int reg, int bytes);
150void pci_cfgwrite (pcicfgregs *cfg, int reg, int data, int bytes);
151
152#ifdef __alpha__
153vm_offset_t pci_cvt_to_dense (vm_offset_t);
154vm_offset_t pci_cvt_to_bwx (vm_offset_t);

--- 171 unchanged lines hidden ---