| To: | philb@xxxxxxx (Philip Blundell) |
|---|---|
| Subject: | Re: [RFC] Configuring synchronous interfaces in Linux |
| From: | Russell King <rmk@xxxxxxxxxxxxxxxx> |
| Date: | Sun, 3 Dec 2000 11:27:47 +0000 (GMT) |
| Cc: | cw@xxxxxxxx (Chris Wedgwood), linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <E142X2p-0003Kc-00@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> from "Philip Blundell" at Dec 03, 2000 11:10:59 AM |
| Sender: | owner-netdev@xxxxxxxxxxx |
(CC list trimmed)
Philip Blundell writes:
> >Does it? At which point? To me it looks like it calls dev->do_ioctl
> >or am I missing something?
>
> It uses SIOCSIFMAP, which (I think) winds up in dev.c here:
>
> case SIOCSIFMAP:
> if (dev->set_config) {
> if (!netif_device_present(dev))
> return -ENODEV;
> return dev->set_config(dev,&ifr->ifr_map);
> }
> return -EOPNOTSUPP;
It definitely does end up there. However, the ethtool ioctls end up
in dev->do_ioctl.
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King rmk@xxxxxxxxxxxxxxxx --- ---
| | | | http://www.arm.linux.org.uk/personal/aboutme.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
|
| Previous by Date: | Re: [RFC] Configuring synchronous interfaces in Linux, Philip Blundell |
|---|---|
| Next by Date: | Re: [RFC] Configuring synchronous interfaces in Linux, Jeff Garzik |
| Previous by Thread: | Re: [RFC] Configuring synchronous interfaces in Linux, Philip Blundell |
| Next by Thread: | Re: [RFC] Configuring synchronous interfaces in Linux, Keith Owens |
| Indexes: | [Date] [Thread] [Top] [All Lists] |