Re: [PATCH] hptiop: adding new firmware interface and more PCI device IDs

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: HighPoint Linux Team <linux@...>
Cc: Andrew Morton <akpm@...>, <linux-scsi@...>, <linux-kernel@...>, <James.Bottomley@...>
Date: Wednesday, August 29, 2007 - 6:39 am

HighPoint Linux Team wrote:
[...]

Rather than repeating this test, you should do it once at probe time, 
and set a "new interface" single-bit flag in some hptiop_hba field.

Less maintenance intensive, less prone to error, and removes expensive 
tests from the driver hotpath.



Using the PCI_VDEVICE() macro can make this even shorter:

	{ PCI_VDEVICE(TTI, 0x4320) }

Regards,

	Jeff


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] hptiop: adding new firmware interface and more PCI d..., HighPoint Linux Team, (Wed Aug 29, 3:10 am)
Re: [PATCH] hptiop: adding new firmware interface and more P..., Jeff Garzik, (Wed Aug 29, 6:39 am)
[PATCH] hptiop: avoid buffer overflow when returning sense d..., HighPoint Linux Team, (Mon Oct 15, 2:42 am)
Re: [PATCH] hptiop: avoid buffer overflow when returning sen..., HighPoint Linux Team, (Mon Oct 15, 3:48 am)
[PATCH/RESENT] hptiop: adding new firmware interface and mor..., HighPoint Linux Team, (Thu Aug 30, 6:06 am)