RE: [patch 08/20] drivers/ata: remove the wildcard from sata_nv driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As following, the scr registers' offset in sata_nv driver is 0x0 & 0x40,
but offset 0x0 in BAR5 memory map of AHCI controller is 'HBA
Capabilities register', the value of this register make the driver
believe there is always a HD drive being connected to port0,so error
happen.
==============================================
	NV_PORT0_SCR_REG_OFFSET		= 0x00,
	NV_PORT1_SCR_REG_OFFSET		= 0x40, 


BRs
Peer Chen

-----Original Message-----
From: Tejun Heo [mailto:htejun@xxxxxxxxx] 
Sent: Monday, May 14, 2007 5:29 PM
To: Peer Chen
Cc: akpm@xxxxxxxxxxxxxxxxxxxx; jeff@xxxxxxxxxx;
linux-ide@xxxxxxxxxxxxxxx
Subject: Re: [patch 08/20] drivers/ata: remove the wildcard from sata_nv
driver

Hello,

Peer Chen wrote:
> Tejun,
> The future nvidia chips are all base on AHCI and also they can support
> compatible mode,but current sata_nv have the bug with compatible mode
> for AHCI controller,we need to modify the sata_nv driver then submit
the
> patch.

Yes, please do that.

> Before that,if users load the sata_nv driver for our AHCI
> controllers,they will encounter that bug.

What kind of bug are we talking about?

Thanks.

-- 
tejun
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux