00001
00010
00011
00012
00013
00014
00015
00016 #include <l4/env/errno.h>
00017 #include <l4/sys/types.h>
00018 #include <l4/generic_io/types.h>
00019 #include <l4/generic_io/generic_io-server.h>
00020
00021
00022 #include "pci.h"
00023
00024
00038 long
00039 l4_io_pci_find_device_component (CORBA_Object _dice_corba_obj,
00040 unsigned short vendor_id,
00041 unsigned short device_id,
00042 l4_io_pdev_t start_at,
00043 l4_io_pci_dev_t *pci_dev,
00044 CORBA_Server_Environment *_dice_corba_env)
00045 {
00046 return -L4_EINVAL;
00047 }
00048
00061 long
00062 l4_io_pci_find_slot_component (CORBA_Object _dice_corba_obj,
00063 unsigned long bus,
00064 unsigned long slot,
00065 l4_io_pci_dev_t *pci_dev,
00066 CORBA_Server_Environment *_dice_corba_env)
00067 {
00068 return -L4_EINVAL;
00069 }
00070
00083 long
00084 l4_io_pci_find_class_component (CORBA_Object _dice_corba_obj,
00085 unsigned long class_id,
00086 l4_io_pdev_t start_at,
00087 l4_io_pci_dev_t *pci_dev,
00088 CORBA_Server_Environment *_dice_corba_env)
00089 {
00090 return -L4_EINVAL;
00091 }
00092
00105 long
00106 l4_io_pci_read_config_byte_component (CORBA_Object _dice_corba_obj,
00107 l4_io_pdev_t pdev,
00108 long offset,
00109 unsigned char *val,
00110 CORBA_Server_Environment *_dice_corba_env)
00111 {
00112 return -L4_EINVAL;
00113 }
00114
00127 long
00128 l4_io_pci_read_config_word_component (CORBA_Object _dice_corba_obj,
00129 l4_io_pdev_t pdev,
00130 long offset,
00131 unsigned short *val,
00132 CORBA_Server_Environment *_dice_corba_env)
00133 {
00134 return -L4_EINVAL;
00135 }
00136
00149 long
00150 l4_io_pci_read_config_dword_component (CORBA_Object _dice_corba_obj,
00151 l4_io_pdev_t pdev,
00152 long offset,
00153 l4_uint32_t *val,
00154 CORBA_Server_Environment *_dice_corba_env)
00155 {
00156 return -L4_EINVAL;
00157 }
00158
00171 long
00172 l4_io_pci_write_config_byte_component (CORBA_Object _dice_corba_obj,
00173 l4_io_pdev_t pdev,
00174 long offset,
00175 unsigned char val,
00176 CORBA_Server_Environment *_dice_corba_env)
00177 {
00178 return -L4_EINVAL;
00179 }
00180
00193 long
00194 l4_io_pci_write_config_word_component (CORBA_Object _dice_corba_obj,
00195 l4_io_pdev_t pdev,
00196 long offset,
00197 unsigned short val,
00198 CORBA_Server_Environment *_dice_corba_env)
00199 {
00200 return -L4_EINVAL;
00201 }
00202
00215 long
00216 l4_io_pci_write_config_dword_component (CORBA_Object _dice_corba_obj,
00217 l4_io_pdev_t pdev,
00218 long offset,
00219 unsigned long val,
00220 CORBA_Server_Environment *_dice_corba_env)
00221 {
00222 return -L4_EINVAL;
00223 }
00224
00235 long
00236 l4_io_pci_enable_device_component (CORBA_Object _dice_corba_obj,
00237 l4_io_pdev_t pdev,
00238 CORBA_Server_Environment *_dice_corba_env)
00239 {
00240 return -L4_EINVAL;
00241 }
00242
00253 long
00254 l4_io_pci_disable_device_component (CORBA_Object _dice_corba_obj,
00255 l4_io_pdev_t pdev,
00256 CORBA_Server_Environment *_dice_corba_env)
00257 {
00258 return -L4_EINVAL;
00259 }
00260
00271 long
00272 l4_io_pci_set_master_component (CORBA_Object _dice_corba_obj,
00273 l4_io_pdev_t pdev,
00274 CORBA_Server_Environment *_dice_corba_env)
00275 {
00276 return -L4_EINVAL;
00277 }
00278
00291 long
00292 l4_io_pci_set_power_state_component (CORBA_Object _dice_corba_obj,
00293 l4_io_pdev_t pdev,
00294 int *state,
00295 CORBA_Server_Environment *_dice_corba_env)
00296 {
00297 return -L4_EINVAL;
00298 }
00299
00307 int io_pci_init(int list)
00308 {
00309
00310 return 0;
00311 }