Skip to contentSkip to conversation

scsi LLD alpha ordering

PATCH/RFC Randy.Dunlap 2 participants 3 messages Jun 27, 2004 – Jun 28, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

linux-267-bk10

1. Puts SCSI drivers in more alpha order, but not totally, because some of the platform-specific drivers are still grouped together.
2. scsi/arm/Kconfig used a comment:
"The following drivers are not fully supported"
This patch adds an ending comment:
"End of drivers not fully supported"
so that someone reading the menu can know the end of the unsupported drivers list.
3. Adds a "Platform/Machine-specific drivers" comment before the platform-specific drivers are lsited.

diffstat:=

 drivers/scsi/Kconfig     |  585 +++++++++++++++++++++++------------------------
 drivers/scsi/arm/Kconfig |    3 
 2 files changed, 297 insertions(+), 291 deletions(-)
drivers/scsi/arm/Kconfig renamed from drivers/scsi/arm/Kconfig~scsi_menu +3 -0
diff -Naurp ./drivers/scsi/arm/Kconfig~scsi_menu ./drivers/scsi/arm/Kconfig
@@ -87,3 +87,6 @@ config SCSI_OAK1
 	  This enables support for the Oak SCSI card. If you have an Acorn
 	  system with one of these, say Y. If unsure, say N.
 
+comment "End of drivers not fully supported"
+	depends on ARCH_ACORN && EXPERIMENTAL
+
drivers/scsi/Kconfig renamed from drivers/scsi/Kconfig~scsi_menu +294 -291

702 lines not on this page · raw message

--

#1 lore raw
Quoted 11 lines · Randy.Dunlap

1. Puts SCSI drivers in more alpha order, but not totally, because some of the platform-specific drivers are still grouped together.
2. scsi/arm/Kconfig used a comment:
"The following drivers are not fully supported"
This patch adds an ending comment:
"End of drivers not fully supported"
so that someone reading the menu can know the end of the unsupported drivers list.
3. Adds a "Platform/Machine-specific drivers" comment before the platform-specific drivers are lsited.

Well, you made a mistake with (3) -- The SCSI_LASI700 driver (depends on GSC) is platform specific.

More generally, I don't think we have any kind of consensus on how to organise this menu. I'd like to see it organised by manufacturer (Adaptec, NCR/Symbios/LSI, Qlogic, etc), but I know not everyone agrees. Possibly the categories should be FC, parallel SCSI, serial ATA and then alphabetically within those categories.

I also don't think that the Transport Attributes menu needs to be alphabetical. I'd be amazed if anyone actually used it. Come to think of it, why are these user-selectable? Surely they should be _only_ implied by the drivers that use them? If we do need to keep it, I think the question needs to be rephrased -- Parallel SCSI sounds like SCSI devices attached to the parallel port (eg Iomega ZIP). Maybe "Normal SCSI Transport Attributes" or "Regular" or "Legacy" or "Antique" would be better ;-)

Signature · 6 lines
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain
#2 lore raw

On Sun, 27 Jun 2004 23:26:37 +0100 Matthew Wilcox wrote:

| On Sun, Jun 27, 2004 at 12:41:06PM -0700, Randy.Dunlap wrote:
| > 1.  Puts SCSI drivers in more alpha order, but not totally,
| > because some of the platform-specific drivers are still grouped
| > together.
| > 2.  scsi/arm/Kconfig used a comment:
| >   "The following drivers are not fully supported"
| > This patch adds an ending comment:
| >   "End of drivers not fully supported"
| > so that someone reading the menu can know the end of the
| > unsupported drivers list.
| > 3.  Adds a "Platform/Machine-specific drivers" comment before
| > the platform-specific drivers are lsited.
| 
| Well, you made a mistake with (3) -- The SCSI_LASI700 driver (depends
| on GSC) is platform specific.

Yeah, I noticed that. It was more of a "legacy" thing (i.e., leave it where it is), but I'll gladly move it.

| More generally, I don't think we have any kind of consensus on how
| to organise this menu.  I'd like to see it organised by manufacturer
| (Adaptec, NCR/Symbios/LSI, Qlogic, etc), but I know not everyone agrees.
| Possibly the categories should be FC, parallel SCSI, serial ATA and then
| alphabetically within those categories.

Yes, that's the real question here. Right now they begin as alpha by manufacturer (almost), then there are some platform-specific drivers mixed in, then there is a large mixmash of platform-specific drivers...

| I also don't think that the Transport Attributes menu needs to be
| alphabetical.  I'd be amazed if anyone actually used it.  Come to think
| of it, why are these user-selectable?  Surely they should be _only_
| implied by the drivers that use them?  If we do need to keep it, I think
| the question needs to be rephrased -- Parallel SCSI sounds like SCSI
| devices attached to the parallel port (eg Iomega ZIP).  Maybe "Normal
| SCSI Transport Attributes" or "Regular" or "Legacy" or "Antique" would
| be better ;-)

I dunno. Maybe SCSI-1/2/3 ? but I'll just drop that part of the patch.

--
~Randy