#
296373 |
|
04-Mar-2016 |
marius |
- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.3. - Update default pkg(8) configuration to use the quarterly branch.
Approved by: re (implicit) |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
147524 |
|
22-Jun-2005 |
harti |
Fix the debugging macro. The struct ifnet isn't embedded in softc anymore - instead we have a pointer in the softc to it. Use that instead to call if_printf().
Approved by: re
|
#
147256 |
|
10-Jun-2005 |
brooks |
Stop embedding struct ifnet at the top of driver softcs. Instead the struct ifnet or the layer 2 common structure it was embedded in have been replaced with a struct ifnet pointer to be filled by a call to the new function, if_alloc(). The layer 2 common structure is also allocated via if_alloc() based on the interface type. It is hung off the new struct ifnet member, if_l2com.
This change removes the size of these structures from the kernel ABI and will allow us to better manage them as interfaces come and go.
Other changes of note: - Struct arpcom is no longer referenced in normal interface code. Instead the Ethernet address is accessed via the IFP2ENADDR() macro. To enforce this ac_enaddr has been renamed to _ac_enaddr. - The second argument to ether_ifattach is now always the mac address from driver private storage rather than sometimes being ac_enaddr.
Reviewed by: sobomax, sam
|
#
139749 |
|
06-Jan-2005 |
imp |
Start each of the license/copyright comments with /*-, minor shuffle of lines
|
#
122113 |
|
05-Nov-2003 |
harti |
Make the driver conditionally MPSAFE. MPSAFEty defaults to not-mpsafe but can be enabled by setting hw.atm.hatmN.mpsafe in the kernel environment to a non-zero value before loading the driver. When the problems with network MPSAFEty have been sorted out this will be removed and the driver will default to MPSAFE.
|
#
122112 |
|
05-Nov-2003 |
harti |
When compiled with debugging trace the number of transmit mbufs that we own. Warn if something strange happens (number drops below zero or there appears to be a leak).
|
#
121797 |
|
31-Oct-2003 |
harti |
Fix breakage on ia64: PAGE_SIZE on ia64 is large enough that more than 256 raw receive buffers (96 byte each) fit into one page. This breaks the limit imposed by the usage of an uint8_t for the buffer number. Restrict the allocation size for buffers to a maximum of 8192.
|
#
121729 |
|
30-Oct-2003 |
harti |
Reinvent the used-flag for external mbufs. This and the on-card flag are now in the header of the external buffer itself which allows us to manipulate them in the free routine without having to lock the softc structure or the free list. To get space for these flags the chunk number is reduced to 8 bit which amounts to a maximum of 256 chunks per allocated page. This restriction is now enforced by a CTASSERT.
|
#
121685 |
|
29-Oct-2003 |
harti |
Make the maximum number of pages for external mbufs configurable in the kernel environment and accessible as a RO sysctl.
Explain that the HE155 will not work in 64-bit/66MHz slots, but may work in 64-bit/33MHz slots.
|
#
121681 |
|
29-Oct-2003 |
harti |
Make the value of the HATM_DEBUG symbol the default for the debugging flags. Introduce a new debugging flag to dump received packets.
|
#
121680 |
|
29-Oct-2003 |
harti |
Inline a function that was called only in one place directly into that place.
Correct a bug when the number of pages for external mbufs was very large. In this case the page number could overflow into the large buffer flag. Make this more unlikley by move that flag further away.
|
#
121677 |
|
29-Oct-2003 |
harti |
We have some space in the external mbufs so use this space for the external buffer reference count. This saves us a malloc() + free() per small receive mbuf.
|
#
121676 |
|
29-Oct-2003 |
harti |
Defer allocation of the actual receive mbuf until the external buffer is returned from the card to the driver. Add a counter that shows how many times this allocation has failed. Note, that we could even further delay the allocation of the mbuf until we know, that we need it (there are no receive errors and the connection is open). This will be done in a later commit.
Print the new statistics field in atmconfig.
|
#
121675 |
|
29-Oct-2003 |
harti |
Get rid of the mutexes for the exernal buffer free lists. Use atomic instructions instead. Remove the stuff used to track whether an external mbuf travels through the system. This is temporary only and will come back soon.
|
#
118598 |
|
07-Aug-2003 |
harti |
Make the driver preserve open connections accross ifconfig down and up commands. When configuring the interface down only the connections that are currently closing are deleted from the connection table. When the interface is configured up, all connections that are in the table are re-opened.
|
#
118540 |
|
06-Aug-2003 |
harti |
Make the driver honor the ATMIO_FLAG_ASYNC that requests asynchronuous open/close operations.
|
#
118205 |
|
30-Jul-2003 |
harti |
Rearrange the fields in the vcc table entry to fit to the requirements of the generic getvcc function and used that function instead of the home grown.
|
#
118169 |
|
29-Jul-2003 |
harti |
Remove the rather bogus statistics sysctl and merge it into the internal driver statistics sysctl.
|
#
116491 |
|
17-Jun-2003 |
harti |
This is a driver for Fore/Marconi HE155 and HE622 ATM cards. It is full busdma and has extensively been tested on i386 and sparc64.
|