/tmp/l4check/full_tree/trunk/l4/pkg/generic_io/lib/clientlib/pci.c File Reference

L4Env I/O Client Library PCI Support Wrapper. More...

#include <l4/sys/types.h>
#include <l4/env/errno.h>
#include <l4/generic_io/libio.h>
#include "internal.h"
#include "__macros.h"

Go to the source code of this file.

Functions

One-to-one Mapping of PCI library to IDL functions w/ error handling
int l4io_pci_find_slot (unsigned int bus, unsigned int slot, l4io_pci_dev_t *pci_dev)
int l4io_pci_find_device (unsigned short vendor, unsigned short device, l4io_pdev_t start, l4io_pci_dev_t *pci_dev)
int l4io_pci_find_class (unsigned long class, l4io_pdev_t start, l4io_pci_dev_t *pci_dev)
int l4io_pci_readb_cfg (l4io_pdev_t pdev, int pos, l4_uint8_t *val)
int l4io_pci_readw_cfg (l4io_pdev_t pdev, int pos, l4_uint16_t *val)
int l4io_pci_readl_cfg (l4io_pdev_t pdev, int pos, l4_uint32_t *val)
int l4io_pci_writeb_cfg (l4io_pdev_t pdev, int pos, l4_uint8_t val)
int l4io_pci_writew_cfg (l4io_pdev_t pdev, int pos, l4_uint16_t val)
int l4io_pci_writel_cfg (l4io_pdev_t pdev, int pos, l4_uint32_t val)
int l4io_pci_enable (l4io_pdev_t pdev)
int l4io_pci_disable (l4io_pdev_t pdev)
void l4io_pci_set_master (l4io_pdev_t pdev)
int l4io_pci_set_pm (l4io_pdev_t pdev, int state)


Detailed Description

L4Env I/O Client Library PCI Support Wrapper.

Date:
05/28/2003
Author:
Christian Helmuth <ch12@os.inf.tu-dresden.de>

Definition in file pci.c.


generic_io, written by Christian Helmuth  © 2003 Technische Universitaet Dresden