Deleted Added
full compact
if_ed_pci.c (16289) if_ed_pci.c (16363)
1/*
2 *
3 * Copyright (c) 1996 Stefan Esser <se@freebsd.org>
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:
9 * 1. Redistributions of source code must retain the above copyright
10 * notice immediately at the beginning of the file, without modification,
11 * this list of conditions, and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
15 * 3. Absolutely no warranty of function or purpose is made by the author
16 * Stefan Esser.
17 * 4. Modifications may be freely made to this file if the above conditions
18 * are met.
19 *
1/*
2 *
3 * Copyright (c) 1996 Stefan Esser <se@freebsd.org>
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:
9 * 1. Redistributions of source code must retain the above copyright
10 * notice immediately at the beginning of the file, without modification,
11 * this list of conditions, and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
15 * 3. Absolutely no warranty of function or purpose is made by the author
16 * Stefan Esser.
17 * 4. Modifications may be freely made to this file if the above conditions
18 * are met.
19 *
20 * $Id: if_ed_p.c,v 1.1 1996/05/18 17:56:40 se Exp $
20 * $Id: if_ed_p.c,v 1.2 1996/06/11 00:51:49 alex Exp $
21 */
22
23#include <pci.h>
24#if NPCI > 0
25
26#include <sys/param.h>
27#include <sys/systm.h>
28#include <sys/malloc.h>
29#include <sys/kernel.h>
30#include <pci/pcireg.h>
31#include <pci/pcivar.h>
21 */
22
23#include <pci.h>
24#if NPCI > 0
25
26#include <sys/param.h>
27#include <sys/systm.h>
28#include <sys/malloc.h>
29#include <sys/kernel.h>
30#include <pci/pcireg.h>
31#include <pci/pcivar.h>
32#ifdef PC98
33#include <pc98/pc98/pc98_device.h>
34#else
32#include <i386/isa/isa_device.h>
35#include <i386/isa/isa_device.h>
36#endif
33
34#include <ed.h>
35
36#define PCI_DEVICE_ID_NE2000 0x802910ec
37
38extern void *ed_attach_NE2000_pci __P((int, int));
39
40static char* ed_pci_probe __P((pcici_t tag, pcidi_t type));

--- 53 unchanged lines hidden ---
37
38#include <ed.h>
39
40#define PCI_DEVICE_ID_NE2000 0x802910ec
41
42extern void *ed_attach_NE2000_pci __P((int, int));
43
44static char* ed_pci_probe __P((pcici_t tag, pcidi_t type));

--- 53 unchanged lines hidden ---