diff options
Diffstat (limited to 'drivers/eisa')
-rw-r--r-- | drivers/eisa/Kconfig | 6 | ||||
-rw-r--r-- | drivers/eisa/eisa-bus.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/eisa/Kconfig b/drivers/eisa/Kconfig index c0646576cf47..2705284f6223 100644 --- a/drivers/eisa/Kconfig +++ b/drivers/eisa/Kconfig | |||
@@ -3,7 +3,7 @@ | |||
3 | # | 3 | # |
4 | config EISA_VLB_PRIMING | 4 | config EISA_VLB_PRIMING |
5 | bool "Vesa Local Bus priming" | 5 | bool "Vesa Local Bus priming" |
6 | depends on X86_PC && EISA | 6 | depends on X86 && EISA |
7 | default n | 7 | default n |
8 | ---help--- | 8 | ---help--- |
9 | Activate this option if your system contains a Vesa Local | 9 | Activate this option if your system contains a Vesa Local |
@@ -24,11 +24,11 @@ config EISA_PCI_EISA | |||
24 | When in doubt, say Y. | 24 | When in doubt, say Y. |
25 | 25 | ||
26 | # Using EISA_VIRTUAL_ROOT on something other than an Alpha or | 26 | # Using EISA_VIRTUAL_ROOT on something other than an Alpha or |
27 | # an X86_PC may lead to crashes... | 27 | # an X86 may lead to crashes... |
28 | 28 | ||
29 | config EISA_VIRTUAL_ROOT | 29 | config EISA_VIRTUAL_ROOT |
30 | bool "EISA virtual root device" | 30 | bool "EISA virtual root device" |
31 | depends on EISA && (ALPHA || X86_PC) | 31 | depends on EISA && (ALPHA || X86) |
32 | default y | 32 | default y |
33 | ---help--- | 33 | ---help--- |
34 | Activate this option if your system only have EISA bus | 34 | Activate this option if your system only have EISA bus |
diff --git a/drivers/eisa/eisa-bus.c b/drivers/eisa/eisa-bus.c index c950bf8606d9..66958b3f10b4 100644 --- a/drivers/eisa/eisa-bus.c +++ b/drivers/eisa/eisa-bus.c | |||
@@ -200,7 +200,7 @@ static int __init eisa_init_device (struct eisa_root_device *root, | |||
200 | edev->dev.bus = &eisa_bus_type; | 200 | edev->dev.bus = &eisa_bus_type; |
201 | edev->dev.dma_mask = &edev->dma_mask; | 201 | edev->dev.dma_mask = &edev->dma_mask; |
202 | edev->dev.coherent_dma_mask = edev->dma_mask; | 202 | edev->dev.coherent_dma_mask = edev->dma_mask; |
203 | sprintf (edev->dev.bus_id, "%02X:%02X", root->bus_nr, slot); | 203 | dev_set_name(&edev->dev, "%02X:%02X", root->bus_nr, slot); |
204 | 204 | ||
205 | for (i = 0; i < EISA_MAX_RESOURCES; i++) { | 205 | for (i = 0; i < EISA_MAX_RESOURCES; i++) { |
206 | #ifdef CONFIG_EISA_NAMES | 206 | #ifdef CONFIG_EISA_NAMES |
@@ -301,7 +301,7 @@ static int __init eisa_probe (struct eisa_root_device *root) | |||
301 | struct eisa_device *edev; | 301 | struct eisa_device *edev; |
302 | 302 | ||
303 | printk (KERN_INFO "EISA: Probing bus %d at %s\n", | 303 | printk (KERN_INFO "EISA: Probing bus %d at %s\n", |
304 | root->bus_nr, root->dev->bus_id); | 304 | root->bus_nr, dev_name(root->dev)); |
305 | 305 | ||
306 | /* First try to get hold of slot 0. If there is no device | 306 | /* First try to get hold of slot 0. If there is no device |
307 | * here, simply fail, unless root->force_probe is set. */ | 307 | * here, simply fail, unless root->force_probe is set. */ |