[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/39659: ahci sata driver does not work on big endian system
>Synopsis: ahci sata driver does not work on big endian system
>Arrival-Date: Tue Sep 30 17:35:00 +0000 2008
>Originator: Chris Zhang
When testing on a PPC440 based system using NetBSD 4.0 (with customized BSP), I
realized the Ahci driver does work (identify device would return garbage).
Later investigation shows, the ahcisata_core.c does not snoop the
IDENTIFY_DEVICE command and byte swap on big endian system as it does in
sys/dev/ic/wdc.c. We added some code in ahcisata_core.c to do the same as wdc.c
and it appears to work fine.
Try to plug in any AHCI PCI sata controller on a big endian system and watch if
the SATA disk is identified.
Main Index |
Thread Index |