public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Andrew Vasquez <andrew.vasquez@qlogic.com>
Cc: James Bottomley <James.Bottomley@SteelEye.com>,
	Linux-SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH 1/11]  qla2xxx: Add ISP24xx definitions.
Date: Tue, 14 Jun 2005 22:50:30 +0100	[thread overview]
Message-ID: <20050614215030.GA5849@infradead.org> (raw)
In-Reply-To: <20050614053141.12127.35841.sendpatchset@plap.qlogic.com>

> diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
> --- a/drivers/scsi/qla2xxx/qla_def.h
> +++ b/drivers/scsi/qla2xxx/qla_def.h
> @@ -62,6 +62,22 @@
>  #define PCI_DEVICE_ID_QLOGIC_ISP6322	0x6322
>  #endif
>  
> +#ifndef PCI_DEVICE_ID_QLOGIC_ISP2422
> +#define PCI_DEVICE_ID_QLOGIC_ISP2422	0x2422
> +#endif
> +
> +#ifndef PCI_DEVICE_ID_QLOGIC_ISP2432
> +#define PCI_DEVICE_ID_QLOGIC_ISP2432	0x2432
> +#endif
> +
> +#ifndef PCI_DEVICE_ID_QLOGIC_ISP2512
> +#define PCI_DEVICE_ID_QLOGIC_ISP2512	0x2512
> +#endif
> +
> +#ifndef PCI_DEVICE_ID_QLOGIC_ISP2522
> +#define PCI_DEVICE_ID_QLOGIC_ISP2522	0x2522
> +#endif

It's only an historic accident that the older ids are in here, care
to remove all and move them to pci_ids.h instead?

> +	int		(*start_scsi)(srb_t *);

umm, that's most of ->queuecommand, isn't it?  Shouldn't you define
a separate scsi_host_template for 24xx/25xx?

> +//ISP24xx

please try to avoid C++-style comments

> +	volatile uint16_t mailbox0;
> +	volatile uint16_t mailbox1;
> +	volatile uint16_t mailbox2;

never use volatile, always use proper kernel primitives to access
hardware or atomic_t for atomic in-kernel variables.


  reply	other threads:[~2005-06-14 21:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-14  5:31 [PATCH 0/11] qla2xxx: Add ISP24xx support Andrew Vasquez
2005-06-14  5:31 ` [PATCH 1/11] qla2xxx: Add ISP24xx definitions Andrew Vasquez
2005-06-14 21:50   ` Christoph Hellwig [this message]
2005-06-21 18:23     ` Andrew Vasquez
2005-06-14  5:31 ` [PATCH 2/11] qla2xxx: Add ISP24xx diagnostic routines Andrew Vasquez
2005-06-14  5:31 ` [PATCH 3/11] qla2xxx: Generalize SNS generic-services routines Andrew Vasquez
2005-06-14 21:50   ` Christoph Hellwig
2005-06-14  5:31 ` [PATCH 4/11] qla2xxx: Add MBX command routines for ISP24xx support Andrew Vasquez
2005-06-14 21:50   ` Christoph Hellwig
2005-06-14  5:32 ` [PATCH 5/11] qla2xxx: Add ISP24xx flash-manipulation routines Andrew Vasquez
2005-06-14  5:32 ` [PATCH 6/11] qla2xxx: Add ISP24xx IOCB manipulation routines Andrew Vasquez
2005-06-14 21:50   ` Christoph Hellwig
2005-06-14  5:32 ` [PATCH 7/11] qla2xxx: ISP24xx ISR routines Andrew Vasquez
2005-06-14  5:32 ` [PATCH 8/11] qla2xxx: Final glue-code for ISP24xx Andrew Vasquez
2005-06-14 21:50   ` Christoph Hellwig
2005-06-14  5:32 ` [PATCH 9/11] qla2xxx: NVRAM id-list updates Andrew Vasquez
2005-06-14  5:32 ` [PATCH 10/11] qla2xxx: Code scrubbing Andrew Vasquez
2005-06-14  5:32 ` [PATCH 11/11] qla2xxx: Firmware updates Andrew Vasquez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050614215030.GA5849@infradead.org \
    --to=hch@infradead.org \
    --cc=James.Bottomley@SteelEye.com \
    --cc=andrew.vasquez@qlogic.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox