[BACK]Return to opti621.h CVS log [TXT][DIR] Up to [Development] / linux-2.4-xfs / drivers / ide / pci

File: [Development] / linux-2.4-xfs / drivers / ide / pci / opti621.h (download)

Revision 1.1, Wed Dec 31 00:54:49 2003 UTC (13 years, 9 months ago) by cattelan
Branch: MAIN
CVS Tags: HEAD

Initial Import 2.4.24pre2

#ifndef OPTI621_H
#define OPTI621_H

#include <linux/config.h>
#include <linux/pci.h>
#include <linux/ide.h>

static void init_setup_opti621(struct pci_dev *, ide_pci_device_t *);
static void init_hwif_opti621(ide_hwif_t *);
static void init_dma_opti621(ide_hwif_t *, unsigned long);

static ide_pci_device_t opti621_chipsets[] __devinitdata = {
	{	/* 0 */
		.vendor		= PCI_VENDOR_ID_OPTI,
		.device		= PCI_DEVICE_ID_OPTI_82C621,
		.name		= "OPTI621",
		.init_setup	= init_setup_opti621,
		.init_chipset	= NULL,
		.init_iops	= NULL,
		.init_hwif	= init_hwif_opti621,
		.init_dma	= init_dma_opti621,
		.channels	= 2,
		.autodma	= AUTODMA,
		.enablebits	= {{0x45,0x80,0x00}, {0x40,0x08,0x00}},
		.bootable	= ON_BOARD,
		.extra		= 0,
	},{	/* 1 */
		.vendor		= PCI_VENDOR_ID_OPTI,
		.device		= PCI_DEVICE_ID_OPTI_82C825,
		.name		= "OPTI621X",
		.init_setup	= init_setup_opti621,
		.init_chipset	= NULL,
		.init_iops	= NULL,
		.init_hwif	= init_hwif_opti621,
                .init_dma	= init_dma_opti621,
		.channels	= 2,
		.autodma	= AUTODMA,
		.enablebits	= {{0x45,0x80,0x00}, {0x40,0x08,0x00}},
		.bootable	= ON_BOARD,
		.extra		= 0,
	},{
		.vendor		= 0,
		.device		= 0,
		.channels	= 0,
		.bootable	= EOL,
	}
};

#endif /* OPTI621_H */