summaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/sa1100_ir.c
diff options
context:
space:
mode:
authorAndrey Borzenkov <arvidjaar@newmail.ru>2008-10-03 19:08:49 +0200
committerH. Peter Anvin <hpa@zytor.com>2008-10-03 19:15:29 +0200
commit6cdcdb99cf7c2e1835fc5b471864d21161c3e679 (patch)
treee3dab8fad3748c93fc0870964cbfa8ec8f2e84b6 /drivers/net/irda/sa1100_ir.c
parentx86: fix ghost EDD devices in /sys again (diff)
downloadlinux-6cdcdb99cf7c2e1835fc5b471864d21161c3e679.tar.xz
linux-6cdcdb99cf7c2e1835fc5b471864d21161c3e679.zip
x86 setup: fix ghost entries under /sys/firmware/edd take 3
Some BIOSes do not indicate error when trying to read from non- existing device. Zero buffer before reading and check that we possibly have valid MBR by looking for MBR magic. This was fixed in different way for edd.S in http://marc.info/?l=linux-kernel&m=114087765422490&w=2, but lost again when edd.S was rewritten in C. Signed-off-by: Andrey Borzenkov < arvidjaar@mail.ru> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'drivers/net/irda/sa1100_ir.c')
0 files changed, 0 insertions, 0 deletions