]> git.proxmox.com Git - qemu.git/commit - hw/gt64xxx.c
GT64XXX: fix endianness issues:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 10 Mar 2008 00:12:14 +0000 (00:12 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 10 Mar 2008 00:12:14 +0000 (00:12 +0000)
commitc6c99c3f175fa3f7e0d27c57c32b7029648a7407
treef9a43b07daf05343dbf2d6b25ed22785329b3a82
parent5567025f5352b7177f7040f40c200c6a66aa1cd2
GT64XXX: fix endianness issues:

- Byte swapping for internal GT64XXX registers is controlled by the bit
  12 of the Configuration Register and not by the PCI Internal Command
  register.
- The bit 0 of the PCI Internal Command register controls byte swapping
  for PCI access *except for the internal PCI device*, that is when both
  bus and device numbers are 0.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4035 c046a42c-6fe2-441c-8c8c-71466251a162
hw/gt64xxx.c