> I have a question about Freebsd driver. If we want to support some
> options in driver(like speed and duplex mode setting) , user can use this
> option to change driver configurations. I am not sure whether freebsd
> driver support driver parameter or something else. Can you give me some
> suggestions? Thanks!!

>From the question, I infer that you are referring to Ethernet device 
drivers.  In the FreeBSD model, devices fit into one or more of a set of 
classes.  Each class has an established, device-independant mechanism for 
controlling driver parameters.  In the case of Ethernet drivers, 
parameters are controlled via the driver's ioctl interface.

You should be able to find good examples of this in the source for other 
drivers similar to your own.  If you have more specific questions, please 
feel free to ask them here.

Regards,
Mike



-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to