]> err.no Git - linux-2.6/commit
sonypi: try to detect if sony-laptop has already taken one of the known ioports
authormalattia@linux.it <malattia@linux.it>
Sat, 28 Apr 2007 14:34:10 +0000 (23:34 +0900)
committerLen Brown <len.brown@intel.com>
Sun, 29 Apr 2007 02:05:59 +0000 (22:05 -0400)
commit1a3e323907dc5991cba2d715d5db3ae2eac78280
tree28e26b035b0a03f66415f9d80dfb86a9700cb1d5
parent74a882e4857414a98ca5904b3be90fb6aba2f25e
sonypi: try to detect if sony-laptop has already taken one of the known ioports

Get the IO resources list in sony-laptop in the same order as listed
in sonypi and make sonypi check if one of those is already busy.
The sonypi check can be disabled by a module parameter in case the user
thinks we are plainly wrong (check_ioport=0).

Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/char/sonypi.c
drivers/misc/sony-laptop.c