ignore_pci.c (119418) | ignore_pci.c (129876) |
---|---|
1/*- 2 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org> 3 * Copyright (c) 2000 BSDi 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org> 3 * Copyright (c) 2000 BSDi 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28#include <sys/cdefs.h> |
29__FBSDID("$FreeBSD: head/sys/dev/pci/ignore_pci.c 119418 2003-08-24 17:55:58Z obrien $"); | 29__FBSDID("$FreeBSD: head/sys/dev/pci/ignore_pci.c 129876 2004-05-30 17:57:46Z phk $"); |
30 31/* 32 * 'Ignore' driver - eats devices that show up errnoeously on PCI 33 * but shouldn't ever be listed or handled by a driver. 34 */ 35 36#include <sys/param.h> 37#include <sys/kernel.h> | 30 31/* 32 * 'Ignore' driver - eats devices that show up errnoeously on PCI 33 * but shouldn't ever be listed or handled by a driver. 34 */ 35 36#include <sys/param.h> 37#include <sys/kernel.h> |
38#include <sys/module.h> |
|
38#include <sys/bus.h> 39 40#include <dev/pci/pcivar.h> 41 42static int ignore_pci_probe(device_t dev); 43 44static device_method_t ignore_pci_methods[] = { 45 /* Device interface */ --- 26 unchanged lines hidden --- | 39#include <sys/bus.h> 40 41#include <dev/pci/pcivar.h> 42 43static int ignore_pci_probe(device_t dev); 44 45static device_method_t ignore_pci_methods[] = { 46 /* Device interface */ --- 26 unchanged lines hidden --- |