diff options
author | Alexandros C. Couloumbis <alex@ozo.com> | 2010-04-24 06:54:17 +0000 |
---|---|---|
committer | Alexandros C. Couloumbis <alex@ozo.com> | 2010-04-24 06:54:17 +0000 |
commit | 2aef7ab49143cd0f4d2a7e9abf08e636f4c1bfec (patch) | |
tree | f3214030c348853417d37c8b2fa25ab79e5e31c9 /target/linux/brcm47xx/patches-2.6.33/951-brcm4716-defines.patch | |
parent | d777bb98a14fb5a6cf25a318e4ad048212cff2ec (diff) | |
download | master-187ad058-2aef7ab49143cd0f4d2a7e9abf08e636f4c1bfec.tar.gz master-187ad058-2aef7ab49143cd0f4d2a7e9abf08e636f4c1bfec.tar.bz2 master-187ad058-2aef7ab49143cd0f4d2a7e9abf08e636f4c1bfec.zip |
brcm47xx: add sysfs attributes to ssb devices & new defines for registers and device ids (credits: Bernhard Loos)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21119 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-2.6.33/951-brcm4716-defines.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-2.6.33/951-brcm4716-defines.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.33/951-brcm4716-defines.patch b/target/linux/brcm47xx/patches-2.6.33/951-brcm4716-defines.patch new file mode 100644 index 0000000000..cde712c4a1 --- /dev/null +++ b/target/linux/brcm47xx/patches-2.6.33/951-brcm4716-defines.patch @@ -0,0 +1,25 @@ +--- a/drivers/ssb/scan.c ++++ b/drivers/ssb/scan.c +@@ -92,6 +92,14 @@ const char *ssb_core_name(u16 coreid) + return "ARM 1176"; + case SSB_DEV_ARM_7TDMI: + return "ARM 7TDMI"; ++ case SSB_DEV_ETHERNET_GBIT2: ++ return "Gigabit MAC"; ++ case SSB_DEV_MIPS_74K: ++ return "MIPS 74k"; ++ case SSB_DEV_DDR_CTRLR: ++ return "DDR1/2 memory controller"; ++ case SSB_DEV_I2S: ++ return "I2S"; + } + return "UNKNOWN"; + } +@@ -150,6 +158,7 @@ static u8 chipid_to_nrcores(u16 chipid) + case 0x4710: + case 0x4610: + case 0x4704: ++ case 0x4716: + return 9; + default: + ssb_printk(KERN_ERR PFX |