2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 15:21:32 +00:00

Make adjust_pci_device global, since many drivers call it.

This commit is contained in:
Michael Brown 2005-04-12 18:10:57 +00:00
parent 762fa9a478
commit 3293c68488
2 changed files with 2 additions and 1 deletions

View File

@ -87,7 +87,7 @@ static int fill_pci_device ( struct pci_device *pci ) {
* Set device to be a busmaster in case BIOS neglected to do so. Also
* adjust PCI latency timer to a reasonable value, 32.
*/
static void adjust_pci_device ( struct pci_device *pci ) {
void adjust_pci_device ( struct pci_device *pci ) {
unsigned short new_command, pci_command;
unsigned char pci_latency;

View File

@ -325,6 +325,7 @@ extern unsigned long pci_bus_base ( struct pci_device *dev );
extern struct pci_device * pci_device ( struct dev *dev );
extern int find_pci_device ( struct pci_device *pci,
struct pci_driver *driver );
extern void adjust_pci_device ( struct pci_device *pci );
extern unsigned long pci_bar_start ( struct pci_device *pci,
unsigned int bar );
extern unsigned long pci_bar_size ( struct pci_device *pci, unsigned int bar );