Path: blob/master/arch/arm/mach-ks8695/include/mach/devices.h
15159 views
/*1* arch/arm/mach-ks8695/include/mach/devices.h2*3* Copyright (C) 2006 Andrew Victor4*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License version 2 as7* published by the Free Software Foundation.8*/910#ifndef __ASM_ARCH_DEVICES_H11#define __ASM_ARCH_DEVICES_H1213#include <linux/pci.h>1415/* Ethernet */16extern void __init ks8695_add_device_wan(void);17extern void __init ks8695_add_device_lan(void);18extern void __init ks8695_add_device_hpna(void);1920/* LEDs */21extern short ks8695_leds_cpu;22extern short ks8695_leds_timer;23extern void __init ks8695_init_leds(u8 cpu_led, u8 timer_led);2425/* PCI */26#define KS8695_MODE_PCI 027#define KS8695_MODE_MINIPCI 128#define KS8695_MODE_CARDBUS 22930struct ks8695_pci_cfg {31short mode;32int (*map_irq)(struct pci_dev *, u8, u8);33};34extern __init void ks8695_init_pci(struct ks8695_pci_cfg *);3536#endif373839