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

File: [Development] / linux-2.6-xfs / drivers / ide / pci / Attic / hpt34x.h (download)

Revision 1.3, Fri Mar 12 06:17:49 2004 UTC (13 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.2: +0 -18 lines

Merge up to 2.6.4

#ifndef HPT34X_H
#define HPT34X_H

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

#define HPT343_DEBUG_DRIVE_INFO		0

#ifndef SPLIT_BYTE
#define SPLIT_BYTE(B,H,L)	((H)=(B>>4), (L)=(B-((B>>4)<<4)))
#endif

#undef DISPLAY_HPT34X_TIMINGS

static unsigned int init_chipset_hpt34x(struct pci_dev *, const char *);
static void init_hwif_hpt34x(ide_hwif_t *);

static ide_pci_device_t hpt34x_chipsets[] __devinitdata = {
	{	/* 0 */
		.vendor		= PCI_VENDOR_ID_TTI,
		.device		= PCI_DEVICE_ID_TTI_HPT343,
		.name		= "HPT34X",
		.init_chipset	= init_chipset_hpt34x,
		.init_iops	= NULL,
		.init_hwif	= init_hwif_hpt34x,
		.channels	= 2,
		.autodma	= NOAUTODMA,
		.enablebits	= {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
		.bootable	= NEVER_BOARD,
		.extra		= 16
	},{
		.vendor		= 0,
		.device		= 0,
		.channels	= 0,
		.bootable	= EOL,
	}
};

#endif /* HPT34X_H */