summaryrefslogtreecommitdiff
path: root/hw/xfree86/int10/xf86int10.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-01-15 11:38:22 -0800
committerIan Romanick <idr@us.ibm.com>2007-01-15 11:38:22 -0800
commitd8bd0c41de11d12976a5ea9f185b7ac6c7060b71 (patch)
tree20dc40f04ac427352cf92e72c40e9cebe2ddbf7a /hw/xfree86/int10/xf86int10.c
parenta87af8218f97da76433a5192d5e51aca0d5c3ed0 (diff)
Convert to new pci_device_cfg_write_u* interface.
Diffstat (limited to 'hw/xfree86/int10/xf86int10.c')
-rw-r--r--hw/xfree86/int10/xf86int10.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/xfree86/int10/xf86int10.c b/hw/xfree86/int10/xf86int10.c
index 1b58b923d..535978b89 100644
--- a/hw/xfree86/int10/xf86int10.c
+++ b/hw/xfree86/int10/xf86int10.c
@@ -769,7 +769,7 @@ int1A_handler(xf86Int10InfoPtr pInt)
return 1;
case 0xb10b:
if ((dev = findPci(pInt, X86_EBX)) != NULL) {
- pci_device_cfg_write_u8(dev, & X86_CL, X86_EDI);
+ pci_device_cfg_write_u8(dev, X86_CL, X86_EDI);
X86_EAX = X86_AL | (SUCCESSFUL << 8);
X86_EFLAGS &= ~((unsigned long)0x01); /* clear carry flag */
} else {
@@ -782,7 +782,7 @@ int1A_handler(xf86Int10InfoPtr pInt)
return 1;
case 0xb10c:
if ((dev = findPci(pInt, X86_EBX)) != NULL) {
- pci_device_cfg_write_u16(dev, & X86_CX, X86_EDI);
+ pci_device_cfg_write_u16(dev, X86_CX, X86_EDI);
X86_EAX = X86_AL | (SUCCESSFUL << 8);
X86_EFLAGS &= ~((unsigned long)0x01); /* clear carry flag */
} else {
@@ -795,7 +795,7 @@ int1A_handler(xf86Int10InfoPtr pInt)
return 1;
case 0xb10d:
if ((dev = findPci(pInt, X86_EBX)) != NULL) {
- pci_device_cfg_write_u32(dev, & X86_ECX, X86_EDI);
+ pci_device_cfg_write_u32(dev, X86_ECX, X86_EDI);
X86_EAX = X86_AL | (SUCCESSFUL << 8);
X86_EFLAGS &= ~((unsigned long)0x01); /* clear carry flag */
} else {