summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/shared/pci/pcibios.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-03-02 13:30:27 -0600
committerJoel Sherrill <joel@rtems.org>2016-03-10 10:26:49 -0600
commit8ce16a4766531b66427df97f2f9b0b025cc1eb08 (patch)
tree1d05abe59ae516e51e8eb183ebae3621b0d3c85b /c/src/lib/libbsp/i386/shared/pci/pcibios.c
parentpc386: Eliminate pcibios.h and begin removal obsolete PCI BIOS API uses (diff)
downloadrtems-8ce16a4766531b66427df97f2f9b0b025cc1eb08.tar.bz2
i386/shared/pci/pcibios.c: Remove unused pcib_special_cycle()
Diffstat (limited to 'c/src/lib/libbsp/i386/shared/pci/pcibios.c')
-rw-r--r--c/src/lib/libbsp/i386/shared/pci/pcibios.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/c/src/lib/libbsp/i386/shared/pci/pcibios.c b/c/src/lib/libbsp/i386/shared/pci/pcibios.c
index ec19bb3732..48c2c60056 100644
--- a/c/src/lib/libbsp/i386/shared/pci/pcibios.c
+++ b/c/src/lib/libbsp/i386/shared/pci/pcibios.c
@@ -288,36 +288,6 @@ pci_bus_count(void)
}
/*
- * Generate Special Cycle
- */
-int
-pcib_special_cycle(int busNo, int data)
-{
- if (!pcibInitialized) {
- return PCIB_ERR_UNINITIALIZED;
- }
-
- pcibExchg[0] = pcibEntry;
- pcibExchg[1] = busNo << 8;
- pcibExchg[2] = data;
-
- __asm__ (" pusha");
- __asm__ (" movl pcibExchg, %edi");
- __asm__ (" movb $0xb1, %ah");
- __asm__ (" movb $0x06, %al");
- __asm__ (" movl pcibExchg+4, %ebx");
- __asm__ (" movl pcibExchg+8, %edx");
- __asm__ (" pushl %cs");
- __asm__ (" call *%edi");
- __asm__ (" movl %eax, pcibExchg");
- __asm__ (" movl %ebx, pcibExchg+4");
- __asm__ (" popa");
-
- return pcib_convert_err((pcibExchg[0] >> 8) & 0xff);
-}
-
-
-/*
* Read byte from config space
*/
static int