if_anreg.h (173668) | if_anreg.h (175445) |
---|---|
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 --- 15 unchanged lines hidden (view full) --- 24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 30 * THE POSSIBILITY OF SUCH DAMAGE. 31 * | 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 --- 15 unchanged lines hidden (view full) --- 24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 30 * THE POSSIBILITY OF SUCH DAMAGE. 31 * |
32 * $FreeBSD: head/sys/dev/an/if_anreg.h 173668 2007-11-16 11:22:18Z avatar $ | 32 * $FreeBSD: head/sys/dev/an/if_anreg.h 175445 2008-01-18 16:31:24Z ambrisko $ |
33 */ 34 35#define AN_TIMEOUT 65536 36 37/* Default network name: <empty string> */ 38#define AN_DEFAULT_NETNAME "" 39 40/* The nodename must be less than 16 bytes */ --- 463 unchanged lines hidden (view full) --- 504#define AN_UNLOCK(_sc) mtx_unlock(&(_sc)->an_mtx) 505#define AN_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->an_mtx, MA_OWNED) 506 507void an_release_resources (device_t); 508int an_alloc_port (device_t, int, int); 509int an_alloc_memory (device_t, int, int); 510int an_alloc_aux_memory (device_t, int, int); 511int an_alloc_irq (device_t, int, int); | 33 */ 34 35#define AN_TIMEOUT 65536 36 37/* Default network name: <empty string> */ 38#define AN_DEFAULT_NETNAME "" 39 40/* The nodename must be less than 16 bytes */ --- 463 unchanged lines hidden (view full) --- 504#define AN_UNLOCK(_sc) mtx_unlock(&(_sc)->an_mtx) 505#define AN_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->an_mtx, MA_OWNED) 506 507void an_release_resources (device_t); 508int an_alloc_port (device_t, int, int); 509int an_alloc_memory (device_t, int, int); 510int an_alloc_aux_memory (device_t, int, int); 511int an_alloc_irq (device_t, int, int); |
512int an_pci_probe (device_t); |
|
512int an_probe (device_t); 513void an_shutdown (device_t); 514void an_resume (device_t); 515int an_attach (struct an_softc *, int, int); 516int an_detach (device_t); 517void an_stop (struct an_softc *); 518 519driver_intr_t an_intr; --- 36 unchanged lines hidden --- | 513int an_probe (device_t); 514void an_shutdown (device_t); 515void an_resume (device_t); 516int an_attach (struct an_softc *, int, int); 517int an_detach (device_t); 518void an_stop (struct an_softc *); 519 520driver_intr_t an_intr; --- 36 unchanged lines hidden --- |