From b62bbbcb76be3e67c17f092cb9f502d92548c14d Mon Sep 17 00:00:00 2001 From: Martin Dalecki Date: Wed, 27 Feb 2002 20:15:30 -0800 Subject: [PATCH] 2.5.6-pre1 IDE clean 13a This is finally moving the ide-pci.c file into a shape where the host chip detection lists can finally be moved to where they belong - into the particular chipset specific files. This is accomplished, by a rather obivous removal of macro magic, which was just making entries to the global device type list nonfunctional, instead of making them conditional on the corresponding CONFIG_BLHA options. The second thing was to add a flag field to the device recognition list, which made it possible to compress many of the multi || chip id conditionals go away. The only other file affected is ide.h - here is the change in the size of the name field, which apparently slipped through ide-clean-12... --- include/linux/ide.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/linux/ide.h b/include/linux/ide.h index a72fcbbc051c..c35f531eeb4e 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -551,7 +551,7 @@ typedef struct hwif_s { struct proc_dir_entry *proc; /* /proc/ide/ directory entry */ int irq; /* our irq number */ byte major; /* our major number */ - char name[6]; /* name of interface, eg. "ide0" */ + char name[80]; /* name of interface */ byte index; /* 0 for ide0; 1 for ide1; ... */ hwif_chipset_t chipset; /* sub-module for tuning.. */ unsigned noprobe : 1; /* don't probe for this interface */ -- cgit v1.2.3