if_wi_pci.c (94687) | if_wi_pci.c (95534) |
---|---|
1/* 2 * Copyright (c) 1997, 1998, 1999 3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 27 unchanged lines hidden (view full) --- 36 * Written by Bill Paul <wpaul@ctr.columbia.edu> 37 * Electrical Engineering Department 38 * Columbia University, New York City 39 */ 40 41#include <sys/param.h> 42#include <sys/kernel.h> 43#include <sys/socket.h> | 1/* 2 * Copyright (c) 1997, 1998, 1999 3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 27 unchanged lines hidden (view full) --- 36 * Written by Bill Paul <wpaul@ctr.columbia.edu> 37 * Electrical Engineering Department 38 * Columbia University, New York City 39 */ 40 41#include <sys/param.h> 42#include <sys/kernel.h> 43#include <sys/socket.h> |
44#include <sys/systm.h> |
|
44#include <sys/module.h> 45#include <sys/bus.h> 46 47#include <machine/bus.h> 48#include <machine/resource.h> | 45#include <sys/module.h> 46#include <sys/bus.h> 47 48#include <machine/bus.h> 49#include <machine/resource.h> |
50#include <machine/clock.h> |
|
49#include <sys/rman.h> 50 51#include <pci/pcireg.h> 52#include <pci/pcivar.h> 53 54#include <net/if.h> 55#include <net/if_arp.h> 56#include <net/ethernet.h> --- 5 unchanged lines hidden (view full) --- 62#include <dev/wi/wi_hostap.h> 63#include <dev/wi/if_wivar.h> 64#include <dev/wi/if_wireg.h> 65 66#include "card_if.h" 67 68#if !defined(lint) 69static const char rcsid[] = | 51#include <sys/rman.h> 52 53#include <pci/pcireg.h> 54#include <pci/pcivar.h> 55 56#include <net/if.h> 57#include <net/if_arp.h> 58#include <net/ethernet.h> --- 5 unchanged lines hidden (view full) --- 64#include <dev/wi/wi_hostap.h> 65#include <dev/wi/if_wivar.h> 66#include <dev/wi/if_wireg.h> 67 68#include "card_if.h" 69 70#if !defined(lint) 71static const char rcsid[] = |
70 "$FreeBSD: head/sys/dev/wi/if_wi_pci.c 94687 2002-04-14 22:08:58Z brooks $"; | 72 "$FreeBSD: head/sys/dev/wi/if_wi_pci.c 95534 2002-04-26 23:11:23Z imp $"; |
71#endif 72 73static int wi_pci_probe(device_t); 74static int wi_pci_attach(device_t); 75 76static device_method_t wi_pci_methods[] = { 77 /* Device interface */ 78 DEVMETHOD(device_probe, wi_pci_probe), --- 158 unchanged lines hidden --- | 73#endif 74 75static int wi_pci_probe(device_t); 76static int wi_pci_attach(device_t); 77 78static device_method_t wi_pci_methods[] = { 79 /* Device interface */ 80 DEVMETHOD(device_probe, wi_pci_probe), --- 158 unchanged lines hidden --- |