Linux 2.6.16.2
Subsystems (21)
We (the -stable team) are announcing the release of the 2.6.16.2 kernel.
The diffstat and short summary of the fixes are below.
I'll also be replying to this message with a copy of the patch between 2.6.16.1 and 2.6.16.2, as it is small enough to do so.
The updated 2.6.16.y git tree can be found at:
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.16.y.git
and can be browsed at the normal kernel.org git web browser:
www.kernel.org/git/
thanks,
greg k-h
--------
Makefile | 2 - arch/i386/kernel/cpu/cpufreq/Kconfig | 1 arch/i386/kernel/cpu/cpufreq/p4-clockmod.c | 2 - arch/powerpc/kernel/pci_64.c | 1 drivers/base/node.c | 2 - drivers/char/Kconfig | 1 drivers/char/tlclk.c | 1 drivers/ieee1394/sbp2.c | 32 ++++++++++++-------------- drivers/net/irda/irda-usb.c | 5 ++-- drivers/net/wireless/Kconfig | 5 +++- drivers/net/wireless/hostap/hostap_80211_tx.c | 2 - drivers/net/wireless/ipw2200.c | 5 +--- drivers/pcmcia/ds.c | 2 - drivers/usb/core/message.c | 12 +++++---- drivers/usb/host/ehci-sched.c | 11 ++++---- drivers/video/cfbimgblt.c | 2 - fs/nfsd/nfs3proc.c | 2 - fs/nfsd/nfs4proc.c | 2 - fs/nfsd/nfsproc.c | 2 - fs/proc/vmcore.c | 4 +-- fs/sysfs/file.c | 2 - include/asm-powerpc/floppy.h | 5 ++-- include/linux/fb.h | 2 - include/linux/proc_fs.h | 2 - kernel/exec_domain.c | 1 kernel/fork.c | 2 - net/ipv4/fib_trie.c | 12 ++++----- net/ipv4/netfilter/ip_conntrack_netlink.c | 2 - net/netfilter/nf_conntrack_netlink.c | 2 - sound/isa/opti9xx/opti92x-ad1848.c | 6 ++++ sound/pci/hda/patch_realtek.c | 2 + 31 files changed, 75 insertions(+), 59 deletions(-)
Summary of changes from v2.6.16.1 to v2.6.16.2
==============================================
Adrian Bunk:
PCMCIA_SPECTRUM must select FW_LOADER drivers/net/wireless/ipw2200.c: fix an array overun AIRO{,_CS} <-> CRYPTO fixes
Andrew Morton:
tlclk: fix handling of device major
Antonino A. Daplas:
fbcon: Fix big-endian bogosity in slow_imageblit()
Christoph Lameter:
Fix NULL pointer dereference in node_read_numastat()
Clemens Ladisch:
USB: EHCI full speed ISO bugfixes
Dave Jones:
Mark longhaul driver as broken.
David S. Miller:
fib_trie.c node freeing fix
Eugene Teo:
USB: Fix irda-usb use after use
Greg Kroah-Hartman:
sysfs: zero terminate sysfs write buffers (CVE-2006-1055) Linux 2.6.16.2
Horst Schirmeier:
USB: usbcore: usb_set_configuration oops (NULL ptr dereference)
Janos Farkas:
pcmcia: permit single-character-identifiers
Jouni Malinen:
hostap: Fix EAPOL frame encryption
Kirill Korotaev:
wrong error path in dup_fd() leading to oopses in RCU
Martin Josefsson:
{ip, nf}_conntrack_netlink: fix expectation notifier unregistration
maximilian attems:
isicom must select FW_LOADER
NeilBrown:
knfsd: Correct reserved reply space for read requests.
Sergey Vlasov:
Fix module refcount leak in __set_personality()
Stefan Richter:
sbp2: fix spinlock recursion
Stephen Rothwell:
powerpc: make ISA floppies work again
Takashi Iwai:
opti9x - Fix compile without CONFIG_PNP Add default entry for CTL Travel Master U553W
Venkatesh Pallipadi:
Fix the p4-clockmod N60 errata workaround.
Vivek Goyal:
kdump proc vmcore size oveflow fix
Makefile +1 -1
@@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 16 -EXTRAVERSION = .1 +EXTRAVERSION = .2 NAME=Sliding Snow Leopard # *DOCUMENTATION*
arch/i386/kernel/cpu/cpufreq/Kconfig +1 -0
@@ -203,6 +203,7 @@ config X86_LONGRUN config X86_LONGHAUL tristate "VIA Cyrix III Longhaul" select CPU_FREQ_TABLE + depends on BROKEN help This adds the CPUFreq driver for VIA Samuel/CyrixIII, VIA Cyrix Samuel/C3, VIA Cyrix Ezra and VIA Cyrix Ezra-T
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c +1 -1
@@ -244,7 +244,7 @@ static int cpufreq_p4_cpu_init(struct cpfor (i=1 ; (p4clockmod_table[i].frequency !=CPUFREQ_TABLE_END ); i++) {if ((i<2 ) && (has_N44_O17_errata[policy->cpu])) p4clockmod_table[i].frequency =CPUFREQ_ENTRY_INVALID ; -else if (has_N60_errata[policy->cpu] && p4clockmod_table[i].frequency <2000000 ) +else if (has_N60_errata[policy->cpu] && ((stock_freq * i)/8 ) <2000000 ) p4clockmod_table[i].frequency =CPUFREQ_ENTRY_INVALID ;else p4clockmod_table[i].frequency = (stock_freq * i)/8 ;
arch/powerpc/kernel/pci_64.c +1 -0
@@ -78,6 +78,7 @@ int global_phb_number; /* Global phb co/* Cached ISA bridge dev. */ struct pci_dev *ppc64_isabridge_dev =NULL ; +EXPORT_SYMBOL_GPL (ppc64_isabridge_dev);static void fixup_broken_pcnet32 (struct pci_dev * dev) {
drivers/base/node.c +1 -1
@@ -106,7 +106,7 @@ static ssize_t node_read_numastat(struct other_node =0 ;for (i =0 ; i <MAX_NR_ZONES ; i++) {struct zone *z = &pg->node_zones[i]; -for (cpu =0 ; cpu <NR_CPUS ; cpu++) { +for_each_online_cpu (cpu) {struct per_cpu_pageset *ps =zone_pcp (z,cpu); numa_hit += ps->numa_hit; numa_miss += ps->numa_miss;
drivers/char/Kconfig +1 -0
@@ -187,6 +187,7 @@ config MOXA_SMARTIO config ISI tristate "Multi-Tech multiport card support (EXPERIMENTAL)" depends on SERIAL_NONSTANDARD + select FW_LOADER help This is a driver for the Multi-Tech cards which provide several serial ports. The driver is experimental and can currently only be
drivers/char/tlclk.c +1 -0
@@ -767,6 +767,7 @@ static int __init tlclk_init(void)printk (KERN_ERR "tlclk: can't get major %d.\n" , tlclk_major);return ret; } + tlclk_major = ret; alarm_events =kzalloc (sizeof (struct tlclk_alarms ),GFP_KERNEL );if (!alarm_events) goto out1;
drivers/ieee1394/sbp2.c +15 -17
@@ -495,22 +495,17 @@ static struct sbp2_command_info *sbp2uti/* * This function finds the sbp2_command for a given outstanding SCpnt. * Only looks at the inuse list. +* Must be called with scsi_id->sbp2_command_orb_lock held. */ -static struct sbp2_command_info *sbp2util_find_command_for_SCpnt (struct scsi_id_instance_data *scsi_id,void *SCpnt) +static struct sbp2_command_info *sbp2util_find_command_for_SCpnt ( +struct scsi_id_instance_data *scsi_id,void *SCpnt) {struct sbp2_command_info *command; -unsigned long flags; -spin_lock_irqsave (&scsi_id->sbp2_command_orb_lock, flags); -if (!list_empty (&scsi_id->sbp2_command_orb_inuse)) { -list_for_each_entry (command, &scsi_id->sbp2_command_orb_inuse, list) { -if (command->Current_SCpnt == SCpnt) { -spin_unlock_irqrestore (&scsi_id->sbp2_command_orb_lock, flags); +if (!list_empty (&scsi_id->sbp2_command_orb_inuse)) +list_for_each_entry (command, &scsi_id->sbp2_command_orb_inuse, list) +if (command->Current_SCpnt == SCpnt)return command; - } - } - } -spin_unlock_irqrestore (&scsi_id->sbp2_command_orb_lock, flags);return NULL ; }
@@ -579,17 +574,15 @@ static void sbp2util_free_command_dma(st/* * This function moves a command to the completed orb list. +* Must be called with scsi_id->sbp2_command_orb_lock held. */ -static void sbp2util_mark_command_completed (struct scsi_id_instance_data *scsi_id, -struct sbp2_command_info *command) +static void sbp2util_mark_command_completed ( +struct scsi_id_instance_data *scsi_id, +struct sbp2_command_info *command) { -unsigned long flags; - -spin_lock_irqsave (&scsi_id->sbp2_command_orb_lock, flags);list_del (&command->list);sbp2util_free_command_dma (command);list_add_tail (&command->list, &scsi_id->sbp2_command_orb_completed); -spin_unlock_irqrestore (&scsi_id->sbp2_command_orb_lock, flags); }/*
@@ -2177,7 +2170,9 @@ static int sbp2_handle_status_write(stru* Matched status with command, now grab scsi command pointers and check status */ SCpnt = command->Current_SCpnt; +spin_lock_irqsave (&scsi_id->sbp2_command_orb_lock, flags);sbp2util_mark_command_completed (scsi_id, command); +spin_unlock_irqrestore (&scsi_id->sbp2_command_orb_lock, flags);if (SCpnt) {
@@ -2513,6 +2508,7 @@ static int sbp2scsi_abort(struct scsi_cm (struct scsi_id_instance_data *)SCpnt->device->host->hostdata[0 ];struct sbp2scsi_host_info *hi = scsi_id->hi;struct sbp2_command_info *command; +unsigned long flags;SBP2_ERR ("aborting sbp2 command" );scsi_print_command (SCpnt);
@@ -2523,6 +2519,7 @@ static int sbp2scsi_abort(struct scsi_cm* Right now, just return any matching command structures * to the free pool. */ +spin_lock_irqsave (&scsi_id->sbp2_command_orb_lock, flags); command =sbp2util_find_command_for_SCpnt (scsi_id, SCpnt);if (command) {SBP2_DEBUG ("Found command to abort" );
@@ -2540,6 +2537,7 @@ static int sbp2scsi_abort(struct scsi_cm command->Current_done (command->Current_SCpnt); } } +spin_unlock_irqrestore (&scsi_id->sbp2_command_orb_lock, flags);/* * Initiate a fetch agent reset.
drivers/net/irda/irda-usb.c +3 -2
@@ -740,7 +740,7 @@ static void irda_usb_receive(struct urbstruct sk_buff *newskb;struct sk_buff *dataskb;struct urb *next_urb; -int docopy; +unsigned int len, docopy;IRDA_DEBUG (2 ,"%s(), len=%d\n" , __FUNCTION__, urb->actual_length);
@@ -851,10 +851,11 @@ static void irda_usb_receive(struct urb dataskb->dev = self->netdev; dataskb->mac.raw = dataskb->data; dataskb->protocol =htons (ETH_P_IRDA ); + len = dataskb->len;netif_rx (dataskb);/* Keep stats up to date */ - self->stats.rx_bytes += dataskb->len; + self->stats.rx_bytes += len; self->stats.rx_packets++; self->netdev->last_rx = jiffies;
drivers/net/wireless/Kconfig +4 -1
@@ -239,7 +239,8 @@ config IPW2200_DEBUG config AIRO tristate "Cisco/Aironet 34X/35X/4500/4800 ISA and PCI cards" - depends on NET_RADIO && ISA_DMA_API && CRYPTO && (PCI || BROKEN) + depends on NET_RADIO && ISA_DMA_API && (PCI || BROKEN) + select CRYPTO ---help--- This is the standard Linux driver to support Cisco/Aironet ISA and PCI 802.11 wireless cards.
@@ -374,6 +375,7 @@ config PCMCIA_HERMES config PCMCIA_SPECTRUM tristate "Symbol Spectrum24 Trilogy PCMCIA card support" depends on NET_RADIO && PCMCIA && HERMES + select FW_LOADER ---help--- This is a driver for 802.11b cards using RAM-loadable Symbol
@@ -387,6 +389,7 @@ config PCMCIA_SPECTRUM config AIRO_CS tristate "Cisco/Aironet 34X/35X/4500/4800 PCMCIA cards" depends on NET_RADIO && PCMCIA && (BROKEN || !M32R) + select CRYPTO ---help--- This is the standard Linux driver to support Cisco/Aironet PCMCIA 802.11 wireless cards. This driver is the same as the Aironet
drivers/net/wireless/hostap/hostap_80211_tx.c +1 -1
@@ -469,7 +469,7 @@ int hostap_master_start_xmit(struct sk_b }if (local->ieee_802_1x && meta->ethertype ==ETH_P_PAE && tx.crypt && - !(fc &IEEE80211_FCTL_VERS )) { + !(fc &IEEE80211_FCTL_PROTECTED )) { no_encrypt =1 ;PDEBUG (DEBUG_EXTRA2 ,"%s: TX: IEEE 802.1X - passing " "unencrypted EAPOL frame\n" , dev->name);
drivers/net/wireless/ipw2200.c +2 -3
@@ -9956,9 +9956,8 @@ static int ipw_ethtool_set_eeprom(structreturn -EINVAL ;down (&p->sem);memcpy (&p->eeprom[eeprom->offset], bytes, eeprom->len); -for (i =IPW_EEPROM_DATA ; - i <IPW_EEPROM_DATA +IPW_EEPROM_IMAGE_SIZE ; i++) -ipw_write8 (p, i, p->eeprom[i]); +for (i =0 ; i <IPW_EEPROM_IMAGE_SIZE ; i++) +ipw_write8 (p, i +IPW_EEPROM_DATA , p->eeprom[i]);up (&p->sem);return 0 ; }
drivers/pcmcia/ds.c +1 -1
@@ -546,7 +546,7 @@ static int pcmcia_device_query(struct pc tmp = vers1->str + vers1->ofs[i]; length =strlen (tmp) +1 ; -if ((length <3 ) || (length >255 )) +if ((length <2 ) || (length >255 ))continue ; p_dev->prod_id[i] = kmalloc(sizeof(char) * length,
drivers/usb/core/message.c +7 -5
@@ -1388,11 +1388,13 @@ free_interfaces:if (dev->state !=USB_STATE_ADDRESS )usb_disable_device (dev,1 );// Skip ep0 - i = dev->bus_mA - cp->desc.bMaxPower *2 ; -if (i <0 ) -dev_warn (&dev->dev,"new config #%d exceeds power " -"limit by %dmA\n" , - configuration, -i); +if (cp) { + i = dev->bus_mA - cp->desc.bMaxPower *2 ; +if (i <0 ) +dev_warn (&dev->dev,"new config #%d exceeds power " +"limit by %dmA\n" , + configuration, -i); + } if ((ret = usb_control_msg(dev, usb_sndctrlpipe(dev, 0), USB_REQ_SET_CONFIGURATION, 0, configuration, 0,
drivers/usb/host/ehci-sched.c +6 -5
@@ -707,6 +707,7 @@ iso_stream_init ( }else {u32 addr;int think_time; +int hs_transfers; addr = dev->ttport <<24 ; if (!ehci_is_TDI(ehci)
@@ -719,6 +720,7 @@ iso_stream_init ( think_time = dev->tt ? dev->tt->think_time :0 ; stream->tt_usecs =NS_TO_US (think_time +usb_calc_bus_time ( dev->speed, is_input,1 , maxp)); + hs_transfers =max (1u , (maxp +187 ) /188 );if (is_input) {u32 tmp;
@@ -727,12 +729,11 @@ iso_stream_init ( stream->usecs =HS_USECS_ISO (1 ); stream->raw_mask =1 ; -/* pessimistic c-mask */ - tmp =usb_calc_bus_time (USB_SPEED_FULL ,1 ,0 , maxp) - / (125 *1000 ); - stream->raw_mask |=3 << (tmp +9 ); +/* c-mask as specified in USB 2.0 11.18.4 3.c */ + tmp = (1 << (hs_transfers +2 )) -1 ; + stream->raw_mask |= tmp << (8 +2 ); }else - stream->raw_mask = smask_out [maxp /188 ]; + stream->raw_mask = smask_out [hs_transfers -1 ]; bandwidth = stream->usecs + stream->c_usecs; bandwidth /=1 << (interval +2 );
drivers/video/cfbimgblt.c +1 -1
@@ -169,7 +169,7 @@ static inline void slow_imageblit(constwhile (j--) { l--; - color = (*s &1 << (FB_BIT_NR (l))) ? fgcolor : bgcolor; + color = (*s & (1 << l)) ? fgcolor : bgcolor; val |=FB_SHIFT_HIGH (color, shift);/* Did the bitshift spill bits to the next long? */
fs/nfsd/nfs3proc.c +1 -1
@@ -682,7 +682,7 @@ static struct svc_procedure nfsd_procedPROC (lookup, dirop, dirop, fhandle2,RC_NOCACHE ,ST +FH +pAT+pAT),PROC (access, access, access, fhandle,RC_NOCACHE ,ST +pAT+1 ),PROC (readlink, readlink, readlink, fhandle,RC_NOCACHE ,ST +pAT+1 +NFS3_MAXPATHLEN /4 ), -PROC (read, read, read, fhandle,RC_NOCACHE ,ST +pAT+4 +NFSSVC_MAXBLKSIZE ), +PROC (read, read, read, fhandle,RC_NOCACHE ,ST +pAT+4 +NFSSVC_MAXBLKSIZE /4 ),PROC (write, write, write, fhandle,RC_REPLBUFF ,ST +WC +4 ),PROC (create, create, create, fhandle2,RC_REPLBUFF ,ST +(1 +FH +pAT)+WC ), PROC(mkdir, mkdir, create, fhandle2, RC_REPLBUFF, ST+(1+FH+pAT)+WC),
fs/nfsd/nfs4proc.c +1 -1
@@ -975,7 +975,7 @@ struct nfsd4_voidargs { int dummy; };*/ static struct svc_procedure nfsd_procedures4[2 ] = {PROC (null, void, void, void,RC_NOCACHE ,1 ), -PROC (compound, compound, compound, compound,RC_NOCACHE ,NFSD_BUFSIZE ) +PROC (compound, compound, compound, compound,RC_NOCACHE ,NFSD_BUFSIZE /4 ) };struct svc_version nfsd_version4 = {
fs/nfsd/nfsproc.c +1 -1
@@ -553,7 +553,7 @@ static struct svc_procedure nfsd_procedPROC (none, void, void, none,RC_NOCACHE ,ST ),PROC (lookup, diropargs, diropres, fhandle,RC_NOCACHE ,ST +FH +AT ),PROC (readlink, readlinkargs, readlinkres, none,RC_NOCACHE ,ST +1 +NFS_MAXPATHLEN /4 ), -PROC (read, readargs, readres, fhandle,RC_NOCACHE ,ST +AT +1 +NFSSVC_MAXBLKSIZE ), +PROC (read, readargs, readres, fhandle,RC_NOCACHE ,ST +AT +1 +NFSSVC_MAXBLKSIZE /4 ),PROC (none, void, void, none,RC_NOCACHE ,ST ),PROC (write, writeargs, attrstat, fhandle,RC_REPLBUFF ,ST +AT ), PROC(create, createargs, diropres, fhandle, RC_REPLBUFF, ST+FH+AT),
fs/proc/vmcore.c +2 -2
@@ -103,8 +103,8 @@ static ssize_t read_vmcore(struct file * size_t buflen, loff_t *fpos) { ssize_t acc = 0, tmp; -size_t tsz, nr_bytes; -u64 start; +size_t tsz; +u64 start, nr_bytes;struct vmcore *curr_m =NULL ;if (buflen ==0 || *fpos >= vmcore_size)
fs/sysfs/file.c +1 -1
@@ -183,7 +183,7 @@ fill_write_buffer(struct sysfs_buffer *return -ENOMEM ;if (count >=PAGE_SIZE ) - count =PAGE_SIZE ; + count =PAGE_SIZE -1 ; error =copy_from_user (buffer->page,buf,count); buffer->needs_read_fill =1 ;return error ? -EFAULT : count;
include/asm-powerpc/floppy.h +3 -2
@@ -35,6 +35,7 @@#ifdef CONFIG_PCI #include <linux/pci.h> +#include <asm/ppc-pci.h> /* for ppc64_isabridge_dev */ #define fd_dma_setup (addr,size,mode,io) powerpc_fd_dma_setup(addr,size,mode,io)
@@ -52,12 +53,12 @@ static __inline__ int powerpc_fd_dma_setif (bus_addr && (addr != prev_addr || size != prev_size || dir != prev_dir)) {/* different from last time -- unmap prev */ -pci_unmap_single (NULL , bus_addr, prev_size, prev_dir); +pci_unmap_single (ppc64_isabridge_dev, bus_addr, prev_size, prev_dir); bus_addr =0 ; }if (!bus_addr)/* need to map it */ - bus_addr =pci_map_single (NULL , addr, size, dir); + bus_addr =pci_map_single (ppc64_isabridge_dev, addr, size, dir);/* remember this one as prev */ prev_addr = addr;
include/linux/fb.h +0 -2
@@ -839,12 +839,10 @@ struct fb_info {#define FB_LEFT_POS (bpp) (32 - bpp)#define FB_SHIFT_HIGH (val, bits) ((val) >> (bits))#define FB_SHIFT_LOW (val, bits) ((val) << (bits)) -#define FB_BIT_NR (b) (7 - (b))#else #define FB_LEFT_POS (bpp) (0)#define FB_SHIFT_HIGH (val, bits) ((val) << (bits))#define FB_SHIFT_LOW (val, bits) ((val) >> (bits)) -#define FB_BIT_NR (b) (b)#endif /*
include/linux/proc_fs.h +1 -1
@@ -78,7 +78,7 @@ struct kcore_list {struct vmcore {struct list_head list;unsigned long long paddr; -unsigned long size; +unsigned long long size;loff_t offset; };
kernel/exec_domain.c +1 -0
@@ -140,6 +140,7 @@ __set_personality(u_long personality) ep =lookup_exec_domain (personality);if (ep ==current_thread_info ()->exec_domain) { current->personality = personality; +module_put (ep->module);return 0 ; }
kernel/fork.c +1 -1
@@ -720,7 +720,7 @@ out_release:free_fdset (new_fdt->open_fds, new_fdt->max_fdset);free_fd_array (new_fdt->fd, new_fdt->max_fds);kmem_cache_free (files_cachep, newf); - goto out; +return NULL ; }static int copy_files (unsigned long clone_flags,struct task_struct * tsk)
net/ipv4/fib_trie.c +6 -6
@@ -314,11 +314,6 @@ static void __leaf_free_rcu(struct rcu_hkfree (container_of(head ,struct leaf ,rcu )); } -static inline void free_leaf (struct leaf *leaf) -{ -call_rcu (&leaf->rcu, __leaf_free_rcu); -} -static void __leaf_info_free_rcu (struct rcu_head *head) {kfree (container_of(head ,struct leaf_info ,rcu ));
@@ -357,7 +352,12 @@ static void __tnode_free_rcu(struct rcu_static inline void tnode_free (struct tnode *tn) { -call_rcu (&tn->rcu, __tnode_free_rcu); +if (IS_LEAF (tn)) { +struct leaf *l = (struct leaf *) tn; +call_rcu_bh (&l->rcu, __leaf_free_rcu); + } +else +call_rcu (&tn->rcu, __tnode_free_rcu); }static struct leaf *leaf_new (void )
net/ipv4/netfilter/ip_conntrack_netlink.c +1 -1
@@ -1619,7 +1619,7 @@ static void __exit ctnetlink_exit(void)printk ("ctnetlink: unregistering from nfnetlink.\n" );#ifdef CONFIG_IP_NF_CONNTRACK_EVENTS -ip_conntrack_unregister_notifier (&ctnl_notifier_exp); +ip_conntrack_expect_unregister_notifier (&ctnl_notifier_exp);ip_conntrack_unregister_notifier (&ctnl_notifier);#endif
net/netfilter/nf_conntrack_netlink.c +1 -1
@@ -1641,7 +1641,7 @@ static void __exit ctnetlink_exit(void)printk ("ctnetlink: unregistering from nfnetlink.\n" );#ifdef CONFIG_NF_CONNTRACK_EVENTS -nf_conntrack_unregister_notifier (&ctnl_notifier_exp); +nf_conntrack_expect_unregister_notifier (&ctnl_notifier_exp);nf_conntrack_unregister_notifier (&ctnl_notifier);#endif
sound/isa/opti9xx/opti92x-ad1848.c +6 -0
@@ -2088,9 +2088,11 @@ static int __init alsa_card_opti9xx_initint error;struct platform_device *device; +#ifdef CONFIG_PNP pnp_register_card_driver (&opti9xx_pnpc_driver);if (snd_opti9xx_pnp_is_probed)return 0 ; +#endif if (!is_isapnp_selected ()) { error =platform_driver_register (&snd_opti9xx_driver);if (error <0 )
@@ -2102,7 +2104,9 @@ static int __init alsa_card_opti9xx_init }platform_driver_unregister (&snd_opti9xx_driver); } +#ifdef CONFIG_PNP pnp_unregister_card_driver (&opti9xx_pnpc_driver); +#endif #ifdef MODULE printk (KERN_ERR "no OPTi " CHIP_NAME " soundcard found\n" );#endif
@@ -2115,7 +2119,9 @@ static void __exit alsa_card_opti9xx_exiplatform_device_unregister (snd_opti9xx_platform_device);platform_driver_unregister (&snd_opti9xx_driver); } +#ifdef CONFIG_PNP pnp_unregister_card_driver (&opti9xx_pnpc_driver); +#endif }module_init (alsa_card_opti9xx_init)
sound/pci/hda/patch_realtek.c +2 -0
@@ -2948,6 +2948,8 @@ static struct hda_board_config alc260_cf { .modelname = "basic", .config = ALC260_BASIC }, { .pci_subvendor = 0x104d, .pci_subdevice = 0x81bb, .config = ALC260_BASIC }, /* Sony VAIO */ + { .pci_subvendor = 0x152d, .pci_subdevice = 0x0729, + .config = ALC260_BASIC }, /* CTL Travel Master U553W */ { .modelname = "hp", .config = ALC260_HP }, { .pci_subvendor = 0x103c, .pci_subdevice = 0x3010, .config = ALC260_HP }, { .pci_subvendor = 0x103c, .pci_subdevice = 0x3011, .config = ALC260_HP },