Deleted Added
full compact
esp_pci.c (227006) esp_pci.c (227848)
1/*-
2 * Copyright (c) 2011 Marius Strobl <marius@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

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

60 * esp_pci.c: device dependent code for AMD Am53c974 (PCscsi-PCI)
61 * written by Izumi Tsutsui <tsutsui@NetBSD.org>
62 *
63 * Technical manual available at
64 * http://www.amd.com/files/connectivitysolutions/networking/archivednetworking/19113.pdf
65 */
66
67#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2011 Marius Strobl <marius@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

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

60 * esp_pci.c: device dependent code for AMD Am53c974 (PCscsi-PCI)
61 * written by Izumi Tsutsui <tsutsui@NetBSD.org>
62 *
63 * Technical manual available at
64 * http://www.amd.com/files/connectivitysolutions/networking/archivednetworking/19113.pdf
65 */
66
67#include <sys/cdefs.h>
68__FBSDID("$FreeBSD: head/sys/dev/esp/esp_pci.c 227006 2011-11-01 21:26:57Z marius $");
68__FBSDID("$FreeBSD: head/sys/dev/esp/esp_pci.c 227848 2011-11-22 21:55:40Z marius $");
69
70#include <sys/param.h>
71#include <sys/systm.h>
72#include <sys/bus.h>
73#include <sys/endian.h>
74#include <sys/kernel.h>
75#include <sys/lock.h>
76#include <sys/module.h>

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

141
142static device_method_t esp_pci_methods[] = {
143 DEVMETHOD(device_probe, esp_pci_probe),
144 DEVMETHOD(device_attach, esp_pci_attach),
145 DEVMETHOD(device_detach, esp_pci_detach),
146 DEVMETHOD(device_suspend, esp_pci_suspend),
147 DEVMETHOD(device_resume, esp_pci_resume),
148
69
70#include <sys/param.h>
71#include <sys/systm.h>
72#include <sys/bus.h>
73#include <sys/endian.h>
74#include <sys/kernel.h>
75#include <sys/lock.h>
76#include <sys/module.h>

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

141
142static device_method_t esp_pci_methods[] = {
143 DEVMETHOD(device_probe, esp_pci_probe),
144 DEVMETHOD(device_attach, esp_pci_attach),
145 DEVMETHOD(device_detach, esp_pci_detach),
146 DEVMETHOD(device_suspend, esp_pci_suspend),
147 DEVMETHOD(device_resume, esp_pci_resume),
148
149 KOBJMETHOD_END
149 DEVMETHOD_END
150};
151
152static driver_t esp_pci_driver = {
153 "esp",
154 esp_pci_methods,
155 sizeof(struct esp_pci_softc)
156};
157

--- 497 unchanged lines hidden ---
150};
151
152static driver_t esp_pci_driver = {
153 "esp",
154 esp_pci_methods,
155 sizeof(struct esp_pci_softc)
156};
157

--- 497 unchanged lines hidden ---