Home
last modified time | relevance | path

Searched hist:ea2db495f92ad2cf3301623e60cb95b4062bc484 (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/ssb/
H A Dpci.cdiff da1fdb02d9200ff28b6f3a380d21930335fe5429 Fri May 28 03:45:59 CDT 2010 Christoph Fritz <chf.fritz@googlemail.com> ssb: fix NULL ptr deref when pcihost_wrapper is used

Ethernet driver b44 does register ssb by it's pcihost_wrapper
and doesn't set ssb_chipcommon. A check on this value
introduced with commit d53cdbb94a52a920d5420ed64d986c3523a56743
and ea2db495f92ad2cf3301623e60cb95b4062bc484 triggers:

BUG: unable to handle kernel NULL pointer dereference at 00000010
IP: [<c1266c36>] ssb_is_sprom_available+0x16/0x30

Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
diff ea2db495f92ad2cf3301623e60cb95b4062bc484 Wed Mar 31 14:59:21 CDT 2010 Rafał Miłecki <zajec5@gmail.com> ssb: Look for SPROM at different offset on higher rev CC

Our offset handling becomes even a little more hackish now. For some reason I
do not understand all offsets as inrelative. It assumes base offset is 0x1000
but it will work for now as we make offsets relative anyway by removing base
0x1000. Should be cleaner however.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
H A Dsprom.cdiff da1fdb02d9200ff28b6f3a380d21930335fe5429 Fri May 28 03:45:59 CDT 2010 Christoph Fritz <chf.fritz@googlemail.com> ssb: fix NULL ptr deref when pcihost_wrapper is used

Ethernet driver b44 does register ssb by it's pcihost_wrapper
and doesn't set ssb_chipcommon. A check on this value
introduced with commit d53cdbb94a52a920d5420ed64d986c3523a56743
and ea2db495f92ad2cf3301623e60cb95b4062bc484 triggers:

BUG: unable to handle kernel NULL pointer dereference at 00000010
IP: [<c1266c36>] ssb_is_sprom_available+0x16/0x30

Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
/openbmc/linux/include/linux/ssb/
H A Dssb_regs.hdiff ea2db495f92ad2cf3301623e60cb95b4062bc484 Wed Mar 31 14:59:21 CDT 2010 Rafał Miłecki <zajec5@gmail.com> ssb: Look for SPROM at different offset on higher rev CC

Our offset handling becomes even a little more hackish now. For some reason I
do not understand all offsets as inrelative. It assumes base offset is 0x1000
but it will work for now as we make offsets relative anyway by removing base
0x1000. Should be cleaner however.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
H A Dssb.hdiff ea2db495f92ad2cf3301623e60cb95b4062bc484 Wed Mar 31 14:59:21 CDT 2010 Rafał Miłecki <zajec5@gmail.com> ssb: Look for SPROM at different offset on higher rev CC

Our offset handling becomes even a little more hackish now. For some reason I
do not understand all offsets as inrelative. It assumes base offset is 0x1000
but it will work for now as we make offsets relative anyway by removing base
0x1000. Should be cleaner however.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>