Initial commit
[wrt350n-kernel.git] / include / asm-arm / arch-ks8695 / devices.h
blobb0364dce463fd82f3ef1055e392e51a4da029d50
1 /*
2 * include/asm-arm/arch-ks8695/devices.h
4 * Copyright (C) 2006 Andrew Victor
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
11 #ifndef __ASM_ARCH_DEVICES_H
12 #define __ASM_ARCH_DEVICES_H
14 #include <linux/pci.h>
16 /* Ethernet */
17 extern void __init ks8695_add_device_wan(void);
18 extern void __init ks8695_add_device_lan(void);
19 extern void __init ks8695_add_device_hpna(void);
21 /* PCI */
22 #define KS8695_MODE_PCI 0
23 #define KS8695_MODE_MINIPCI 1
24 #define KS8695_MODE_CARDBUS 2
26 struct ks8695_pci_cfg {
27 short mode;
28 int (*map_irq)(struct pci_dev *, u8, u8);
30 extern __init void ks8695_init_pci(struct ks8695_pci_cfg *);
32 #endif