Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 1999 11:13:36 -0400
From:      "David E. Cross" <crossd@cs.rpi.edu>
To:        freebsd-hackers@freebsd.org
Subject:   PCI programming woes.
Message-ID:  <199908191513.LAA92421@cs.rpi.edu>

next in thread | raw e-mail | index | archive | help
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: crossd@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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908191513.LAA92421>