diff options
| author | Jeff Garzik <jeff@garzik.org> | 2007-02-02 08:31:55 -0500 |
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2007-02-02 08:31:55 -0500 |
| commit | ae2c27a78f1df5b0967069cd3b916cff1eb044c8 (patch) | |
| tree | e67f1012e76185bac2e78bb04caa68ed1f7dc2a2 /drivers | |
| parent | a608ab9cb6a5050394498b2520c6e7c162f4e2cf (diff) | |
| parent | e34efe3b100d0fbdf053128956c3dd0bc68754d6 (diff) | |
Merge ../linux-2.6
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/char/sysrq.c | 20 | ||||
| -rw-r--r-- | drivers/ide/ide.c | 8 | ||||
| -rw-r--r-- | drivers/ide/pci/via82cxxx.c | 2 | ||||
| -rw-r--r-- | drivers/kvm/vmx.c | 2 | ||||
| -rw-r--r-- | drivers/net/hamradio/Kconfig | 6 | ||||
| -rw-r--r-- | drivers/pci/quirks.c | 8 | ||||
| -rw-r--r-- | drivers/pci/search.c | 10 |
7 files changed, 28 insertions, 28 deletions
diff --git a/drivers/char/sysrq.c b/drivers/char/sysrq.c index 13935235e066..7fd3cd5ddf21 100644 --- a/drivers/char/sysrq.c +++ b/drivers/char/sysrq.c | |||
| @@ -215,7 +215,7 @@ static void sysrq_handle_showstate_blocked(int key, struct tty_struct *tty) | |||
| 215 | } | 215 | } |
| 216 | static struct sysrq_key_op sysrq_showstate_blocked_op = { | 216 | static struct sysrq_key_op sysrq_showstate_blocked_op = { |
| 217 | .handler = sysrq_handle_showstate_blocked, | 217 | .handler = sysrq_handle_showstate_blocked, |
| 218 | .help_msg = "showBlockedTasks", | 218 | .help_msg = "shoW-blocked-tasks", |
| 219 | .action_msg = "Show Blocked State", | 219 | .action_msg = "Show Blocked State", |
| 220 | .enable_mask = SYSRQ_ENABLE_DUMP, | 220 | .enable_mask = SYSRQ_ENABLE_DUMP, |
| 221 | }; | 221 | }; |
| @@ -315,15 +315,16 @@ static struct sysrq_key_op *sysrq_key_table[36] = { | |||
| 315 | &sysrq_loglevel_op, /* 9 */ | 315 | &sysrq_loglevel_op, /* 9 */ |
| 316 | 316 | ||
| 317 | /* | 317 | /* |
| 318 | * Don't use for system provided sysrqs, it is handled specially on | 318 | * a: Don't use for system provided sysrqs, it is handled specially on |
| 319 | * sparc and will never arrive | 319 | * sparc and will never arrive. |
| 320 | */ | 320 | */ |
| 321 | NULL, /* a */ | 321 | NULL, /* a */ |
| 322 | &sysrq_reboot_op, /* b */ | 322 | &sysrq_reboot_op, /* b */ |
| 323 | &sysrq_crashdump_op, /* c */ | 323 | &sysrq_crashdump_op, /* c & ibm_emac driver debug */ |
| 324 | &sysrq_showlocks_op, /* d */ | 324 | &sysrq_showlocks_op, /* d */ |
| 325 | &sysrq_term_op, /* e */ | 325 | &sysrq_term_op, /* e */ |
| 326 | &sysrq_moom_op, /* f */ | 326 | &sysrq_moom_op, /* f */ |
| 327 | /* g: May be registered by ppc for kgdb */ | ||
| 327 | NULL, /* g */ | 328 | NULL, /* g */ |
| 328 | NULL, /* h */ | 329 | NULL, /* h */ |
| 329 | &sysrq_kill_op, /* i */ | 330 | &sysrq_kill_op, /* i */ |
| @@ -332,18 +333,19 @@ static struct sysrq_key_op *sysrq_key_table[36] = { | |||
| 332 | NULL, /* l */ | 333 | NULL, /* l */ |
| 333 | &sysrq_showmem_op, /* m */ | 334 | &sysrq_showmem_op, /* m */ |
| 334 | &sysrq_unrt_op, /* n */ | 335 | &sysrq_unrt_op, /* n */ |
| 335 | /* This will often be registered as 'Off' at init time */ | 336 | /* o: This will often be registered as 'Off' at init time */ |
| 336 | NULL, /* o */ | 337 | NULL, /* o */ |
| 337 | &sysrq_showregs_op, /* p */ | 338 | &sysrq_showregs_op, /* p */ |
| 338 | NULL, /* q */ | 339 | NULL, /* q */ |
| 339 | &sysrq_unraw_op, /* r */ | 340 | &sysrq_unraw_op, /* r */ |
| 340 | &sysrq_sync_op, /* s */ | 341 | &sysrq_sync_op, /* s */ |
| 341 | &sysrq_showstate_op, /* t */ | 342 | &sysrq_showstate_op, /* t */ |
| 342 | &sysrq_mountro_op, /* u */ | 343 | &sysrq_mountro_op, /* u */ |
| 343 | /* May be assigned at init time by SMP VOYAGER */ | 344 | /* v: May be registered at init time by SMP VOYAGER */ |
| 344 | NULL, /* v */ | 345 | NULL, /* v */ |
| 345 | NULL, /* w */ | 346 | &sysrq_showstate_blocked_op, /* w */ |
| 346 | &sysrq_showstate_blocked_op, /* x */ | 347 | /* x: May be registered on ppc/powerpc for xmon */ |
| 348 | NULL, /* x */ | ||
| 347 | NULL, /* y */ | 349 | NULL, /* y */ |
| 348 | NULL /* z */ | 350 | NULL /* z */ |
| 349 | }; | 351 | }; |
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index 3b334af0c7b9..6c9bd5165bdb 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
| @@ -1781,9 +1781,9 @@ done: | |||
| 1781 | return 1; | 1781 | return 1; |
| 1782 | } | 1782 | } |
| 1783 | 1783 | ||
| 1784 | extern void pnpide_init(void); | 1784 | extern void __init pnpide_init(void); |
| 1785 | extern void pnpide_exit(void); | 1785 | extern void __exit pnpide_exit(void); |
| 1786 | extern void h8300_ide_init(void); | 1786 | extern void __init h8300_ide_init(void); |
| 1787 | 1787 | ||
| 1788 | /* | 1788 | /* |
| 1789 | * probe_for_hwifs() finds/initializes "known" IDE interfaces | 1789 | * probe_for_hwifs() finds/initializes "known" IDE interfaces |
| @@ -2088,7 +2088,7 @@ int __init init_module (void) | |||
| 2088 | return ide_init(); | 2088 | return ide_init(); |
| 2089 | } | 2089 | } |
| 2090 | 2090 | ||
| 2091 | void cleanup_module (void) | 2091 | void __exit cleanup_module (void) |
| 2092 | { | 2092 | { |
| 2093 | int index; | 2093 | int index; |
| 2094 | 2094 | ||
diff --git a/drivers/ide/pci/via82cxxx.c b/drivers/ide/pci/via82cxxx.c index a98b4d38b9dd..6fb6e50b8231 100644 --- a/drivers/ide/pci/via82cxxx.c +++ b/drivers/ide/pci/via82cxxx.c | |||
| @@ -78,7 +78,7 @@ static struct via_isa_bridge { | |||
| 78 | u8 rev_max; | 78 | u8 rev_max; |
| 79 | u16 flags; | 79 | u16 flags; |
| 80 | } via_isa_bridges[] = { | 80 | } via_isa_bridges[] = { |
| 81 | { "cx7000", PCI_DEVICE_ID_VIA_CX700, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, | 81 | { "cx700", PCI_DEVICE_ID_VIA_CX700, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, |
| 82 | { "vt8237s", PCI_DEVICE_ID_VIA_8237S, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, | 82 | { "vt8237s", PCI_DEVICE_ID_VIA_8237S, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, |
| 83 | { "vt6410", PCI_DEVICE_ID_VIA_6410, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, | 83 | { "vt6410", PCI_DEVICE_ID_VIA_6410, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, |
| 84 | { "vt8251", PCI_DEVICE_ID_VIA_8251, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, | 84 | { "vt8251", PCI_DEVICE_ID_VIA_8251, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, |
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index 27f2751c3baa..54c35c0b3181 100644 --- a/drivers/kvm/vmx.c +++ b/drivers/kvm/vmx.c | |||
| @@ -1116,6 +1116,8 @@ static int vmx_vcpu_setup(struct kvm_vcpu *vcpu) | |||
| 1116 | 1116 | ||
| 1117 | if (rdmsr_safe(index, &data_low, &data_high) < 0) | 1117 | if (rdmsr_safe(index, &data_low, &data_high) < 0) |
| 1118 | continue; | 1118 | continue; |
| 1119 | if (wrmsr_safe(index, data_low, data_high) < 0) | ||
| 1120 | continue; | ||
| 1119 | data = data_low | ((u64)data_high << 32); | 1121 | data = data_low | ((u64)data_high << 32); |
| 1120 | vcpu->host_msrs[j].index = index; | 1122 | vcpu->host_msrs[j].index = index; |
| 1121 | vcpu->host_msrs[j].reserved = 0; | 1123 | vcpu->host_msrs[j].reserved = 0; |
diff --git a/drivers/net/hamradio/Kconfig b/drivers/net/hamradio/Kconfig index 896aa02000d7..feb0ada7a025 100644 --- a/drivers/net/hamradio/Kconfig +++ b/drivers/net/hamradio/Kconfig | |||
| @@ -113,7 +113,7 @@ config SCC_TRXECHO | |||
| 113 | 113 | ||
| 114 | config BAYCOM_SER_FDX | 114 | config BAYCOM_SER_FDX |
| 115 | tristate "BAYCOM ser12 fullduplex driver for AX.25" | 115 | tristate "BAYCOM ser12 fullduplex driver for AX.25" |
| 116 | depends on AX25 | 116 | depends on AX25 && !S390 |
| 117 | select CRC_CCITT | 117 | select CRC_CCITT |
| 118 | ---help--- | 118 | ---help--- |
| 119 | This is one of two drivers for Baycom style simple amateur radio | 119 | This is one of two drivers for Baycom style simple amateur radio |
| @@ -133,7 +133,7 @@ config BAYCOM_SER_FDX | |||
| 133 | 133 | ||
| 134 | config BAYCOM_SER_HDX | 134 | config BAYCOM_SER_HDX |
| 135 | tristate "BAYCOM ser12 halfduplex driver for AX.25" | 135 | tristate "BAYCOM ser12 halfduplex driver for AX.25" |
| 136 | depends on AX25 | 136 | depends on AX25 && !S390 |
| 137 | select CRC_CCITT | 137 | select CRC_CCITT |
| 138 | ---help--- | 138 | ---help--- |
| 139 | This is one of two drivers for Baycom style simple amateur radio | 139 | This is one of two drivers for Baycom style simple amateur radio |
| @@ -181,7 +181,7 @@ config BAYCOM_EPP | |||
| 181 | 181 | ||
| 182 | config YAM | 182 | config YAM |
| 183 | tristate "YAM driver for AX.25" | 183 | tristate "YAM driver for AX.25" |
| 184 | depends on AX25 | 184 | depends on AX25 && !S390 |
| 185 | help | 185 | help |
| 186 | The YAM is a modem for packet radio which connects to the serial | 186 | The YAM is a modem for packet radio which connects to the serial |
| 187 | port and includes some of the functions of a Terminal Node | 187 | port and includes some of the functions of a Terminal Node |
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 16945c2ba2ca..dcc0c1ab95ed 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c | |||
| @@ -661,9 +661,11 @@ static void quirk_via_bridge(struct pci_dev *dev) | |||
| 661 | /* See what bridge we have and find the device ranges */ | 661 | /* See what bridge we have and find the device ranges */ |
| 662 | switch (dev->device) { | 662 | switch (dev->device) { |
| 663 | case PCI_DEVICE_ID_VIA_82C686: | 663 | case PCI_DEVICE_ID_VIA_82C686: |
| 664 | /* 82C686 is special */ | 664 | /* The VT82C686 is special, it attaches to PCI and can have |
| 665 | via_vlink_dev_lo = 7; | 665 | any device number. All its subdevices are functions of |
| 666 | via_vlink_dev_hi = 7; | 666 | that single device. */ |
| 667 | via_vlink_dev_lo = PCI_SLOT(dev->devfn); | ||
| 668 | via_vlink_dev_hi = PCI_SLOT(dev->devfn); | ||
| 667 | break; | 669 | break; |
| 668 | case PCI_DEVICE_ID_VIA_8237: | 670 | case PCI_DEVICE_ID_VIA_8237: |
| 669 | case PCI_DEVICE_ID_VIA_8237A: | 671 | case PCI_DEVICE_ID_VIA_8237A: |
diff --git a/drivers/pci/search.c b/drivers/pci/search.c index fab381ed853c..b2653c4afe9e 100644 --- a/drivers/pci/search.c +++ b/drivers/pci/search.c | |||
| @@ -200,11 +200,8 @@ static struct pci_dev * pci_find_subsys(unsigned int vendor, | |||
| 200 | * can cause some machines to crash. So here we detect and flag that | 200 | * can cause some machines to crash. So here we detect and flag that |
| 201 | * situation and bail out early. | 201 | * situation and bail out early. |
| 202 | */ | 202 | */ |
| 203 | if (unlikely(list_empty(&pci_devices))) { | 203 | if (unlikely(list_empty(&pci_devices))) |
| 204 | printk(KERN_INFO "pci_find_subsys() called while pci_devices " | ||
| 205 | "is still empty\n"); | ||
| 206 | return NULL; | 204 | return NULL; |
| 207 | } | ||
| 208 | down_read(&pci_bus_sem); | 205 | down_read(&pci_bus_sem); |
| 209 | n = from ? from->global_list.next : pci_devices.next; | 206 | n = from ? from->global_list.next : pci_devices.next; |
| 210 | 207 | ||
| @@ -278,11 +275,8 @@ pci_get_subsys(unsigned int vendor, unsigned int device, | |||
| 278 | * can cause some machines to crash. So here we detect and flag that | 275 | * can cause some machines to crash. So here we detect and flag that |
| 279 | * situation and bail out early. | 276 | * situation and bail out early. |
| 280 | */ | 277 | */ |
| 281 | if (unlikely(list_empty(&pci_devices))) { | 278 | if (unlikely(list_empty(&pci_devices))) |
| 282 | printk(KERN_NOTICE "pci_get_subsys() called while pci_devices " | ||
| 283 | "is still empty\n"); | ||
| 284 | return NULL; | 279 | return NULL; |
| 285 | } | ||
| 286 | down_read(&pci_bus_sem); | 280 | down_read(&pci_bus_sem); |
| 287 | n = from ? from->global_list.next : pci_devices.next; | 281 | n = from ? from->global_list.next : pci_devices.next; |
| 288 | 282 | ||
