From: Andrew Vasquez <andrew.vasquez@qlogic.com>
To: Christoph Hellwig <hch@infradead.org>
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, 21 Jun 2005 11:23:05 -0700 [thread overview]
Message-ID: <20050621182305.GC7510@plap.qlogic.org> (raw)
In-Reply-To: <20050614215030.GA5849@infradead.org>
On Tue, 14 Jun 2005, Christoph Hellwig wrote:
> > +#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.
No problem. I'll have another patchset which hopefully addresses the
concerns and with a bit of additional testing in the next week or so.
Thanks,
Andrew
next prev parent reply other threads:[~2005-06-21 18:23 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
2005-06-21 18:23 ` Andrew Vasquez [this message]
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=20050621182305.GC7510@plap.qlogic.org \
--to=andrew.vasquez@qlogic.com \
--cc=James.Bottomley@SteelEye.com \
--cc=hch@infradead.org \
--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