Removed the old (and nowadays unused) addons directory and related headers.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11915 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-03-19 02:35:40 +00:00
parent b5f8ce37cc
commit 1ff0923db6
12 changed files with 0 additions and 2103 deletions
-39
View File
@@ -1,39 +0,0 @@
/*
** Copyright 2001, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License.
*/
#ifndef KERNEL_BUS_H
#define KERNEL_BUS_H
#include <module.h>
struct kernel_args;
int bus_init(struct kernel_args *ka);
int bus_man_init(struct kernel_args *ka);
int bus_register_bus(const char *path);
typedef struct id_list {
uint32 num_ids;
uint32 id[0];
} id_list;
#define MAX_DEV_IO_RANGES 8
typedef struct device {
uint32 vendor_id;
uint32 device_id;
uint32 irq;
addr_t base[MAX_DEV_IO_RANGES];
addr_t size[MAX_DEV_IO_RANGES];
char dev_path[256];
} device;
int bus_find_device(int n, id_list *vendor_ids, id_list *device_ids, device *dev);
#endif /* KERNEL_BUS_H */
-58
View File
@@ -1,58 +0,0 @@
/*
** Copyright 2002, Thomas Kurschel. All rights reserved.
** Distributed under the terms of the NewOS License.
*/
// this is not to be taken seriously - it's just a simple module
#ifndef __ISA_H__
#define __ISA_H__
#include <module.h>
#include <bus.h>
#define ISA_MODULE_NAME "bus_managers/isa/v1"
typedef struct {
ulong address; /* memory address (little endian!) 4 bytes */
ushort transfer_count; /* # transfers minus one (little endian!) 2 bytes*/
uchar reserved; /* filler, 1byte*/
uchar flag; /* end of link flag, 1byte */
} isa_dma_entry;
typedef struct {
bus_manager_info binfo;
uint8 (*read_io_8) (int mapped_io_addr);
void (*write_io_8) (int mapped_io_addr, uint8 value);
uint16 (*read_io_16) (int mapped_io_addr);
void (*write_io_16) (int mapped_io_addr, uint16 value);
uint32 (*read_io_32) (int mapped_io_addr);
void (*write_io_32) (int mapped_io_addr, uint32 value);
void *(*ram_address) (const void *physical_address_in_system_memory);
long (*make_isa_dma_table) (
const void *buffer, /* buffer to make a table for */
long buffer_size, /* buffer size */
ulong num_bits, /* dma transfer size that will be used */
isa_dma_entry *table, /* -> caller-supplied scatter/gather table */
long num_entries /* max # entries in table */
);
long (*start_isa_dma) (
long channel, /* dma channel to use */
void *buf, /* buffer to transfer */
long transfer_count, /* # transfers */
uchar mode, /* mode flags */
uchar e_mode /* extended mode flags */
);
long (*start_scattered_isa_dma) (
long channel, /* channel # to use */
const isa_dma_entry *table, /* physical address of scatter/gather table */
uchar mode, /* mode flags */
uchar emode /* extended mode flags */
);
long (*lock_isa_dma_channel) (long channel);
long (*unlock_isa_dma_channel) (long channel);
} isa_bus_manager;
#endif