Deleted Added
full compact
siba_bwn.c (226406) siba_bwn.c (227848)
1/*-
2 * Copyright (c) 2009-2010 Weongyo Jeong <weongyo@freebsd.org>
3 * 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

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

23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 */
29
30#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2009-2010 Weongyo Jeong <weongyo@freebsd.org>
3 * 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

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

23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 */
29
30#include <sys/cdefs.h>
31__FBSDID("$FreeBSD: head/sys/dev/siba/siba_bwn.c 226406 2011-10-15 22:27:35Z brueffer $");
31__FBSDID("$FreeBSD: head/sys/dev/siba/siba_bwn.c 227848 2011-11-22 21:55:40Z marius $");
32
33/*
34 * Sonics Silicon Backplane front-end for bwn(4).
35 */
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/module.h>

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

405 DEVMETHOD(bus_teardown_intr, siba_bwn_teardown_intr),
406
407 /* PCI interface */
408 DEVMETHOD(pci_find_extcap, siba_bwn_find_extcap),
409 DEVMETHOD(pci_alloc_msi, siba_bwn_alloc_msi),
410 DEVMETHOD(pci_release_msi, siba_bwn_release_msi),
411 DEVMETHOD(pci_msi_count, siba_bwn_msi_count),
412
32
33/*
34 * Sonics Silicon Backplane front-end for bwn(4).
35 */
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/module.h>

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

405 DEVMETHOD(bus_teardown_intr, siba_bwn_teardown_intr),
406
407 /* PCI interface */
408 DEVMETHOD(pci_find_extcap, siba_bwn_find_extcap),
409 DEVMETHOD(pci_alloc_msi, siba_bwn_alloc_msi),
410 DEVMETHOD(pci_release_msi, siba_bwn_release_msi),
411 DEVMETHOD(pci_msi_count, siba_bwn_msi_count),
412
413 KOBJMETHOD_END
413 DEVMETHOD_END
414};
415static driver_t siba_bwn_driver = {
416 "siba_bwn",
417 siba_bwn_methods,
418 sizeof(struct siba_bwn_softc)
419};
420static devclass_t siba_bwn_devclass;
421DRIVER_MODULE(siba_bwn, pci, siba_bwn_driver, siba_bwn_devclass, 0, 0);
422MODULE_VERSION(siba_bwn, 1);
414};
415static driver_t siba_bwn_driver = {
416 "siba_bwn",
417 siba_bwn_methods,
418 sizeof(struct siba_bwn_softc)
419};
420static devclass_t siba_bwn_devclass;
421DRIVER_MODULE(siba_bwn, pci, siba_bwn_driver, siba_bwn_devclass, 0, 0);
422MODULE_VERSION(siba_bwn, 1);