From: "jameshsu" <jameshsu@mail.acard.com>
To: Matthew Wilcox <matthew@wil.cx>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
James.Bottomley@SteelEye.com,
Christoph Hellwig <hch@infradead.org>,
linux-scsi@vger.kernel.org,
EdwardLian <edwardlian@mail.acard.com>,
Jason Wu <jason_wu@acard.com>, Hill Wu <hillwu@acard.com>
Subject: Re: Fw: ACARD SCSI driver update for Linux kernel v2.6
Date: Wed, 30 Mar 2005 19:48:44 +0800 [thread overview]
Message-ID: <014201c5351e$70385c40$6200a8c0@jameshsu> (raw)
Hello Matthew/Allen,
Few weeks pass since we sent update driver for you to build-in in Jan 2005.
Latest, we test Linux kernel rev 2.6.11 and found the SCSI driver not
update yet.
Is it possible to let us know anything Acard are still missing or any rules
not follow??!!
When 2.6.12 will be released?? Should we wait and submit the patch files for
v2.6.12??
Back to Jan, we promise you we will have new driver to release.
We are ready now for v2.6.10. However we would like to know if anything else
needed to be updated or modified. Therefore we will know what is next step
Acard should go.
Thanks for you help!
Best regard,
James Hsu,
Manager,Engineering Testing Dept.
ACARD TECHNOLOGY CORP. http://www.acard.com.tw
Taipei Hsien,Taiwan
6F No78,Sec 1,Kwang Fu Road,Sang Chung,
(02)8512-2290 x 2311(O),(02)8512-1524(FAX)
E-mail:jameshsu@acard.com
----- Original Message -----
From: "jameshsu" <jameshsu@mail.acard.com>
To: "Matthew Wilcox" <matthew@wil.cx>
Cc: "Alan Cox" <alan@lxorguk.ukuu.org.uk>; <James.Bottomley@SteelEye.com>;
"Christoph Hellwig" <hch@infradead.org>; "Jason Wu" <jason_wu@acard.com>;
"EdwardLian" <edwardlian@mail.acard.com>; <linux-scsi@vger.kernel.org>
Sent: Wednesday, January 19, 2005 10:05 AM
Subject: Re: Fw: ACARD SCSI driver update for Linux kernel v2.6
> Hi all,
>
> We are in the process to make some change to meet your expectation ASAP.
> (e.g. (1) 2-d array => 1-d array (2) meet common coding style (3) 32-bit
DMA
> mask instead (4) PCI new device entry applied (5) use the PCI_DEVICE_ID_
> name instead)
> However, this is the revision we are sure it's working.
> Therefore, if this is possible, can you patch this file for v2.6.10 this
> time.
> Within 1-2 week from now, we will submit another patch file to fix above
> syntax issues if working smoothly.
> In the mean time, we also in the process to submit the new device entry
> (ATP880[AEC67160] LVD160 1 channel /ATP885[AEC67162] LVD160 2 channel)
> under Artop Electronics Corp.
> Thanks for your help!
>
> Best regards,
>
> James
> ----- Original Message -----
> From: "Matthew Wilcox" <matthew@wil.cx>
> To: "jameshsu" <jameshsu@mail.acard.com>
> Cc: "Alan Cox" <alan@lxorguk.ukuu.org.uk>; <James.Bottomley@SteelEye.com>;
> "Christoph Hellwig" <hch@infradead.org>; "Jason Wu" <jason_wu@acard.com>;
> "EdwardLian" <edwardlian@mail.acard.com>; <linux-scsi@vger.kernel.org>
> Sent: Saturday, January 15, 2005 1:44 AM
> Subject: Re: Fw: ACARD SCSI driver update for Linux kernel v2.6
>
>
> > On Fri, Jan 14, 2005 at 06:03:02PM +0800, jameshsu wrote:
> > > We, Acard, total understand what you suggest. (including advise from
> > > Christoph, James B. and Alan.)
> > > Therefore, we modify the internal code to create this patch file from
> kernel
> > > v2.6.10.
> > > However, as you see this is the smallest patch files which could be
> > > generated. (Sorry, unable to meet your expetation)
> > > The reason is : this driver could supports ATP870 as well as mutiples
of
> > > Acard's chipsets. (this includes ATP880(AEC67160) & ATP885(AEC67162)).
> This
> > > is why the patch files is huge than what you expected.
> > > We did not make any change for ATP870(AEC6712) on this rev.. Besides,
we
> > > reverse following codes according to all of your suggestions. Please
> review
> > > and let me know if this is feasible. Welcome to any of question you
may
> > > have.
> > > Thanks for your help!
> >
> > The change to pci.ids needs to be handled through pciids.sourceforge.net
> >
> > ----
> >
> > I really don't like the:
> > + atp_dev.ioport[0] = base_io + 0x80;
> > + atp_dev.ioport[1] = base_io + 0xc0;
> >
> > Just record base_io in your atp_dev. I don't like the way this patch
> > turns everything into a 2-d array ... surely there has to be a better
> > way to do it than this?
> >
> > ----
> >
> > + if (dev->dev_id == ATP885_DEVID) {
> > + tmpcip += 2;
> > + outb(0x06, tmpcip);
> > + tmpcip -= 2;
> >
> > would be much better written as:
> >
> > if (dev->dev_id == ATP885_DEVID)
> > outb(0x06, tmpcip+2);
> >
> > (hmm, this seems to be common coding style throughout the driver ...)
> >
> > ----
> >
> > - if (pci_set_dma_mask(dev, 0xFFFFFFFFUL)) {
> > - printk(KERN_ERR "atp870u: 32bit DMA mask required but
not
> availa
> > ble.\n");
> > - return -EIO;
> > - }
> > + if (!pci_set_dma_mask(pdev, 0xFFFFFFUL)) {
> > + printk(KERN_INFO "atp870u: use 32bit DMA mask.\n");
> > + } else {
> > + printk(KERN_ERR "atp870u: DMA mask required but not
> available.\
> > n");
> > + return -EIO;
> > + }
> >
> > You've actually set a 24-bit DMA mask there. Should use the symbolic
> > constant DMA_32BIT_MASK anyway.
> >
> > ----
> >
> > + { PCI_DEVICE(PCI_VENDOR_ID_ARTOP,
> },
> >
> > Please use the PCI_DEVICE_ID_ name instead
> >
> > ----
> >
> >
> >
> > --
> > "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
> >
>
next reply other threads:[~2005-03-30 11:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-30 11:48 jameshsu [this message]
2005-03-30 12:45 ` Fw: ACARD SCSI driver update for Linux kernel v2.6 Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2005-01-14 10:03 jameshsu
2005-01-14 17:44 ` Matthew Wilcox
2005-01-19 2:05 ` jameshsu
2004-12-30 9:58 jameshsu
2004-12-30 15:20 ` James Bottomley
2005-01-06 23:10 ` Alan Cox
2005-01-07 10:05 ` jameshsu
2005-01-07 10:11 ` Christoph Hellwig
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='014201c5351e$70385c40$6200a8c0@jameshsu' \
--to=jameshsu@mail.acard.com \
--cc=James.Bottomley@SteelEye.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=edwardlian@mail.acard.com \
--cc=hch@infradead.org \
--cc=hillwu@acard.com \
--cc=jason_wu@acard.com \
--cc=linux-scsi@vger.kernel.org \
--cc=matthew@wil.cx \
/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