I am trying to write a very kludgey/monolithic driver for a CardBus ethernet
adapter.  I have run into a bit of a stumbling block on some issues.  One such
issue is the attach (I need to map some registers of the adapter into memory
space so I can read/write values.).  Anyway if someone could explain some
of the following I would be very thankfull.

Take your average run-to-the mill PCI network driver... like FPA or FXP.  Now
look for the attach routines... there are *2* of them, with the exact same
function name, and different arguments?!?!

Huh, what is going on here?  Help?

--
David Cross                               | email: cro...@cs.rpi.edu 
Systems Administrator/Research Programmer | Web: http://www.cs.rpi.edu/~crossd 
Rensselaer Polytechnic Institute,         | Ph: 518.276.2860            
Department of Computer Science            | Fax: 518.276.4033
I speak only for myself.                  | WinNT:Linux::Linux:FreeBSD


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to