Re: [PATCH 2.6.14-rc2 0/2] libata: Marvell SATA support (v0.23-0.24)

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

 



Bogdan Costescu wrote:
mv_phy_reset: ENTER, port 0, mmio 0xf8a22000
mv_phy_reset: S-regs after ATA_RST: SStat 0x00000000 SErr 0x00000000 SCtrl 0x00000000 mv_phy_reset: S-regs after PHY wake: SStat 0x00000000 SErr 0x00000000 SCtrl 0x00000000
ata3: no device found (phy stat 00000000)
scsi2 : sata_mv
mv_phy_reset: ENTER, port 1, mmio 0xf8a24000
mv_phy_reset: S-regs after ATA_RST: SStat 0x00000000 SErr 0x00000000 SCtrl 0x00000000 mv_phy_reset: S-regs after PHY wake: SStat 0x00000000 SErr 0x00000000 SCtrl 0x00000000
ata4: no device found (phy stat 00000000)
scsi3 : sata_mv
mv_phy_reset: ENTER, port 2, mmio 0xf8a26000
mv_phy_reset: S-regs after ATA_RST: SStat 0x00000000 SErr 0x00000000 SCtrl 0x00000000 mv_phy_reset: S-regs after PHY wake: SStat 0x00000000 SErr 0x00000000 SCtrl 0x00000000
ata5: no device found (phy stat 00000000)
scsi4 : sata_mv
mv_phy_reset: ENTER, port 3, mmio 0xf8a28000
mv_phy_reset: S-regs after ATA_RST: SStat 0x00000000 SErr 0x00000000 SCtrl 0x00000000 mv_phy_reset: S-regs after PHY wake: SStat 0x00000000 SErr 0x00000000 SCtrl 0x00000000
ata6: no device found (phy stat 00000000)
scsi5 : sata_mv

Staring at the docs a bit, I notice that the 50xx and 60xx have SATA S{status,control,error} registers at different locations.

50xx:

	SStatus:
	SATAHC0 0x20100 0x20200 0x20300 0x20400
	SATAHC1 0x30100 0x30200 0x30300 0x30400

	SError:
	SStatus addr + 4

	SControl:
	SStatus addr + 8

60xx:

	SStatus:
	SATAHC0 0x22300 0x24300 0x26300 0x28300
	SATAHC1 0x32300 0x34300 0x36300 0x38300

	SError:
	SStatus addr + 4

	SControl:
	SStatus addr + 8

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux