]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Revert "EISA: Initialize device before its resources"
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 17 Jan 2014 21:57:29 +0000 (14:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 21:55:27 +0000 (13:55 -0800)
commiteb45c9b3c78af85b8d96db02777913b796e027ca
treee8ed96d14b24f18c0398b97f688b20c31637f257
parent1c6270dfd4c4d8fbef5abec4914a2ac6094bebdd
Revert "EISA: Initialize device before its resources"

commit 765ee51f9a3f652959b4c7297d198a28e37952b4 upstream.

This reverts commit 26abfeed4341872364386c6a52b9acef8c81a81a.

In the eisa_probe() force_probe path, if we were unable to request slot
resources (e.g., [io 0x800-0x8ff]), we skipped the slot with "Cannot
allocate resource for EISA slot %d" before reading the EISA signature in
eisa_init_device().

Commit 26abfeed4341 moved eisa_init_device() earlier, so we tried to read
the EISA signature before requesting the slot resources, and this caused
hangs during boot.

Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1251816
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/eisa/eisa-bus.c