Commit Graph

6 Commits

Author SHA1 Message Date
bouyer 5243b06e38 Improvement: allocate one page of dmamem for Rx, Tx and nullbuff instead of
3 different ones.
Also pass the rigth seg/nseg to bus_dmamem_free().
Correct types in debug printf's
2001-08-06 19:20:26 +00:00
bouyer 7c292e3d22 - kill the carrier detect code. It's not usefull any more and can give
false informations on a loaded ethernet segement.
- convert to bus_dma(9) (better late than never :)
- add proper le32toh/htole32 so that it works on big-endian system (tested
  on macppc).
Close PR kern/10327.
2001-08-03 16:53:08 +00:00
thorpej fc96443d15 New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 07:01:25 +00:00
tron edd69ba694 Because memory mapped access doesn't fail only with the docking station
for the TI TravelMate 5000 but also with at least one Compaq NIC we
prefer I/O mapped access again. Fixes PR kern/6690.
1999-01-11 22:45:41 +00:00
bouyer 53d231dae3 correct indent. 1998-08-15 16:49:33 +00:00
thorpej b1fb3ecb0f Adapt to the new MII code. This required splitting some structures into
if_tlvar.h, since the ThunderLAN PHY driver needs to know some things
about it's parent (and since it can only attach to a ThunderLAN chip,
this is the easiest way).
1998-08-11 00:09:26 +00:00