/*
- * $Id: generic.c,v 1.4 1999/02/28 20:23:10 mj Exp $
+ * $Id: generic.c,v 1.7 2002/03/30 15:39:25 mj Exp $
*
* The PCI Library -- Generic Direct Access Functions
*
- * Copyright (c) 1997--1999 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
+ * Copyright (c) 1997--2000 Martin Mares <mj@ucw.cz>
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
#include "internal.h"
-static void
+void
pci_generic_scan_bus(struct pci_access *a, byte *busmap, int bus)
{
int dev, multi, ht;
pci_generic_scan_bus(a, busmap, 0);
}
-void
+int
pci_generic_fill_info(struct pci_dev *d, int flags)
{
struct pci_access *a = d->access;
d->rom_base_addr = a;
}
}
+ return flags & ~PCI_FILL_SIZES;
}
static int