]>
git.ipfire.org Git - thirdparty/pciutils.git/blob - lib/syscalls.c
2 * $Id: syscalls.c,v 1.1 1999/01/22 21:05:42 mj Exp $
4 * The PCI Library -- Configuration Access via Syscalls
6 * Copyright (c) 1997--1999 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
8 * Can be freely distributed and used under the terms of the GNU GPL.
14 sysc_detect(struct pci_access
*a
)
20 sysc_init(struct pci_access
*a
)
25 sysc_cleanup(struct pci_access
*a
)
30 sysc_read(struct pci_dev
*d
, int pos
, byte
*buf
, int len
)
36 sysc_write(struct pci_dev
*d
, int pos
, byte
*buf
, int len
)
41 struct pci_methods pm_syscalls
= {
48 pci_generic_fill_info
,
52 NULL
/* cleanup_dev */