Deleted Added
full compact
amr_pci.c (157586) amr_pci.c (165102)
1/*-
2 * Copyright (c) 1999,2000 Michael Smith
3 * Copyright (c) 2000 BSDi
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

50 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
51 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
52 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
53 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
54 * SUCH DAMAGE.
55 */
56
57#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1999,2000 Michael Smith
3 * Copyright (c) 2000 BSDi
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

50 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
51 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
52 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
53 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
54 * SUCH DAMAGE.
55 */
56
57#include <sys/cdefs.h>
58__FBSDID("$FreeBSD: head/sys/dev/amr/amr_pci.c 157586 2006-04-08 05:08:17Z scottl $");
58__FBSDID("$FreeBSD: head/sys/dev/amr/amr_pci.c 165102 2006-12-11 18:28:31Z mjacob $");
59
60#include <sys/param.h>
61#include <sys/systm.h>
62#include <sys/kernel.h>
63#include <sys/module.h>
64#include <sys/sysctl.h>
65
66#include <sys/bio.h>

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

114static driver_t amr_pci_driver = {
115 "amr",
116 amr_methods,
117 sizeof(struct amr_softc)
118};
119
120static devclass_t amr_devclass;
121DRIVER_MODULE(amr, pci, amr_pci_driver, amr_devclass, 0, 0);
59
60#include <sys/param.h>
61#include <sys/systm.h>
62#include <sys/kernel.h>
63#include <sys/module.h>
64#include <sys/sysctl.h>
65
66#include <sys/bio.h>

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

114static driver_t amr_pci_driver = {
115 "amr",
116 amr_methods,
117 sizeof(struct amr_softc)
118};
119
120static devclass_t amr_devclass;
121DRIVER_MODULE(amr, pci, amr_pci_driver, amr_devclass, 0, 0);
122MODULE_DEPEND(amr, pci, 1, 1, 1);
123MODULE_DEPEND(amr, cam, 1, 1, 1);
122
123static struct amr_ident
124{
125 int vendor;
126 int device;
127 int flags;
128#define AMR_ID_PROBE_SIG (1<<0) /* generic i960RD, check signature */
129#define AMR_ID_DO_SG64 (1<<1)

--- 547 unchanged lines hidden ---
124
125static struct amr_ident
126{
127 int vendor;
128 int device;
129 int flags;
130#define AMR_ID_PROBE_SIG (1<<0) /* generic i960RD, check signature */
131#define AMR_ID_DO_SG64 (1<<1)

--- 547 unchanged lines hidden ---