2005-01-06 01:43:34 +00:00
|
|
|
/*-
|
1998-09-15 07:03:43 +00:00
|
|
|
* Device probe and attach routines for the following
|
|
|
|
* Advanced Systems Inc. SCSI controllers:
|
|
|
|
*
|
|
|
|
* Connectivity Products:
|
2000-01-14 03:33:38 +00:00
|
|
|
* ABP902/3902 - Bus-Master PCI (16 CDB)
|
|
|
|
* ABP3905 - Bus-Master PCI (16 CDB)
|
|
|
|
* ABP915 - Bus-Master PCI (16 CDB)
|
|
|
|
* ABP920 - Bus-Master PCI (16 CDB)
|
|
|
|
* ABP3922 - Bus-Master PCI (16 CDB)
|
|
|
|
* ABP3925 - Bus-Master PCI (16 CDB)
|
|
|
|
* ABP930 - Bus-Master PCI (16 CDB) *
|
|
|
|
* ABP930U - Bus-Master PCI Ultra (16 CDB)
|
|
|
|
* ABP930UA - Bus-Master PCI Ultra (16 CDB)
|
|
|
|
* ABP960 - Bus-Master PCI MAC/PC (16 CDB) **
|
2000-03-02 00:08:35 +00:00
|
|
|
* ABP960U - Bus-Master PCI MAC/PC (16 CDB) **
|
1998-09-15 07:03:43 +00:00
|
|
|
*
|
|
|
|
* Single Channel Products:
|
2000-03-02 00:08:35 +00:00
|
|
|
* ABP940 - Bus-Master PCI (240 CDB)
|
|
|
|
* ABP940U - Bus-Master PCI Ultra (240 CDB)
|
|
|
|
* ABP940UA/3940UA - Bus-Master PCI Ultra (240 CDB)
|
|
|
|
* ABP3960UA - Bus-Master PCI MAC/PC (240 CDB)
|
|
|
|
* ABP970 - Bus-Master PCI MAC/PC (240 CDB)
|
|
|
|
* ABP970U - Bus-Master PCI MAC/PC Ultra (240 CDB)
|
1998-09-15 07:03:43 +00:00
|
|
|
*
|
|
|
|
* Dual Channel Products:
|
|
|
|
* ABP950 - Dual Channel Bus-Master PCI (240 CDB Per Channel)
|
2000-03-02 00:08:35 +00:00
|
|
|
* ABP980 - Four Channel Bus-Master PCI (240 CDB Per Channel)
|
|
|
|
* ABP980U - Four Channel Bus-Master PCI Ultra (240 CDB Per Channel)
|
2000-01-14 03:33:38 +00:00
|
|
|
* ABP980UA/3980UA - Four Channel Bus-Master PCI Ultra (16 CDB Per Chan.)
|
1998-09-15 07:03:43 +00:00
|
|
|
*
|
|
|
|
* Footnotes:
|
|
|
|
* * This board has been sold by SIIG as the Fast SCSI Pro PCI.
|
|
|
|
* ** This board has been sold by Iomega as a Jaz Jet PCI adapter.
|
|
|
|
*
|
|
|
|
* Copyright (c) 1997 Justin Gibbs.
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted provided that the following conditions
|
|
|
|
* are met:
|
|
|
|
* 1. Redistributions of source code must retain the above copyright
|
|
|
|
* notice, this list of conditions, and the following disclaimer,
|
2000-01-14 03:33:38 +00:00
|
|
|
* without modification.
|
1998-09-15 07:03:43 +00:00
|
|
|
* 2. The name of the author may not be used to endorse or promote products
|
|
|
|
* derived from this software without specific prior written permission.
|
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
|
|
|
|
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
* SUCH DAMAGE.
|
|
|
|
*/
|
|
|
|
|
2003-08-24 17:55:58 +00:00
|
|
|
#include <sys/cdefs.h>
|
|
|
|
__FBSDID("$FreeBSD$");
|
|
|
|
|
1998-09-15 07:03:43 +00:00
|
|
|
#include <sys/param.h>
|
|
|
|
#include <sys/systm.h>
|
|
|
|
#include <sys/kernel.h>
|
2003-07-01 15:52:06 +00:00
|
|
|
#include <sys/lock.h>
|
2004-05-30 20:08:47 +00:00
|
|
|
#include <sys/module.h>
|
2003-07-01 15:52:06 +00:00
|
|
|
#include <sys/mutex.h>
|
1998-09-15 07:03:43 +00:00
|
|
|
|
|
|
|
#include <machine/bus.h>
|
2000-04-07 11:32:42 +00:00
|
|
|
#include <machine/resource.h>
|
|
|
|
#include <sys/bus.h>
|
|
|
|
#include <sys/rman.h>
|
1998-09-15 07:03:43 +00:00
|
|
|
|
2003-08-22 05:54:52 +00:00
|
|
|
#include <dev/pci/pcireg.h>
|
|
|
|
#include <dev/pci/pcivar.h>
|
1998-09-15 07:03:43 +00:00
|
|
|
|
|
|
|
#include <dev/advansys/advansys.h>
|
|
|
|
|
2003-09-02 17:30:40 +00:00
|
|
|
#define PCI_BASEADR0 PCIR_BAR(0) /* I/O Address */
|
|
|
|
#define PCI_BASEADR1 PCIR_BAR(1) /* Mem I/O Address */
|
1998-09-15 07:03:43 +00:00
|
|
|
|
|
|
|
#define PCI_DEVICE_ID_ADVANSYS_1200A 0x110010CD
|
|
|
|
#define PCI_DEVICE_ID_ADVANSYS_1200B 0x120010CD
|
2000-01-14 03:33:38 +00:00
|
|
|
#define PCI_DEVICE_ID_ADVANSYS_3000 0x130010CD
|
1998-09-15 07:03:43 +00:00
|
|
|
#define PCI_DEVICE_REV_ADVANSYS_3150 0x02
|
|
|
|
#define PCI_DEVICE_REV_ADVANSYS_3050 0x03
|
|
|
|
|
|
|
|
#define ADV_PCI_MAX_DMA_ADDR (0xFFFFFFFFL)
|
|
|
|
#define ADV_PCI_MAX_DMA_COUNT (0xFFFFFFFFL)
|
|
|
|
|
2000-04-07 11:32:42 +00:00
|
|
|
static int adv_pci_probe(device_t);
|
|
|
|
static int adv_pci_attach(device_t);
|
1998-09-15 07:03:43 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* The overrun buffer shared amongst all PCI adapters.
|
|
|
|
*/
|
2006-02-04 22:33:08 +00:00
|
|
|
static void* overrun_buf;
|
1998-12-22 18:14:15 +00:00
|
|
|
static bus_dma_tag_t overrun_dmat;
|
|
|
|
static bus_dmamap_t overrun_dmamap;
|
|
|
|
static bus_addr_t overrun_physbase;
|
1998-09-15 07:03:43 +00:00
|
|
|
|
2000-04-07 11:32:42 +00:00
|
|
|
static int
|
|
|
|
adv_pci_probe(device_t dev)
|
1998-09-15 07:03:43 +00:00
|
|
|
{
|
2000-04-07 11:32:42 +00:00
|
|
|
int rev = pci_get_revid(dev);
|
2000-01-14 03:33:38 +00:00
|
|
|
|
2000-04-07 11:32:42 +00:00
|
|
|
switch (pci_get_devid(dev)) {
|
1998-09-15 07:03:43 +00:00
|
|
|
case PCI_DEVICE_ID_ADVANSYS_1200A:
|
2000-04-07 11:32:42 +00:00
|
|
|
device_set_desc(dev, "AdvanSys ASC1200A SCSI controller");
|
2005-03-05 19:24:22 +00:00
|
|
|
return BUS_PROBE_DEFAULT;
|
1998-09-15 07:03:43 +00:00
|
|
|
case PCI_DEVICE_ID_ADVANSYS_1200B:
|
2000-04-07 11:32:42 +00:00
|
|
|
device_set_desc(dev, "AdvanSys ASC1200B SCSI controller");
|
2005-03-05 19:24:22 +00:00
|
|
|
return BUS_PROBE_DEFAULT;
|
2000-01-14 03:33:38 +00:00
|
|
|
case PCI_DEVICE_ID_ADVANSYS_3000:
|
2000-04-07 11:32:42 +00:00
|
|
|
if (rev == PCI_DEVICE_REV_ADVANSYS_3150) {
|
|
|
|
device_set_desc(dev,
|
|
|
|
"AdvanSys ASC3150 SCSI controller");
|
2005-03-05 19:24:22 +00:00
|
|
|
return BUS_PROBE_DEFAULT;
|
2000-04-07 11:32:42 +00:00
|
|
|
} else if (rev == PCI_DEVICE_REV_ADVANSYS_3050) {
|
|
|
|
device_set_desc(dev,
|
|
|
|
"AdvanSys ASC3030/50 SCSI controller");
|
2005-03-05 19:24:22 +00:00
|
|
|
return BUS_PROBE_DEFAULT;
|
2000-04-07 11:32:42 +00:00
|
|
|
} else if (rev >= PCI_DEVICE_REV_ADVANSYS_3150) {
|
|
|
|
device_set_desc(dev, "Unknown AdvanSys controller");
|
2005-03-05 19:24:22 +00:00
|
|
|
return BUS_PROBE_DEFAULT;
|
2000-04-07 11:32:42 +00:00
|
|
|
}
|
1998-09-15 07:03:43 +00:00
|
|
|
break;
|
|
|
|
default:
|
|
|
|
break;
|
|
|
|
}
|
2000-04-07 11:32:42 +00:00
|
|
|
return ENXIO;
|
1998-09-15 07:03:43 +00:00
|
|
|
}
|
|
|
|
|
2000-04-07 11:32:42 +00:00
|
|
|
static int
|
|
|
|
adv_pci_attach(device_t dev)
|
1998-09-15 07:03:43 +00:00
|
|
|
{
|
|
|
|
struct adv_softc *adv;
|
|
|
|
u_int32_t id;
|
2001-05-06 08:33:29 +00:00
|
|
|
int error, rid, irqrid;
|
2000-04-07 11:32:42 +00:00
|
|
|
void *ih;
|
|
|
|
struct resource *iores, *irqres;
|
|
|
|
|
1998-09-15 07:03:43 +00:00
|
|
|
/*
|
|
|
|
* Determine the chip version.
|
|
|
|
*/
|
2012-10-12 21:31:44 +00:00
|
|
|
id = pci_get_devid(dev);
|
|
|
|
pci_enable_busmaster(dev);
|
1998-09-15 07:03:43 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Early chips can't handle non-zero latency timer settings.
|
|
|
|
*/
|
|
|
|
if (id == PCI_DEVICE_ID_ADVANSYS_1200A
|
|
|
|
|| id == PCI_DEVICE_ID_ADVANSYS_1200B) {
|
2000-04-07 11:32:42 +00:00
|
|
|
pci_write_config(dev, PCIR_LATTIMER, /*value*/0, /*bytes*/1);
|
1998-09-15 07:03:43 +00:00
|
|
|
}
|
|
|
|
|
2000-04-12 11:32:13 +00:00
|
|
|
rid = PCI_BASEADR0;
|
2004-03-17 17:50:55 +00:00
|
|
|
iores = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid,
|
|
|
|
RF_ACTIVE);
|
2000-04-07 11:32:42 +00:00
|
|
|
if (iores == NULL)
|
|
|
|
return ENXIO;
|
1998-09-15 07:03:43 +00:00
|
|
|
|
2012-10-12 21:31:44 +00:00
|
|
|
if (adv_find_signature(iores) == 0) {
|
2001-05-06 08:33:29 +00:00
|
|
|
bus_release_resource(dev, SYS_RES_IOPORT, rid, iores);
|
2000-04-07 11:32:42 +00:00
|
|
|
return ENXIO;
|
2000-04-12 11:32:13 +00:00
|
|
|
}
|
1998-09-15 07:03:43 +00:00
|
|
|
|
2012-10-12 21:31:44 +00:00
|
|
|
adv = adv_alloc(dev, iores, 0);
|
2000-04-12 11:32:13 +00:00
|
|
|
if (adv == NULL) {
|
2001-05-06 08:33:29 +00:00
|
|
|
bus_release_resource(dev, SYS_RES_IOPORT, rid, iores);
|
2000-04-07 11:32:42 +00:00
|
|
|
return ENXIO;
|
2000-04-12 11:32:13 +00:00
|
|
|
}
|
1998-09-15 07:03:43 +00:00
|
|
|
|
|
|
|
/* Allocate a dmatag for our transfer DMA maps */
|
2003-03-29 09:46:10 +00:00
|
|
|
error = bus_dma_tag_create(
|
2012-03-12 08:03:51 +00:00
|
|
|
/* parent */ bus_get_dma_tag(dev),
|
2003-03-29 09:46:10 +00:00
|
|
|
/* alignment */ 1,
|
|
|
|
/* boundary */ 0,
|
|
|
|
/* lowaddr */ ADV_PCI_MAX_DMA_ADDR,
|
|
|
|
/* highaddr */ BUS_SPACE_MAXADDR,
|
|
|
|
/* filter */ NULL,
|
|
|
|
/* filterarg */ NULL,
|
|
|
|
/* maxsize */ BUS_SPACE_MAXSIZE_32BIT,
|
|
|
|
/* nsegments */ ~0,
|
|
|
|
/* maxsegsz */ ADV_PCI_MAX_DMA_COUNT,
|
|
|
|
/* flags */ 0,
|
2012-10-12 21:31:44 +00:00
|
|
|
/* lockfunc */ NULL,
|
|
|
|
/* lockarg */ NULL,
|
2003-03-29 09:46:10 +00:00
|
|
|
&adv->parent_dmat);
|
1998-09-15 07:03:43 +00:00
|
|
|
|
|
|
|
if (error != 0) {
|
2012-10-12 21:31:44 +00:00
|
|
|
device_printf(dev, "Could not allocate DMA tag - error %d\n",
|
|
|
|
error);
|
1998-09-15 07:03:43 +00:00
|
|
|
adv_free(adv);
|
2001-05-06 08:33:29 +00:00
|
|
|
bus_release_resource(dev, SYS_RES_IOPORT, rid, iores);
|
2000-04-07 11:32:42 +00:00
|
|
|
return ENXIO;
|
1998-09-15 07:03:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
adv->init_level++;
|
|
|
|
|
|
|
|
if (overrun_buf == NULL) {
|
|
|
|
/* Need to allocate our overrun buffer */
|
2003-03-29 09:46:10 +00:00
|
|
|
if (bus_dma_tag_create(
|
|
|
|
/* parent */ adv->parent_dmat,
|
|
|
|
/* alignment */ 8,
|
|
|
|
/* boundary */ 0,
|
|
|
|
/* lowaddr */ ADV_PCI_MAX_DMA_ADDR,
|
|
|
|
/* highaddr */ BUS_SPACE_MAXADDR,
|
|
|
|
/* filter */ NULL,
|
|
|
|
/* filterarg */ NULL,
|
|
|
|
/* maxsize */ ADV_OVERRUN_BSIZE,
|
|
|
|
/* nsegments */ 1,
|
|
|
|
/* maxsegsz */ BUS_SPACE_MAXSIZE_32BIT,
|
|
|
|
/* flags */ 0,
|
2012-10-12 21:31:44 +00:00
|
|
|
/* lockfunc */ NULL,
|
|
|
|
/* lockarg */ NULL,
|
2003-03-29 09:46:10 +00:00
|
|
|
&overrun_dmat) != 0) {
|
1998-09-15 07:03:43 +00:00
|
|
|
bus_dma_tag_destroy(adv->parent_dmat);
|
|
|
|
adv_free(adv);
|
2001-05-06 08:33:29 +00:00
|
|
|
bus_release_resource(dev, SYS_RES_IOPORT, rid, iores);
|
2000-04-07 11:32:42 +00:00
|
|
|
return ENXIO;
|
1998-09-15 07:03:43 +00:00
|
|
|
}
|
|
|
|
if (bus_dmamem_alloc(overrun_dmat,
|
2006-02-04 22:33:08 +00:00
|
|
|
&overrun_buf,
|
1998-09-15 07:03:43 +00:00
|
|
|
BUS_DMA_NOWAIT,
|
|
|
|
&overrun_dmamap) != 0) {
|
|
|
|
bus_dma_tag_destroy(overrun_dmat);
|
|
|
|
bus_dma_tag_destroy(adv->parent_dmat);
|
|
|
|
adv_free(adv);
|
2001-05-06 08:33:29 +00:00
|
|
|
bus_release_resource(dev, SYS_RES_IOPORT, rid, iores);
|
2000-04-07 11:32:42 +00:00
|
|
|
return ENXIO;
|
1998-09-15 07:03:43 +00:00
|
|
|
}
|
|
|
|
/* And permanently map it in */
|
|
|
|
bus_dmamap_load(overrun_dmat, overrun_dmamap,
|
|
|
|
overrun_buf, ADV_OVERRUN_BSIZE,
|
|
|
|
adv_map, &overrun_physbase,
|
|
|
|
/*flags*/0);
|
|
|
|
}
|
|
|
|
|
|
|
|
adv->overrun_physbase = overrun_physbase;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Stop the chip.
|
|
|
|
*/
|
|
|
|
ADV_OUTB(adv, ADV_CHIP_CTRL, ADV_CC_HALT);
|
|
|
|
ADV_OUTW(adv, ADV_CHIP_STATUS, 0);
|
|
|
|
|
|
|
|
adv->chip_version = ADV_INB(adv, ADV_NONEISA_CHIP_REVISION);
|
|
|
|
adv->type = ADV_PCI;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Setup active negation and signal filtering.
|
|
|
|
*/
|
|
|
|
{
|
|
|
|
u_int8_t extra_cfg;
|
|
|
|
|
|
|
|
if (adv->chip_version >= ADV_CHIP_VER_PCI_ULTRA_3150)
|
|
|
|
adv->type |= ADV_ULTRA;
|
2000-01-14 03:33:38 +00:00
|
|
|
if (adv->chip_version == ADV_CHIP_VER_PCI_ULTRA_3050)
|
1998-09-15 07:03:43 +00:00
|
|
|
extra_cfg = ADV_IFC_ACT_NEG | ADV_IFC_WR_EN_FILTER;
|
|
|
|
else
|
|
|
|
extra_cfg = ADV_IFC_ACT_NEG | ADV_IFC_SLEW_RATE;
|
|
|
|
ADV_OUTB(adv, ADV_REG_IFC, extra_cfg);
|
|
|
|
}
|
|
|
|
|
|
|
|
if (adv_init(adv) != 0) {
|
|
|
|
adv_free(adv);
|
2001-05-06 08:33:29 +00:00
|
|
|
bus_release_resource(dev, SYS_RES_IOPORT, rid, iores);
|
2000-04-07 11:32:42 +00:00
|
|
|
return ENXIO;
|
1998-09-15 07:03:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
adv->max_dma_count = ADV_PCI_MAX_DMA_COUNT;
|
|
|
|
adv->max_dma_addr = ADV_PCI_MAX_DMA_ADDR;
|
|
|
|
|
2005-12-04 02:12:43 +00:00
|
|
|
#if defined(CC_DISABLE_PCI_PARITY_INT) && CC_DISABLE_PCI_PARITY_INT
|
1998-12-07 21:58:50 +00:00
|
|
|
{
|
|
|
|
u_int16_t config_msw;
|
|
|
|
|
|
|
|
config_msw = ADV_INW(adv, ADV_CONFIG_MSW);
|
|
|
|
config_msw &= 0xFFC0;
|
|
|
|
ADV_OUTW(adv, ADV_CONFIG_MSW, config_msw);
|
|
|
|
}
|
1998-09-15 07:03:43 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
if (id == PCI_DEVICE_ID_ADVANSYS_1200A
|
|
|
|
|| id == PCI_DEVICE_ID_ADVANSYS_1200B) {
|
|
|
|
adv->bug_fix_control |= ADV_BUG_FIX_IF_NOT_DWB;
|
|
|
|
adv->bug_fix_control |= ADV_BUG_FIX_ASYN_USE_SYN;
|
|
|
|
adv->fix_asyn_xfer = ~0;
|
|
|
|
}
|
|
|
|
|
2001-05-06 08:33:29 +00:00
|
|
|
irqrid = 0;
|
2004-03-17 17:50:55 +00:00
|
|
|
irqres = bus_alloc_resource_any(dev, SYS_RES_IRQ, &irqrid,
|
|
|
|
RF_SHAREABLE | RF_ACTIVE);
|
2000-04-07 11:32:42 +00:00
|
|
|
if (irqres == NULL ||
|
2012-10-12 21:31:44 +00:00
|
|
|
bus_setup_intr(dev, irqres, INTR_TYPE_CAM|INTR_ENTROPY|INTR_MPSAFE,
|
|
|
|
NULL, adv_intr, adv, &ih) != 0) {
|
|
|
|
if (irqres != NULL)
|
|
|
|
bus_release_resource(dev, SYS_RES_IRQ, irqrid, irqres);
|
1998-09-15 07:03:43 +00:00
|
|
|
adv_free(adv);
|
2001-05-06 08:33:29 +00:00
|
|
|
bus_release_resource(dev, SYS_RES_IOPORT, rid, iores);
|
2000-04-07 11:32:42 +00:00
|
|
|
return ENXIO;
|
1998-09-15 07:03:43 +00:00
|
|
|
}
|
2000-04-07 11:32:42 +00:00
|
|
|
|
2012-10-12 21:31:44 +00:00
|
|
|
if (adv_attach(adv) != 0) {
|
|
|
|
bus_teardown_intr(dev, irqres, ih);
|
|
|
|
bus_release_resource(dev, SYS_RES_IRQ, irqrid, irqres);
|
|
|
|
adv_free(adv);
|
|
|
|
bus_release_resource(dev, SYS_RES_IOPORT, rid, iores);
|
|
|
|
return ENXIO;
|
|
|
|
}
|
2000-04-07 11:32:42 +00:00
|
|
|
return 0;
|
1998-09-15 07:03:43 +00:00
|
|
|
}
|
2000-04-07 11:32:42 +00:00
|
|
|
|
|
|
|
static device_method_t adv_pci_methods[] = {
|
|
|
|
/* Device interface */
|
|
|
|
DEVMETHOD(device_probe, adv_pci_probe),
|
|
|
|
DEVMETHOD(device_attach, adv_pci_attach),
|
|
|
|
{ 0, 0 }
|
|
|
|
};
|
|
|
|
|
|
|
|
static driver_t adv_pci_driver = {
|
|
|
|
"adv", adv_pci_methods, sizeof(struct adv_softc)
|
|
|
|
};
|
|
|
|
|
|
|
|
static devclass_t adv_pci_devclass;
|
|
|
|
DRIVER_MODULE(adv, pci, adv_pci_driver, adv_pci_devclass, 0, 0);
|
2006-12-11 18:28:31 +00:00
|
|
|
MODULE_DEPEND(adv, pci, 1, 1, 1);
|