blob: 1e6594a0f2978dfec93078a5ad918145073960cb [file] [log] [blame]
Russell Kinga09e64f2008-08-05 16:14:15 +01001/*
2 * arch/arm/mach-ks8695/include/mach/devices.h
3 *
4 * Copyright (C) 2006 Andrew Victor
5 *
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 */
10
11#ifndef __ASM_ARCH_DEVICES_H
12#define __ASM_ARCH_DEVICES_H
13
14#include <linux/pci.h>
15
16 /* Ethernet */
17extern void __init ks8695_add_device_wan(void);
18extern void __init ks8695_add_device_lan(void);
19extern void __init ks8695_add_device_hpna(void);
20
Russell Kinga09e64f2008-08-05 16:14:15 +010021 /* PCI */
22#define KS8695_MODE_PCI 0
23#define KS8695_MODE_MINIPCI 1
24#define KS8695_MODE_CARDBUS 2
25
26struct ks8695_pci_cfg {
27 short mode;
Ralf Baechled5341942011-06-10 15:30:21 +010028 int (*map_irq)(const struct pci_dev *, u8, u8);
Russell Kinga09e64f2008-08-05 16:14:15 +010029};
30extern __init void ks8695_init_pci(struct ks8695_pci_cfg *);
31
32#endif