From: Jeff Garzik <jgarzik@pobox.com>
To: Ben Greear <greearb@candelatech.com>
Cc: Donald Becker <becker@scyld.com>, jamal <hadi@cyberus.ca>,
netdev@oss.sgi.com
Subject: Re: SIOCADDMULTI for unicast broken
Date: Fri, 03 Jan 2003 20:52:13 -0500 [thread overview]
Message-ID: <3E163E4D.5090007@pobox.com> (raw)
In-Reply-To: <3E163CBB.30206@candelatech.com>
Ben Greear wrote:
> Donald Becker wrote:
>
>> It was
>> "If you need this capability for a RESEARCH PROJECT, you can buy this
>> specific board and thus not need to modify the kernel or device
>> driver. "
>>
>> You can also find a few people that want to receive specific corrupted
>> packets, change the meaning of LEDs on a NIC, and do many other strange
>> things. But we don't need a defined kernel interface for each one.
>
>
> Just out of curiosity, what is the suggested manner for adding such
> back-door hacks as this?
SIOCDEVPRIVATE is staying around
> Maybe in a proc file system that the driver
> implements?
No! procfs additions are discouraged. sysfs in 2.5.x if you _must_ do
this, but SIOCDEVPRIVATE or just flat out maintaining a kernel patch
against a stable kernel tree would be much preferred, I think.
> It would be neat to see various driver-specific features
> like this be implemented, and it would be even nicer if they followed
> at least some general guideline for how to interface with the rest of
> the world...
Driver-specific features are by definition just that :) If you want a
general guideline, you'll also want a header or helper lib quite often
to eliminate duplication of code and standardize the interface.
Jeff
next prev parent reply other threads:[~2003-01-04 1:52 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-03 21:46 SIOCADDMULTI for unicast broken jamal
2003-01-04 0:07 ` Donald Becker
2003-01-04 1:18 ` Jeff Garzik
2003-01-04 1:39 ` Donald Becker
2003-01-04 1:45 ` Ben Greear
2003-01-04 1:52 ` Jeff Garzik [this message]
2003-01-06 15:00 ` Krzysztof Halasa
2003-01-04 2:18 ` Donald Becker
2003-01-04 4:11 ` jamal
2003-01-04 6:33 ` Donald Becker
2003-01-04 17:41 ` jamal
2003-01-04 18:24 ` Donald Becker
2003-01-04 18:55 ` jamal
2003-01-04 18:36 ` Julian Anastasov
2003-01-04 19:04 ` jamal
2003-01-05 11:45 ` Julian Anastasov
2003-01-06 13:44 ` jamal
2003-01-06 15:00 ` Julian Anastasov
2003-01-06 17:23 ` jamal
2003-01-04 7:32 ` Jeff Garzik
2003-01-04 17:43 ` jamal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3E163E4D.5090007@pobox.com \
--to=jgarzik@pobox.com \
--cc=becker@scyld.com \
--cc=greearb@candelatech.com \
--cc=hadi@cyberus.ca \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).