* [AX25, ROSE] Remove useless SET_MODULE_OWNER calls.
@ 2006-04-29 14:29 Ralf Baechle DL5RB
2006-04-30 12:03 ` Dan Williams
2006-05-04 6:23 ` David S. Miller
0 siblings, 2 replies; 5+ messages in thread
From: Ralf Baechle DL5RB @ 2006-04-29 14:29 UTC (permalink / raw)
To: David S. Miller, netdev, linux-hams
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
--
net/netrom/nr_dev.c | 1 -
net/rose/rose_dev.c | 1 -
2 files changed, 2 deletions(-)
Index: linux-net.git/net/netrom/nr_dev.c
===================================================================
--- linux-net.git.orig/net/netrom/nr_dev.c 2006-04-29 01:43:47.000000000 +0100
+++ linux-net.git/net/netrom/nr_dev.c 2006-04-29 11:38:00.000000000 +0100
@@ -185,7 +185,6 @@ static struct net_device_stats *nr_get_s
void nr_setup(struct net_device *dev)
{
- SET_MODULE_OWNER(dev);
dev->mtu = NR_MAX_PACKET_SIZE;
dev->hard_start_xmit = nr_xmit;
dev->open = nr_open;
Index: linux-net.git/net/rose/rose_dev.c
===================================================================
--- linux-net.git.orig/net/rose/rose_dev.c 2006-04-29 01:43:47.000000000 +0100
+++ linux-net.git/net/rose/rose_dev.c 2006-04-29 11:38:00.000000000 +0100
@@ -135,7 +135,6 @@ static struct net_device_stats *rose_get
void rose_setup(struct net_device *dev)
{
- SET_MODULE_OWNER(dev);
dev->mtu = ROSE_MAX_PACKET_SIZE - 2;
dev->hard_start_xmit = rose_xmit;
dev->open = rose_open;
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [AX25, ROSE] Remove useless SET_MODULE_OWNER calls.
2006-04-29 14:29 [AX25, ROSE] Remove useless SET_MODULE_OWNER calls Ralf Baechle DL5RB
@ 2006-04-30 12:03 ` Dan Williams
2006-04-30 13:38 ` Herbert Xu
2006-05-04 6:23 ` David S. Miller
1 sibling, 1 reply; 5+ messages in thread
From: Dan Williams @ 2006-04-30 12:03 UTC (permalink / raw)
To: Ralf Baechle DL5RB; +Cc: David S. Miller, netdev, linux-hams
On Sat, 2006-04-29 at 15:29 +0100, Ralf Baechle DL5RB wrote:
> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
>
> --
>
> net/netrom/nr_dev.c | 1 -
> net/rose/rose_dev.c | 1 -
> 2 files changed, 2 deletions(-)
>
> Index: linux-net.git/net/netrom/nr_dev.c
> ===================================================================
> --- linux-net.git.orig/net/netrom/nr_dev.c 2006-04-29 01:43:47.000000000 +0100
> +++ linux-net.git/net/netrom/nr_dev.c 2006-04-29 11:38:00.000000000 +0100
> @@ -185,7 +185,6 @@ static struct net_device_stats *nr_get_s
>
> void nr_setup(struct net_device *dev)
> {
> - SET_MODULE_OWNER(dev);
> dev->mtu = NR_MAX_PACKET_SIZE;
> dev->hard_start_xmit = nr_xmit;
> dev->open = nr_open;
Are these done by anything else now? Did something change to make
SET_MODULE_OWNER useless in individual drivers? I'm asking because I
was fairly sure that SET_MODULE_OWNER set up some sysfs links and such
that HAL depends on to figure out information about the driver and
hardware device, much like SET_NETDEV_DEV.
Dan
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [AX25, ROSE] Remove useless SET_MODULE_OWNER calls.
2006-04-30 12:03 ` Dan Williams
@ 2006-04-30 13:38 ` Herbert Xu
2006-04-30 17:04 ` Dan Williams
0 siblings, 1 reply; 5+ messages in thread
From: Herbert Xu @ 2006-04-30 13:38 UTC (permalink / raw)
To: Dan Williams; +Cc: ralf, davem, netdev, linux-hams
Dan Williams <dcbw@redhat.com> wrote:
>
> Are these done by anything else now? Did something change to make
> SET_MODULE_OWNER useless in individual drivers? I'm asking because I
SET_MODULE_OWNER has been a no-op ever since Dave made live network
device driver modules unloadable nearly three years ago.
> was fairly sure that SET_MODULE_OWNER set up some sysfs links and such
> that HAL depends on to figure out information about the driver and
> hardware device, much like SET_NETDEV_DEV.
For PCI drivers the module information is injected by pci_register_driver.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [AX25, ROSE] Remove useless SET_MODULE_OWNER calls.
2006-04-30 13:38 ` Herbert Xu
@ 2006-04-30 17:04 ` Dan Williams
0 siblings, 0 replies; 5+ messages in thread
From: Dan Williams @ 2006-04-30 17:04 UTC (permalink / raw)
To: Herbert Xu; +Cc: ralf, davem, netdev, linux-hams
On Sun, 2006-04-30 at 23:38 +1000, Herbert Xu wrote:
> Dan Williams <dcbw@redhat.com> wrote:
> >
> > Are these done by anything else now? Did something change to make
> > SET_MODULE_OWNER useless in individual drivers? I'm asking because I
>
> SET_MODULE_OWNER has been a no-op ever since Dave made live network
> device driver modules unloadable nearly three years ago.
Ah, thanks for the clarification.
dan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [AX25, ROSE] Remove useless SET_MODULE_OWNER calls.
2006-04-29 14:29 [AX25, ROSE] Remove useless SET_MODULE_OWNER calls Ralf Baechle DL5RB
2006-04-30 12:03 ` Dan Williams
@ 2006-05-04 6:23 ` David S. Miller
1 sibling, 0 replies; 5+ messages in thread
From: David S. Miller @ 2006-05-04 6:23 UTC (permalink / raw)
To: ralf; +Cc: netdev, linux-hams
From: Ralf Baechle DL5RB <ralf@linux-mips.org>
Date: Sat, 29 Apr 2006 15:29:43 +0100
> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Applied, thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-05-04 6:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-29 14:29 [AX25, ROSE] Remove useless SET_MODULE_OWNER calls Ralf Baechle DL5RB
2006-04-30 12:03 ` Dan Williams
2006-04-30 13:38 ` Herbert Xu
2006-04-30 17:04 ` Dan Williams
2006-05-04 6:23 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).