login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
15
Re: [PATCH 04/14] [ISDN] HiSax bkm_a4t: convert to PCI hotplug API
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Sam Ravnborg <sam@...>
To: Jeff Garzik <jeff@...>
Cc: <linux-kernel@...>, <kkeil@...>, <isdn4linux@...>
Subject:
Re: [PATCH 04/14] [ISDN] HiSax bkm_a4t: convert to PCI hotplug API
Date: Friday, February 15, 2008 - 9:33 am
On Tue, Jul 17, 2007 at 11:46:11PM -0400, Jeff Garzik wrote:
quoted text
> Signed-off-by: Jeff Garzik <jeff@garzik.org> > --- > drivers/isdn/hisax/Kconfig | 4 +- > drivers/isdn/hisax/Makefile | 3 +- > drivers/isdn/hisax/bkm_a4t.c | 115 ++++++++++++++++++++++++++++-------------- > drivers/isdn/hisax/config.c | 27 ++++------ > 4 files changed, 92 insertions(+), 57 deletions(-) > > diff --git a/drivers/isdn/hisax/Kconfig b/drivers/isdn/hisax/Kconfig > index 7832d8b..e7808f5 100644 > --- a/drivers/isdn/hisax/Kconfig > +++ b/drivers/isdn/hisax/Kconfig > @@ -286,8 +286,8 @@ config HISAX_HSTSAPHIR > settings. > > config HISAX_BKM_A4T > - bool "Telekom A4T card" > - depends on PCI && PCI_LEGACY > + tristate "Telekom A4T card" > + depends on PCI > help > This enables HiSax support for the Telekom A4T card. > > diff --git a/drivers/isdn/hisax/Makefile b/drivers/isdn/hisax/Makefile > index b0b09e9..42bfc2f 100644 > --- a/drivers/isdn/hisax/Makefile > +++ b/drivers/isdn/hisax/Makefile > @@ -15,7 +15,9 @@ obj-$(CONFIG_HISAX_ST5481) += hisax_st5481.o > obj-$(CONFIG_HISAX_HFCUSB) += hfc_usb.o > obj-$(CONFIG_HISAX_HFC4S8S) += hfc4s8s_l1.o > obj-$(CONFIG_HISAX_FRITZ_PCIPNP) += hisax_isac.o hisax_fcpcipnp.o > +obj-$(CONFIG_HISAX_BKM_A4T) += bkm_a4t_pci.o libhisax.o > > +bkm_a4t_pci-objs := bkm_a4t.o jade.o
Could we please use:
quoted text
> +bkm_a4t_pci-y := bkm_a4t.o jade.o
quoted text
> +static int __devinit > setup_bkm_a4t(struct IsdnCard *card)
One single line like you do here:
quoted text
> + > +static int __devinit a4t_pci_init_one(struct pci_dev *pdev, > + const struct pci_device_id *ent)
quoted text
> + > +static struct pci_device_id a4t_pci_table[] = { > + { PCI_VENDOR_ID_ZORAN, PCI_DEVICE_ID_ZORAN_36120, > + PCI_VENDOR_ID_BERKOM, PCI_DEVICE_ID_BERKOM_A4T, }, > + > + { } /* terminate list */ > +};
const?
quoted text
> + > +static struct pci_driver a4t_pci_driver = { > + .name = "bkm_a4t", > + .id_table = a4t_pci_table, > + .probe = a4t_pci_init_one, > + .remove = hisax_pci_remove_one, > +};
const?
quoted text
> +module_param_named(protocol, a4t_protocol, int, 0444); > +MODULE_PARM_DESC(protocol, "Values 0 (default) through 4. See ISDN_PTYPE_xxx in linux/isdnif.h"); > + > +MODULE_DEVICE_TABLE(pci, a4t_pci_table); > +MODULE_DESCRIPTION("ISDN HiSax BKM A4T PCI driver"); > +MODULE_LICENSE("GPL");
I thought this stuff belongs to top of file - not bottom. Sam --
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 00/14] [ISDN] HiSax hotplug conversion
, Jeff Garzik
, (Tue Jul 17, 11:04 pm)
Re: NFS hang + umount -f: better behaviour requested.
, Salah Coronya
, (Mon Aug 20, 9:51 pm)
Re: [PATCH 00/14] [ISDN] HiSax hotplug conversion
, Andrew Morton
, (Fri Feb 15, 9:09 pm)
Re: [PATCH 00/14] [ISDN] HiSax hotplug conversion
, Sam Ravnborg
, (Fri Feb 15, 9:27 am)
Re: [PATCH 00/14] [ISDN] HiSax hotplug conversion
, Jeff Garzik
, (Fri Feb 15, 11:13 am)
Re: [PATCH 00/14] [ISDN] HiSax hotplug conversion
, Sam Ravnborg
, (Fri Feb 15, 3:11 pm)
Re: [PATCH 00/14] [ISDN] HiSax hotplug conversion
, Jeff Garzik
, (Thu Feb 14, 7:53 pm)
Re: [PATCH 00/14] [ISDN] HiSax hotplug conversion
, Greg KH
, (Thu Feb 14, 7:52 pm)
Re: [PATCH 00/14] [ISDN] HiSax hotplug conversion
, Jeff Garzik
, (Thu Feb 14, 7:50 pm)
[PATCH 14/14] [isdn-pci] add missing file
, Jeff Garzik
, (Tue Nov 6, 10:41 am)
[PATCH 13/14] [ISDN] HiSax bkm_a8: convert to PCI hotplug API
, Jeff Garzik
, (Thu Aug 2, 8:37 am)
[PATCH 12/14] [ISDN] HiSax diva: convert to modern ISA/PNP/P...
, Jeff Garzik
, (Wed Oct 31, 1:13 am)
[PATCH 11/14] [ISDN] HiSax niccy: convert to modern ISA/PNP/...
, Jeff Garzik
, (Tue Jul 24, 8:26 am)
[PATCH 10/14] [ISDN] HiSax gazel: convert to modern ISA/PCI ...
, Jeff Garzik
, (Wed Oct 31, 1:12 am)
[PATCH 09/14] [ISDN] HiSax avm_pci: convert to modern PCI/IS...
, Jeff Garzik
, (Wed Oct 31, 1:11 am)
[PATCH 08/14] [ISDN] HiSax telespci: convert to PCI hotplug ...
, Jeff Garzik
, (Wed Jul 18, 12:02 am)
[PATCH 07/14] [ISDN] HiSax nj_s, nj_u: convert to PCI hotplu...
, Jeff Garzik
, (Tue Jul 17, 11:59 pm)
[PATCH 06/14] [ISDN] HiSax hfc_pci, w6692: convert to PCI ho...
, Jeff Garzik
, (Tue Jul 17, 11:54 pm)
[PATCH 05/14] [ISDN] HiSax enternow: convert to PCI hotplug ...
, Jeff Garzik
, (Tue Jul 17, 11:49 pm)
Re: [PATCH 05/14] [ISDN] HiSax enternow: convert to PCI hotp...
, Jan Engelhardt
, (Fri Feb 15, 9:21 am)
[PATCH 04/14] [ISDN] HiSax bkm_a4t: convert to PCI hotplug API
, Jeff Garzik
, (Tue Jul 17, 11:46 pm)
Re: [PATCH 04/14] [ISDN] HiSax bkm_a4t: convert to PCI hotpl...
, Sam Ravnborg
, (Fri Feb 15, 9:33 am)
[PATCH 03/14] [ISDN] Ready HiSax driver for modularization
, Jeff Garzik
, (Wed Oct 31, 1:10 am)
Re: [PATCH 03/14] [ISDN] Ready HiSax driver for modularization
, Sam Ravnborg
, (Fri Feb 15, 9:45 am)
[PATCH 02/14] [ISDN] Hisax: eliminate many unnecessary refer...
, Jeff Garzik
, (Wed Oct 31, 3:42 am)
Re: [PATCH 02/14] [ISDN] Hisax: eliminate many unnecessary r...
, Sam Ravnborg
, (Fri Feb 15, 9:37 am)
[PATCH 01/14] [ISDN] HiSax: modularize card setup
, Jeff Garzik
, (Tue Jul 17, 11:04 pm)
Re: [PATCH 01/14] [ISDN] HiSax: modularize card setup
, Sam Ravnborg
, (Fri Feb 15, 9:38 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Amit K. Arora
[RFC] Heads up on sys_fallocate()
Linus Torvalds
Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series..
Paul Jackson
Re: cpuset-remove-sched-domain-hooks-from-cpusets
Greg KH
[GIT PATCH] driver core patches against 2.6.24
git
:
linux-netdev
:
Linus Torvalds
Re: [GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
Re: [klibc] [patch] import socket defines
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
580 guests
online.
Online users
wikaniko
Syndicate