| To: | willy@xxxxxxxxxx |
|---|---|
| Subject: | Re: [PATCH] netdev_ops |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Tue, 08 Jul 2003 15:08:35 -0700 (PDT) |
| Cc: | greearb@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20030708212551.GL1939@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
| References: | <20030708163042.GL23597@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <3F0B2D30.4020102@xxxxxxxxxxxxxxx> <20030708212551.GL1939@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
From: Matthew Wilcox <willy@xxxxxxxxxx> Date: Tue, 8 Jul 2003 22:25:51 +0100 On Tue, Jul 08, 2003 at 01:44:32PM -0700, Ben Greear wrote: > Some of these are missing their netdevice arg? > >+ int (*get_regs_len)(struct ethtool_regs *); > >+ int (*self_test_len)(struct ethtool_test *); > >+ int (*get_strings_len)(struct ethtool_gstrings *); > >+ int (*get_stats_len)(struct ethtool_stats *); Well, they don't actually need it -- these are more attributes of the underlying driver than they are of any individual network device. Not true, at least for the regs len different variants of the same chip can have a different sized register set. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH], Stephen Hemminger |
|---|---|
| Next by Date: | [PATCH] convert plip to alloc_netdev, Stephen Hemminger |
| Previous by Thread: | Re: [PATCH] netdev_ops, Matthew Wilcox |
| Next by Thread: | Re: [PATCH] netdev_ops, Matthew Wilcox |
| Indexes: | [Date] [Thread] [Top] [All Lists] |