OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [drivers/] [ide/] [pci/] [opti621.h] - Rev 1765

Compare with Previous | Blame | View Log

#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 */
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.