Changeset 36037


Ignore:
Timestamp:
2013-03-15T15:35:50+01:00 (5 years ago)
Author:
juhosg
Message:

ar71xx: rw2458n - Use eeprom (art) from wifi card

Use eeprom (art) from included wifi card, not hard coded in flash.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@…>
Signed-off-by: Gabor Juhos <juhosg@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-rw2458n.c

    r33867 r36037  
    22 *  Redwave RW2458N support 
    33 * 
    4  *  Copyright (C) 2011-2012 Cezary Jackiewicz <cezary@eko.one.pl> 
     4 *  Copyright (C) 2011-2013 Cezary Jackiewicz <cezary@eko.one.pl> 
    55 * 
    66 *  This program is free software; you can redistribute it and/or modify it 
     
    1818#include "dev-usb.h" 
    1919#include "machtypes.h" 
     20#include "pci.h" 
    2021 
    2122#define RW2458N_GPIO_LED_D3     1 
     
    6566        u8 *mac1 = (u8 *) KSEG1ADDR(0x1fff0000); 
    6667        u8 *mac2 = (u8 *) KSEG1ADDR(0x1fff0000 + ETH_ALEN); 
    67         u8 *ee = (u8 *) KSEG1ADDR(0x1fff1000); 
    6868 
    6969        ath79_register_m25p80(NULL); 
     
    7777        ath79_register_eth(1); 
    7878 
    79         ap91_pci_init(ee, NULL); 
    80  
    8179        ath79_register_leds_gpio(-1, ARRAY_SIZE(rw2458n_leds_gpio), 
    8280                                 rw2458n_leds_gpio); 
     
    8684                                        rw2458n_gpio_keys); 
    8785        ath79_register_usb(); 
     86 
     87        ath79_register_pci(); 
    8888} 
    8989 
Note: See TracChangeset for help on using the changeset viewer.