mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
Rename mipsIRQ.S to int-handler to match the kernel naming convention, implement basic board detection, rewrite usb HCD driver (to be tested)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6893 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -162,7 +162,16 @@ static int __init detect_bootloader(void)
|
||||
*/
|
||||
static void __init detect_board_type(void)
|
||||
{
|
||||
/* FIXME: not yet implemented */
|
||||
switch(adm5120_info.boot_loader) {
|
||||
case BOOT_LOADER_CFE:
|
||||
adm5120_info.board_type = BOARD_TYPE_WP54G_WRT;
|
||||
adm5120_info.iface_num = 2;
|
||||
adm5120_info.has_usb = 0;
|
||||
printk("Board is a Compex WP54G-WRT\n");
|
||||
default:
|
||||
adm5120_info.board_type = BOARD_TYPE_UNKNOWN;
|
||||
printk("Board type is unknown\n");
|
||||
}
|
||||
}
|
||||
|
||||
void __init adm5120_info_show(void)
|
||||
|
||||
Reference in New Issue
Block a user