Raise LIBASS_VERSION, forgotten in r31293.
[mplayer/glamo.git] / vidix / sysdep / pci_powerpc.c
blobcda750b153e5e88b27eb124abb368a91e2081319
1 /*
2 This file is based on:
3 $XFree86: xc/programs/Xserver/hw/xfree86/etc/scanpci.c,v 3.34.2.17 1998/11/10 11:55:40 dawes Exp $
4 Modified for readability by Nick Kurshev
5 */
7 #if defined(Lynx) || defined(__OpenBSD__)
8 static int pci_config_type( void ) { return 1; }
10 static int pci_get_vendor(
11 unsigned char bus,
12 unsigned char dev,
13 int func)
15 int retval;
16 pciconfig_read(bus, dev<<3, PCI_ID_REG, 4, &retval);
17 return retval;
20 static long pci_config_read_long(
21 unsigned char bus,
22 unsigned char dev,
23 int func,
24 unsigned cmd)
26 long retval;
27 pciconfig_read(bus, dev<<3, cmd, 4, &retval);
28 return retval;
30 #endif /*Lynx/OpenBSD*/