Deleted Added
full compact
asr.c (133041) asr.c (143163)
1/*-
2 * Copyright (c) 1996-2000 Distributed Processing Technology Corporation
3 * Copyright (c) 2000-2001 Adaptec Corporation
4 * All rights reserved.
5 *
6 * TERMS AND CONDITIONS OF USE
7 *
8 * Redistribution and use in source form, with or without modification, are

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

151#include "dev/asr/dptalign.h"
152#include "dev/asr/i2oexec.h"
153#include "dev/asr/i2obscsi.h"
154#include "dev/asr/i2odpt.h"
155#include "dev/asr/i2oadptr.h"
156
157#include "dev/asr/sys_info.h"
158
1/*-
2 * Copyright (c) 1996-2000 Distributed Processing Technology Corporation
3 * Copyright (c) 2000-2001 Adaptec Corporation
4 * All rights reserved.
5 *
6 * TERMS AND CONDITIONS OF USE
7 *
8 * Redistribution and use in source form, with or without modification, are

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

151#include "dev/asr/dptalign.h"
152#include "dev/asr/i2oexec.h"
153#include "dev/asr/i2obscsi.h"
154#include "dev/asr/i2odpt.h"
155#include "dev/asr/i2oadptr.h"
156
157#include "dev/asr/sys_info.h"
158
159__FBSDID("$FreeBSD: head/sys/dev/asr/asr.c 133041 2004-08-02 23:32:23Z marius $");
159__FBSDID("$FreeBSD: head/sys/dev/asr/asr.c 143163 2005-03-05 19:06:12Z imp $");
160
161#define ASR_VERSION 1
162#define ASR_REVISION '1'
163#define ASR_SUBREVISION '0'
164#define ASR_MONTH 5
165#define ASR_DAY 5
166#define ASR_YEAR (2004 - 1980)
167

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

654static int
655asr_probe(device_t tag)
656{
657 u_int32_t id;
658
659 id = (pci_get_device(tag) << 16) | pci_get_vendor(tag);
660 if ((id == 0xA5011044) || (id == 0xA5111044)) {
661 device_set_desc(tag, "Adaptec Caching SCSI RAID");
160
161#define ASR_VERSION 1
162#define ASR_REVISION '1'
163#define ASR_SUBREVISION '0'
164#define ASR_MONTH 5
165#define ASR_DAY 5
166#define ASR_YEAR (2004 - 1980)
167

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

654static int
655asr_probe(device_t tag)
656{
657 u_int32_t id;
658
659 id = (pci_get_device(tag) << 16) | pci_get_vendor(tag);
660 if ((id == 0xA5011044) || (id == 0xA5111044)) {
661 device_set_desc(tag, "Adaptec Caching SCSI RAID");
662 return (-10);
662 return (BUS_PROBE_DEFAULT);
663 }
664 return (ENXIO);
665} /* asr_probe */
666
667static __inline union asr_ccb *
668asr_alloc_ccb(Asr_softc_t *sc)
669{
670 union asr_ccb *new_ccb;

--- 2929 unchanged lines hidden ---
663 }
664 return (ENXIO);
665} /* asr_probe */
666
667static __inline union asr_ccb *
668asr_alloc_ccb(Asr_softc_t *sc)
669{
670 union asr_ccb *new_ccb;

--- 2929 unchanged lines hidden ---