login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
September
»
25
Re: [PATCH] net: add net poll support for atl2 driver
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Jay Cliburn
Subject:
Re: [PATCH] net: add net poll support for atl2 driver
Date: Thursday, September 25, 2008 - 4:45 pm
On Sat, 20 Sep 2008 15:56:44 +0800 Kevin Hao <kexin.hao@windriver.com> wrote:
quoted text
> Add netconsole support for Atheros L2 10/100 network device. > > Signed-off-by: Kevin Hao <kexin.hao@windriver.com> > --- > drivers/net/atlx/atl2.c | 12 ++++++++++++ > 1 files changed, 12 insertions(+), 0 deletions(-) > > diff --git a/drivers/net/atlx/atl2.c b/drivers/net/atlx/atl2.c > index d548a67..b2995ac 100644 > --- a/drivers/net/atlx/atl2.c > +++ b/drivers/net/atlx/atl2.c > @@ -1327,6 +1327,15 @@ static void atl2_setup_pcicmd(struct pci_dev > *pdev) pci_write_config_dword(pdev, REG_PM_CTRLSTAT, 0); > } > > +#ifdef CONFIG_NET_POLL_CONTROLLER > +static void atl2_poll_controller(struct net_device *netdev) > +{ > + disable_irq(netdev->irq); > + atl2_intr(netdev->irq, netdev); > + enable_irq(netdev->irq); > +} > +#endif > + > /* > * atl2_probe - Device Initialization Routine > * @pdev: PCI device information struct > @@ -1410,6 +1419,9 @@ static int __devinit atl2_probe(struct pci_dev > *pdev, netdev->do_ioctl = &atl2_ioctl; > atl2_set_ethtool_ops(netdev); > > +#ifdef CONFIG_NET_POLL_CONTROLLER > + netdev->poll_controller = atl2_poll_controller; > +#endif > #ifdef HAVE_TX_TIMEOUT > netdev->tx_timeout = &atl2_tx_timeout; > netdev->watchdog_timeo = 5 * HZ;
Acked-by: Jay Cliburn <jacliburn@bellsouth.net> --
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] net: add net poll support for atl2 driver
, Kevin Hao
, (Sat Sep 20, 12:56 am)
Re: [PATCH] net: add net poll support for atl2 driver
, Jay Cliburn
, (Thu Sep 25, 4:45 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Howells
[PATCH] KEYS: Use the variable 'key' in keyctl_describe_key()
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Greg Kroah-Hartman
[PATCH 09/36] driver core: register_memory/unregister_memory clean ups and bugfix
Greg Kroah-Hartman
[PATCH 08/36] driver core: memory: semaphore to mutex
Pierre Ossman
Re: sdio: enhance IO_RW_EXTENDED support
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Johannes Schindelin
Re: error: cannot lock ref 'refs/remotes/origin/*'
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Michael Witten
Re: 'git gc --aggressive' effectively unusable
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
linux-netdev
:
David Miller
Re: [PATCH 32/53] netns xfrm: finding policy in netns
Jean-Louis Dupond
Re: tg3 driver not advertising 1000mbit
Jan Engelhardt
[PATCH 1/3] net: tcp: make hybla selectable as default congestion module
Daniel Schaffrath
Re: tcp bw in 2.6
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
git-commits-head
:
Linux Kernel Mailing List
ipv6: fix an oops when force unload ipv6 module
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
KVM: VMX: Clear CR4.VMXE in hardware_disable
Linux Kernel Mailing List
imxfb: Fix margin settings
Linux Kernel Mailing List
USB: set correct configuration in probe of ti_usb_3410_5052
openbsd-misc
:
Stas Miasnikou
Re: Another question: device naming convention
Darrin Chandler
Re: That whole "Linux stealing our code" thing
Community First Financial
Teacher A+ Loan
Jan Stary
Re: audio recording levels
Andrej Elizarov
Re: Web Browsers
Colocation donated by:
Syndicate