mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-05-21 12:07:46 +00:00
[IA64-SGI] fix sn_pci_legacy_read/fix sn_pci_legacy_write
This patch adds a #define for SN_SAL_IOIF_PCI_SAFE and makes that the preferred method of implementing sn_pci_legacy_read() and sn_pci_legacy_write(). This SAL call has been present in SGI proms since version 4.10. If the SN_SAL_IOIF_PCI_SAFE call fails, revert to the previous code for compatability with older proms. Signed-off-by: Mark Maule <maule@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
#define SN_SAL_IOIF_INTERRUPT 0x0200004a
|
||||
#define SN_SAL_HWPERF_OP 0x02000050 // lock
|
||||
#define SN_SAL_IOIF_ERROR_INTERRUPT 0x02000051
|
||||
|
||||
#define SN_SAL_IOIF_PCI_SAFE 0x02000052
|
||||
#define SN_SAL_IOIF_SLOT_ENABLE 0x02000053
|
||||
#define SN_SAL_IOIF_SLOT_DISABLE 0x02000054
|
||||
#define SN_SAL_IOIF_GET_HUBDEV_INFO 0x02000055
|
||||
|
||||
Reference in New Issue
Block a user