login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
July
»
29
Re: [PATCH 4/7] nsc-ircc: Default to dongle type 9 on IBM hardware
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andrew Morton
Subject:
Re: [PATCH 4/7] nsc-ircc: Default to dongle type 9 on IBM hardware
Date: Monday, July 28, 2008 - 7:46 pm
On Mon, 21 Jul 2008 13:40:57 -0400 Ben Collins <ben.collins@canonical.com> wrote:
quoted text
> CC: Samuel Ortiz <samuel@sortiz.org> > Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org> > Signed-off-by: Ben Collins <ben.collins@canonical.com> > > diff --git a/drivers/net/irda/nsc-ircc.c b/drivers/net/irda/nsc-ircc.c > index effc1ce..18d1714 100644 > --- a/drivers/net/irda/nsc-ircc.c > +++ b/drivers/net/irda/nsc-ircc.c > @@ -151,8 +151,8 @@ static char *dongle_types[] = { > static chipio_t pnp_info; > static const struct pnp_device_id nsc_ircc_pnp_table[] = { > { .id = "NSC6001", .driver_data = 0 }, > - { .id = "IBM0071", .driver_data = 0 }, > { .id = "HWPC224", .driver_data = 0 }, > + { .id = "IBM0071", .driver_data = NSC_FORCE_DONGLE_TYPE9 }, > { } > }; > > @@ -930,7 +930,10 @@ static int nsc_ircc_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *i > pnp_info.dma = -1; > pnp_succeeded = 1; > > - /* There don't seem to be any way to get the cfg_base. > + if (id->driver_data & NSC_FORCE_DONGLE_TYPE9) > + dongle_id = 0x9; > + > + /* There doesn't seem to be any way of getting the cfg_base. > * On my box, cfg_base is in the PnP descriptor of the > * motherboard. Oh well... Jean II */ > > diff --git a/drivers/net/irda/nsc-ircc.h b/drivers/net/irda/nsc-ircc.h > index 29398a4..71cd3c5 100644 > --- a/drivers/net/irda/nsc-ircc.h > +++ b/drivers/net/irda/nsc-ircc.h > @@ -35,6 +35,9 @@ > #include <linux/types.h> > #include <asm/io.h> > > +/* Features for chips (set in driver_data) */ > +#define NSC_FORCE_DONGLE_TYPE9 0x00000001 > + > /* DMA modes needed */ > #define DMA_TX_MODE 0x08 /* Mem to I/O, ++, demand. */ > #define DMA_RX_MODE 0x04 /* I/O to mem, ++, demand. */ >
The changelog doesn't exist^Wexplain the reasons for this patch. I assume it fixes some bug? What is it? --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/7] Patches from Ubuntu kernel tree
, Ben Collins
, (Wed Jan 2, 8:57 am)
kill misleading comments in trampoline_*.S
, Pavel Machek
, (Thu Jan 31, 5:54 pm)
Re: kill misleading comments in trampoline_*.S
, Yinghai Lu
, (Thu Jan 31, 6:02 pm)
Re: kill misleading comments in trampoline_*.S
, Pavel Machek
, (Thu Jan 31, 6:05 pm)
Re: kill misleading comments in trampoline_*.S
, Ingo Molnar
, (Fri Feb 1, 4:16 am)
[PATCH 4/7] irda: Default to dongle type 9 on IBM hardware
, Matthew Garrett
, (Sun Jul 20, 2:08 pm)
[PATCH 7/7] HID: Add quirks for fourth generation MacBooks ...
, Alexandre Karpenko
, (Sun Jul 20, 2:44 pm)
[PATCH 6/7] pm: Config option to disable handling of conso ...
, Ben Collins
, (Sun Jul 20, 6:48 pm)
Re: [PATCH 4/7] irda: Default to dongle type 9 on IBM hardware
, Marcel Holtmann
, (Sun Jul 20, 10:29 pm)
Re: [PATCH 4/7] nsc-ircc: Default to dongle type 9 on IBM ...
, Ben Collins
, (Mon Jul 21, 10:40 am)
Re: [PATCH 4/7] nsc-ircc: Default to dongle type 9 on IBM ...
, Andrew Morton
, (Mon Jul 28, 7:46 pm)
Re: [PATCH 6/7] pm: Config option to disable handling of c ...
, Greg KH
, (Mon Jul 28, 8:33 pm)
Re: [PATCH 0/7] Patches from Ubuntu kernel tree
, Greg KH
, (Mon Jul 28, 8:35 pm)
Re: [PATCH 6/7] pm: Config option to disable handling of c ...
, Rafael J. Wysocki
, (Tue Jul 29, 2:15 pm)
Re: [PATCH 6/7] pm: Config option to disable handling of c ...
, Ben Collins
, (Tue Jul 29, 2:51 pm)
Re: [PATCH 6/7] pm: Config option to disable handling of c ...
, Rafael J. Wysocki
, (Tue Jul 29, 3:18 pm)
Re: [PATCH 4/7] nsc-ircc: Default to dongle type 9 on IBM ...
, Matthew Garrett
, (Tue Jul 29, 6:44 pm)
Re: [PATCH 4/7] nsc-ircc: Default to dongle type 9 on IBM ...
, Andrew Morton
, (Tue Jul 29, 7:16 pm)
Re: [PATCH 6/7] pm: Config option to disable handling of c ...
, Greg KH
, (Tue Jul 29, 9:47 pm)
Re: [PATCH 4/7] nsc-ircc: Default to dongle type 9 on IBM ...
, Matthew Garrett
, (Tue Jul 29, 10:11 pm)
Re: [PATCH 4/7] nsc-ircc: Default to dongle type 9 on IBM ...
, Ben Collins
, (Wed Jul 30, 7:17 am)
Re: [PATCH 6/7] pm: Config option to disable handling of c ...
, Ben Collins
, (Wed Jul 30, 7:20 am)
Re: [PATCH 6/7] pm: Config option to disable handling of c ...
, Pavel Machek
, (Sun Aug 3, 11:28 pm)
Re: [PATCH 6/7] pm: Config option to disable handling of c ...
, Ben Collins
, (Thu Aug 7, 2:23 pm)
Re: [PATCH 6/7] pm: Config option to disable handling of c ...
, Rafael J. Wysocki
, (Thu Aug 7, 2:43 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Russell King
Re: ARM defconfig files
Benjamin Herrenschmidt
Re: [PATCH 1/4] hvc_console: do not set low_latency
Jordan Crouse
Re: 2.6.25-mm1
Carsten Otte
Re: [patch] ext2: xip check fix
James Morris
Re: [AppArmor 01/41] Pass struct vfsmount to the inode_create LSM hook
git
:
Felipe Contreras
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Johannes Schindelin
[PATCH] fetch: refuse to fetch into the current branch in a non-bare repository
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
Peter Oberndorfer
Subject: [PATCH] fix stg edit command
Andreas Ericsson
Re: why not TortoiseGit
linux-netdev
:
Ursula Braun
[patch 2/8] [PATCH] af_iucv: sync sk shutdown flag if iucv path is quiesced
Andi Kleen
Re: RFC: Nagle latency tuning
Gary Thomas
Re: Marvell 88E609x switch?
David Miller
Re: [RFC 0/5] generic rx recycling
Chuck Lever
Re: [RFC] ipv6: Change %pI6 format to output compacted addresses?
git-commits-head
:
Linux Kernel Mailing List
New device ID for sc92031 [1088:2031]
Linux Kernel Mailing List
e1000e: Expose MDI-X status via ethtool change
Linux Kernel Mailing List
arm/imx/gpio: GPIO_INT_{HIGH,LOW}_LEV are not necessarily constant
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
trivial: fix comment typo in fs/compat.c
openbsd-misc
:
Theo de Raadt
Re: RES: OpenBSD on IBM System X3550 7879
Bret S. Lambert
Re: any web management gui for pf ?
Rob Shepherd
x86 hardware for router system
Flickr Photo Map for iPad and iPhone
Thanks for the Great Launch of Flickr Photo Map for iPad + iPhone
Nick Holland
Re: 1 out of 3 hunks failed--saving rejects to kerberosV/src/lib/krb5/crypto.c.rej
Colocation donated by:
Syndicate