Deleted Added
full compact
if_en_pci.c (41514) if_en_pci.c (41771)
1/* $NetBSD: if_en_pci.c,v 1.1 1996/06/22 02:00:31 chuck Exp $ */
2
3/*
4 *
5 * Copyright (c) 1996 Charles D. Cranor and Washington University.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

75#include <dev/en/midwayvar.h>
76
77
78/*
79 * prototypes
80 */
81
82static void en_pci_attach __P((pcici_t, int));
1/* $NetBSD: if_en_pci.c,v 1.1 1996/06/22 02:00:31 chuck Exp $ */
2
3/*
4 *
5 * Copyright (c) 1996 Charles D. Cranor and Washington University.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

75#include <dev/en/midwayvar.h>
76
77
78/*
79 * prototypes
80 */
81
82static void en_pci_attach __P((pcici_t, int));
83static char *en_pci_probe __P((pcici_t, pcidi_t));
83static const char *en_pci_probe __P((pcici_t, pcidi_t));
84#ifdef SHUTDOWN_PRE_SYNC
85static void en_pci_shutdown __P((int, void *));
86#else
87static int en_pci_shutdown __P((struct kern_devconf *, int));
88#endif
89
90/*
91 * local structures

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

198#endif
199
200/***********************************************************************/
201
202/*
203 * autoconfig stuff
204 */
205
84#ifdef SHUTDOWN_PRE_SYNC
85static void en_pci_shutdown __P((int, void *));
86#else
87static int en_pci_shutdown __P((struct kern_devconf *, int));
88#endif
89
90/*
91 * local structures

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

198#endif
199
200/***********************************************************************/
201
202/*
203 * autoconfig stuff
204 */
205
206static char *en_pci_probe(config_id, device_id)
206static const char *en_pci_probe(config_id, device_id)
207
208pcici_t config_id;
209pcidi_t device_id;
210
211{
212#if !defined(MIDWAY_ADPONLY)
213 if (PCI_VENDOR(device_id) == PCI_VENDOR_EFFICIENTNETS &&
214 (PCI_CHIPID(device_id) == PCI_PRODUCT_EFFICIENTNETS_ENI155PF ||

--- 131 unchanged lines hidden ---
207
208pcici_t config_id;
209pcidi_t device_id;
210
211{
212#if !defined(MIDWAY_ADPONLY)
213 if (PCI_VENDOR(device_id) == PCI_VENDOR_EFFICIENTNETS &&
214 (PCI_CHIPID(device_id) == PCI_PRODUCT_EFFICIENTNETS_ENI155PF ||

--- 131 unchanged lines hidden ---