| History log of /src/sys/dev/ic/smc90cx6.c |
| Revision | | Date | Author | Comments |
| 1.77 |
| 08-Sep-2024 |
rillig | fix a/an grammar in obvious cases
|
| 1.76 |
| 05-Jul-2024 |
rin | sys: Drop redundant NULL check before m_freem(9)
m_freem(9) safely has accepted NULL argument at least since 4.2BSD: https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c
Compile-tested on amd64/ALL.
Suggested by knakahara@
|
| 1.75 |
| 30-Jan-2020 |
thorpej | branches: 1.75.30; Adopt <net/if_stats.h>.
|
| 1.74 |
| 05-Feb-2019 |
msaitoh | branches: 1.74.6; Remove very old IFF_NOTRAILERS flag.
|
| 1.73 |
| 26-Jun-2018 |
msaitoh | branches: 1.73.2; Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same as FreeBSD.
This change also fixes a bug that the direction is misunderstand on some environment by passing the direction to bpf_mtap*() instead of checking m->m_pkthdr.rcvif.
|
| 1.72 |
| 22-Jun-2018 |
msaitoh | It's not required to include net/bpfdesc.h. Remove it.
|
| 1.71 |
| 23-Oct-2017 |
msaitoh | branches: 1.71.2; If if_attach() failed in the attach function, return.
|
| 1.70 |
| 23-May-2017 |
ozaki-r | branches: 1.70.2; Remove an out-of-date comment
Pointed out by knakahara@
|
| 1.69 |
| 23-May-2017 |
ozaki-r | Apply deferred if_start to more drivers
And annotate some XXX_start as it runs in softint to clarify that it doesn't need deferred if_start.
|
| 1.68 |
| 15-Dec-2016 |
ozaki-r | Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input
The benefits of the change are: - We can reduce codes - We can provide the same behavior between drivers - Where/When if_ipackets is counted up - Note that some drivers still update packet statistics in their own way (periodical update) - Moved bpf_mtap run in softint - This makes it easy to MP-ify bpf
Proposed on tech-kern and tech-net
|
| 1.67 |
| 10-Jun-2016 |
ozaki-r | branches: 1.67.2; Introduce m_set_rcvif and m_reset_rcvif
The API is used to set (or reset) a received interface of a mbuf. They are counterpart of m_get_rcvif, which will come in another commit, hide internal of rcvif operation, and reduce the diff of the upcoming change.
No functional change.
|
| 1.66 |
| 09-Feb-2016 |
ozaki-r | Introduce softint-based if_input
This change intends to run the whole network stack in softint context (or normal LWP), not hardware interrupt context. Note that the work is still incomplete by this change; to that end, we also have to softint-ify if_link_state_change (and bpf) which can still run in hardware interrupt.
This change softint-ifies at ifp->if_input that is called from each device driver (and ieee80211_input) to ensure Layer 2 runs in softint (e.g., ether_input and bridge_input). To this end, we provide a framework (called percpuq) that utlizes softint(9) and percpu ifqueues. With this patch, rxintr of most drivers just queues received packets and schedules a softint, and the softint dequeues packets and does rest packet processing.
To minimize changes to each driver, percpuq is allocated in struct ifnet for now and that is initialized by default (in if_attach). We probably have to move percpuq to softc of each driver, but it's future work. At this point, only wm(4) has percpuq in its softc as a reference implementation.
Additional information including performance numbers can be found in the thread at tech-kern@ and tech-net@: http://mail-index.netbsd.org/tech-kern/2016/01/14/msg019997.html
Acknowledgment: riastradh@ greatly helped this work. Thank you very much!
|
| 1.65 |
| 30-Oct-2015 |
phx | Fixed format string types to make it compile with BAH_DEBUG again.
|
| 1.64 |
| 27-Oct-2012 |
chs | branches: 1.64.14; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
| 1.63 |
| 05-Apr-2010 |
joerg | branches: 1.63.8; 1.63.18; Push the bpf_ops usage back into bpf.h. Push the common ifp->if_bpf check into the inline functions as well the fourth argument for bpf_attach.
|
| 1.62 |
| 19-Jan-2010 |
pooka | branches: 1.62.2; 1.62.4; Redefine bpf linkage through an always present op vector, i.e. #if NBPFILTER is no longer required in the client. This change doesn't yet add support for loading bpf as a module, since drivers can register before bpf is attached. However, callers of bpf can now be modularized.
Dynamically loadable bpf could probably be done fairly easily with coordination from the stub driver and the real driver by registering attachments in the stub before the real driver is loaded and doing a handoff. ... and I'm not going to ponder the depths of unload here.
Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.
|
| 1.61 |
| 10-Jan-2010 |
snj | Add a missing closing parenthesis in a few places. From Henning Petersen in PR kern/42527.
|
| 1.60 |
| 31-May-2009 |
he | Don't include <machine/mtpr.h> anymore since it has been removed (at least from the amiga port) and appears to no longer be required.
|
| 1.59 |
| 14-Mar-2009 |
dsl | Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
|
| 1.58 |
| 12-Nov-2008 |
phx | branches: 1.58.4; Added missing #include <net/if_ether.h> for ether_ioctl().
|
| 1.57 |
| 07-Nov-2008 |
dyoung | *** Summary ***
When a link-layer address changes (e.g., ifconfig ex0 link 02:de:ad:be:ef:02 active), send a gratuitous ARP and/or a Neighbor Advertisement to update the network-/link-layer address bindings on our LAN peers.
Refuse a change of ethernet address to the address 00:00:00:00:00:00 or to any multicast/broadcast address. (Thanks matt@.)
Reorder ifnet ioctl operations so that driver ioctls may inherit the functions of their "class"---ether_ioctl(), fddi_ioctl(), et cetera---and the class ioctls may inherit from the generic ioctl, ifioctl_common(), but both driver- and class-ioctls may override the generic behavior. Make network drivers share more code.
Distinguish a "factory" link-layer address from others for the purposes of both protecting that address from deletion and computing EUI64.
Return consistent, appropriate error codes from network drivers.
Improve readability. KNF.
*** Details ***
In if_attach(), always initialize the interface ioctl routine, ifnet->if_ioctl, if the driver has not already initialized it. Delete if_ioctl == NULL tests everywhere else, because it cannot happen.
In the ioctl routines of network interfaces, inherit common ioctl behaviors by calling either ifioctl_common() or whichever ioctl routine is appropriate for the class of interface---e.g., ether_ioctl() for ethernets.
Stop (ab)using SIOCSIFADDR and start to use SIOCINITIFADDR. In the user->kernel interface, SIOCSIFADDR's argument was an ifreq, but on the protocol->ifnet interface, SIOCSIFADDR's argument was an ifaddr. That was confusing, and it would work against me as I make it possible for a network interface to overload most ioctls. On the protocol->ifnet interface, replace SIOCSIFADDR with SIOCINITIFADDR. In ifioctl(), return EPERM if userland tries to invoke SIOCINITIFADDR.
In ifioctl(), give the interface the first shot at handling most interface ioctls, and give the protocol the second shot, instead of the other way around. Finally, let compatibility code (COMPAT_OSOCK) take a shot.
Pull device initialization out of switch statements under SIOCINITIFADDR. For example, pull ..._init() out of any switch statement that looks like this:
switch (...->sa_family) { case ...: ..._init(); ... break; ... default: ..._init(); ... break; }
Rewrite many if-else clauses that handle all permutations of IFF_UP and IFF_RUNNING to use a switch statement,
switch (x & (IFF_UP|IFF_RUNNING)) { case 0: ... break; case IFF_RUNNING: ... break; case IFF_UP: ... break; case IFF_UP|IFF_RUNNING: ... break; }
unifdef lots of code containing #ifdef FreeBSD, #ifdef NetBSD, and #ifdef SIOCSIFMTU, especially in fwip(4) and in ndis(4).
In ipw(4), remove an if_set_sadl() call that is out of place.
In nfe(4), reuse the jumbo MTU logic in ether_ioctl().
Let ethernets register a callback for setting h/w state such as promiscuous mode and the multicast filter in accord with a change in the if_flags: ether_set_ifflags_cb() registers a callback that returns ENETRESET if the caller should reset the ethernet by calling if_init(), 0 on success, != 0 on failure. Pull common code from ex(4), gem(4), nfe(4), sip(4), tlp(4), vge(4) into ether_ioctl(), and register if_flags callbacks for those drivers.
Return ENOTTY instead of EINVAL for inappropriate ioctls. In zyd(4), use ENXIO instead of ENOTTY to indicate that the device is not any longer attached.
Add to if_set_sadl() a boolean 'factory' argument that indicates whether a link-layer address was assigned by the factory or some other source. In a comment, recommend using the factory address for generating an EUI64, and update in6_get_hw_ifid() to prefer a factory address to any other link-layer address.
Add a routing message, RTM_LLINFO_UPD, that tells protocols to update the binding of network-layer addresses to link-layer addresses. Implement this message in IPv4 and IPv6 by sending a gratuitous ARP or a neighbor advertisement, respectively. Generate RTM_LLINFO_UPD messages on a change of an interface's link-layer address.
In ether_ioctl(), do not let SIOCALIFADDR set a link-layer address that is broadcast/multicast or equal to 00:00:00:00:00:00.
Make ether_ioctl() call ifioctl_common() to handle ioctls that it does not understand.
In gif(4), initialize if_softc and use it, instead of assuming that the gif_softc and ifp overlap.
Let ifioctl_common() handle SIOCGIFADDR.
Sprinkle rtcache_invariants(), which checks on DIAGNOSTIC kernels that certain invariants on a struct route are satisfied.
In agr(4), rewrite agr_ioctl_filter() to be a bit more explicit about the ioctls that we do not allow on an agr(4) member interface.
bzero -> memset. Delete unnecessary casts to void *. Use sockaddr_in_init() and sockaddr_in6_init(). Compare pointers with NULL instead of "testing truth". Replace some instances of (type *)0 with NULL. Change some K&R prototypes to ANSI C, and join lines.
|
| 1.56 |
| 28-Apr-2008 |
martin | branches: 1.56.6; 1.56.8; Remove clause 3 and 4 from TNF licenses
|
| 1.55 |
| 08-Apr-2008 |
cegger | branches: 1.55.2; 1.55.4; use aprint_*_dev and device_xname
|
| 1.54 |
| 28-Dec-2007 |
joerg | branches: 1.54.6; Be friendly to timecounter enabled architectures.
|
| 1.53 |
| 25-Dec-2007 |
he | Convert to using if_set_sadl() instead of arc_storelladdr(), catching an overlooked setting of ifnet->if_sadl. This follows up the recent change to net/if.h.
|
| 1.52 |
| 19-Oct-2007 |
ad | branches: 1.52.2; 1.52.4; 1.52.8; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
| 1.51 |
| 08-Oct-2007 |
ad | branches: 1.51.2; Use the softint API.
|
| 1.50 |
| 03-Sep-2007 |
he | branches: 1.50.2; Rename function argument from command to cmd, to make the code actually build after the previous change.
|
| 1.49 |
| 01-Sep-2007 |
dyoung | Use ifreq_setaddr(), ifreq_getaddr(), sockaddr_in_init(), and sockaddr_copy(). Constify. Compare pointers with NULL, not 0. Don't "test truth" of pointers, but compare with NULL.
|
| 1.48 |
| 11-Jul-2007 |
he | branches: 1.48.2; 1.48.6; 1.48.8; Adapt to the new signature for callout_init().
|
| 1.47 |
| 04-Mar-2007 |
christos | branches: 1.47.2; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
| 1.46 |
| 25-Dec-2006 |
wiz | branches: 1.46.2; Spell "threshold" correctly. From Zafer Aydogan.
|
| 1.45 |
| 24-Dec-2005 |
perry | branches: 1.45.20; Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
|
| 1.44 |
| 11-Dec-2005 |
christos | merge ktrace-lwp.
|
| 1.43 |
| 27-Feb-2005 |
perry | branches: 1.43.4; nuke trailing whitespace
|
| 1.42 |
| 04-Feb-2005 |
perry | de-__P
|
| 1.41 |
| 02-Nov-2003 |
wiz | branches: 1.41.8; 1.41.10; Fix some typos. From Tom Cosgrove via jmc@openbsd.
|
| 1.40 |
| 06-Jan-2003 |
wiz | branches: 1.40.2; interrupt with two rs.
|
| 1.39 |
| 13-Nov-2001 |
lukem | add/cleanup RCSID
|
| 1.38 |
| 07-Jul-2001 |
thorpej | branches: 1.38.2; bcopy -> strcpy
|
| 1.37 |
| 14-Dec-2000 |
thorpej | branches: 1.37.2; ALTQ'ify.
|
| 1.36 |
| 12-Dec-2000 |
thorpej | Adapt to bpfattach() changes, and further centralize the bpfattach() and bpfdetach() calls into link-type subroutines where possible.
|
| 1.35 |
| 30-Mar-2000 |
augustss | Remove register declarations.
|
| 1.34 |
| 23-Mar-2000 |
thorpej | 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.
|
| 1.33 |
| 25-Sep-1999 |
is | branches: 1.33.2; Avoid calling m_pullup in a few places, where not necessary.
|
| 1.32 |
| 27-Aug-1999 |
is | Factor out arc_storelladdr(), and use that instead of arc_ifattach() in the bah_reset() function. This makes the last change work without deconnecting all the other interfaces from the interface list.
|
| 1.31 |
| 26-Aug-1999 |
is | Only use ifp->if_addrlen after initializing it.\ Problem detected by Andreas Johansson.
|
| 1.30 |
| 18-May-1999 |
thorpej | Rework layer 2 protocol input routines. Instead of calling e.g. ether_input() directly, call the function pointer (*if_input)(ifp, m). The input routine expects the packet header to be at the head of the packet, and will adjust as necessary. Privatize the layer 2 input and output routines, allowing *_ifattach() to set them up as appropriate.
|
| 1.29 |
| 16-Feb-1999 |
is | branches: 1.29.4; Fix Copyright dates
|
| 1.28 |
| 16-Feb-1999 |
is | Assign my files to The NetBSD Foundation, Inc.
|
| 1.27 |
| 20-Oct-1998 |
is | branches: 1.27.4; fully implement soft callback usage
|
| 1.26 |
| 19-Oct-1998 |
is | Stopgap fix for stupid pasto. Fix for the BAHSOFTCOPY case will be provided after more sleep.
|
| 1.25 |
| 02-Sep-1998 |
is | Split SMC chipset ARCnet driver into - machine independent chip driver, in dev/ic/smc90cx6.c/...reg.h,...var.h, using bus_space methods - ZBUS frontend in arch/amiga/dev/if_bah_zbus.c - added IPL_SOFTNET to arch/amiga/include/intr.h, for this Implementing the ISA bus frontend is left as an exercise to the reader.
|
| 1.24 |
| 05-Jul-1998 |
jonathan | defopt INET, NETATALK.
|
| 1.23 |
| 12-Jan-1998 |
thorpej | Adjust for config changes.
|
| 1.22 |
| 28-Apr-1997 |
mycroft | branches: 1.22.8; Oops; forgot to GC the last mbuf allocated when out of clusters.
|
| 1.21 |
| 24-Apr-1997 |
mycroft | Fix typo in previous.
|
| 1.20 |
| 24-Apr-1997 |
mycroft | If we fail to allocate a cluster to hold a large packet, simply drop it rather than using a chain of tiny mbufs.
|
| 1.19 |
| 13-Oct-1996 |
christos | backout kprintf changes
|
| 1.18 |
| 10-Oct-1996 |
christos | - printf -> kprintf, sprintf -> ksprintf
|
| 1.17 |
| 07-May-1996 |
thorpej | branches: 1.17.4; Changed struct ifnet to have a pointer to the softc of the underlying device and a printable "external name" (name + unit number), thus eliminating if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_start)() to take a struct ifnet *, rather than a unit number.
|
| 1.16 |
| 20-Mar-1996 |
is | - Zeroth version of M68060 support (dont want to cause emulation traps for the "Fast Assembler Version of the copy loop) - Yet another sanity check included: initialize unused receive buffers to zero sender id; and test for sender hardware id of zero in the receiver. Gives us better error messages in case flaky hardware causes spurious receive interupts.
|
| 1.15 |
| 17-Mar-1996 |
thorpej | New device attachment scheme:
- split softc size and match/attach out from cfdriver into a new struct cfattach.
- new "attach" directive for files.*. May specify the name of the cfattach structure, so that devices may be easily attached to parents with different autoconfiguration semantics.
|
| 1.14 |
| 27-Dec-1995 |
chopps | make changed from pr#1824 from Ignatios Souvatzis
|
| 1.13 |
| 24-Dec-1995 |
mycroft | The IST_* and IPL_* constants are not bus-specific; don't treat them as such. Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
|
| 1.12 |
| 09-Oct-1995 |
chopps | add prototypes for isr stuff fixes pr# 1284 and 1569
|
| 1.11 |
| 09-Oct-1995 |
chopps | fix hang bug from Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
|
| 1.10 |
| 02-Jul-1995 |
mycroft | Remove references to if_addrlist.
|
| 1.9 |
| 27-Jun-1995 |
chopps | udpate to match ifnets new use of sys/queue.h
|
| 1.8 |
| 07-Jun-1995 |
cgd | update from Ignatios Souvatzis
|
| 1.7 |
| 15-Apr-1995 |
cgd | cleanup; mostly KNF.
|
| 1.6 |
| 14-Apr-1995 |
chopps | couple small changes plus a new watchdog timer from Ignatios Souvatzis <is@beverly.rhein.de>
|
| 1.5 |
| 11-Apr-1995 |
chopps | fix up some changes
|
| 1.4 |
| 11-Apr-1995 |
mycroft | Sync with the rest of the world. Various additional cleanup.
|
| 1.3 |
| 02-Mar-1995 |
chopps | some cleanup..
|
| 1.2 |
| 01-Mar-1995 |
chopps | Fixup (c)'s and ids.
|
| 1.1 |
| 28-Feb-1995 |
chopps | new arcnet (2060) device from is@Beverly.Rhein.DE (Ignatios Souvatzis)
|
| 1.17.4.2 |
| 31-Aug-1996 |
thorpej | Remove these from the NetBSD 1.2 release branch; they were tagged in error.
|
| 1.17.4.1 |
| 14-Jun-1996 |
is | Not needed yet for the netbsd-1-2 release.
|
| 1.22.8.1 |
| 09-Nov-1997 |
mellon | Not needed on branch (is)
|
| 1.27.4.1 |
| 11-Dec-1998 |
kenh | The beginnings of interface detach support. Still some bugs, but mostly works for me.
This work was originally by Bill Studenmund, and cleaned up by me.
|
| 1.29.4.1 |
| 21-Jun-1999 |
thorpej | Sync w/ -current.
|
| 1.33.2.3 |
| 05-Jan-2001 |
bouyer | Sync with HEAD
|
| 1.33.2.2 |
| 13-Dec-2000 |
bouyer | Sync with HEAD (for UBC fixes).
|
| 1.33.2.1 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
| 1.37.2.3 |
| 07-Jan-2003 |
thorpej | Sync with HEAD.
|
| 1.37.2.2 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
| 1.37.2.1 |
| 24-Aug-2001 |
nathanw | Catch up with -current.
|
| 1.38.2.1 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.40.2.5 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.40.2.4 |
| 04-Feb-2005 |
skrll | Sync with HEAD.
|
| 1.40.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.40.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.40.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.41.10.2 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.41.10.1 |
| 12-Feb-2005 |
yamt | sync with head.
|
| 1.41.8.1 |
| 29-Apr-2005 |
kent | sync with -current
|
| 1.43.4.5 |
| 21-Jan-2008 |
yamt | sync with head
|
| 1.43.4.4 |
| 27-Oct-2007 |
yamt | sync with head.
|
| 1.43.4.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
| 1.43.4.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
| 1.43.4.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
| 1.45.20.1 |
| 12-Jan-2007 |
ad | Sync with head.
|
| 1.46.2.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
| 1.47.2.4 |
| 23-Oct-2007 |
ad | Sync with head.
|
| 1.47.2.3 |
| 09-Oct-2007 |
ad | Sync with head.
|
| 1.47.2.2 |
| 15-Jul-2007 |
ad | Sync with head.
|
| 1.47.2.1 |
| 17-Jun-2007 |
ad | - Increase the number of thread priorities from 128 to 256. How the space is set up is to be revisited. - Implement soft interrupts as kernel threads. A generic implementation is provided, with hooks for fast-path MD code that can run the interrupt threads over the top of other threads executing in the kernel. - Split vnode::v_flag into three fields, depending on how the flag is locked (by the interlock, by the vnode lock, by the file system). - Miscellaneous locking fixes and improvements.
|
| 1.48.8.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
| 1.48.8.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
| 1.48.6.2 |
| 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
| 1.48.6.1 |
| 03-Sep-2007 |
jmcneill | Sync with HEAD.
|
| 1.48.2.2 |
| 10-Sep-2007 |
skrll | Sync with HEAD.
|
| 1.48.2.1 |
| 03-Sep-2007 |
skrll | Sync with HEAD.
|
| 1.50.2.1 |
| 14-Oct-2007 |
yamt | sync with head.
|
| 1.51.2.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
| 1.52.8.1 |
| 02-Jan-2008 |
bouyer | Sync with HEAD
|
| 1.52.4.1 |
| 26-Dec-2007 |
ad | Sync with head.
|
| 1.52.2.1 |
| 18-Feb-2008 |
mjf | Sync with HEAD.
|
| 1.54.6.2 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
| 1.54.6.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.55.4.5 |
| 11-Aug-2010 |
yamt | sync with head.
|
| 1.55.4.4 |
| 11-Mar-2010 |
yamt | sync with head
|
| 1.55.4.3 |
| 20-Jun-2009 |
yamt | sync with head
|
| 1.55.4.2 |
| 04-May-2009 |
yamt | sync with head.
|
| 1.55.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
| 1.55.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
| 1.56.8.2 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
| 1.56.8.1 |
| 19-Jan-2009 |
skrll | Sync with HEAD.
|
| 1.56.6.1 |
| 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
| 1.58.4.2 |
| 23-Jul-2009 |
jym | Sync with HEAD.
|
| 1.58.4.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.62.4.1 |
| 30-May-2010 |
rmind | sync with head
|
| 1.62.2.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
| 1.63.18.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.63.18.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.63.8.1 |
| 30-Oct-2012 |
yamt | sync with head
|
| 1.64.14.5 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
| 1.64.14.4 |
| 05-Feb-2017 |
skrll | Sync with HEAD
|
| 1.64.14.3 |
| 09-Jul-2016 |
skrll | Sync with HEAD
|
| 1.64.14.2 |
| 19-Mar-2016 |
skrll | Sync with HEAD
|
| 1.64.14.1 |
| 27-Dec-2015 |
skrll | Sync with HEAD (as of 26th Dec)
|
| 1.67.2.1 |
| 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
| 1.70.2.2 |
| 26-Jul-2018 |
snj | Pull up following revision(s) (requested by msaitoh in ticket #938): sys/arch/acorn32/podulebus/if_ie.c: revision 1.41 sys/arch/amiga/dev/if_es.c: revision 1.58 sys/arch/amiga/dev/if_qn.c: revision 1.45 sys/arch/arm/at91/at91emac.c: revision 1.20 sys/arch/arm/ep93xx/epe.c: revision 1.37 sys/arch/emips/ebus/if_le_ebus.c: revision 1.14 sys/arch/emips/ebus/if_le_ebus.c: revision 1.15 sys/arch/mac68k/dev/if_mc.c: revision 1.46 sys/arch/macppc/dev/am79c950.c: revision 1.39 sys/arch/newsmips/apbus/if_sn.c: revision 1.40 sys/arch/next68k/dev/mb8795.c: revision 1.59 sys/arch/playstation2/dev/if_smap.c: revision 1.25 sys/arch/playstation2/dev/if_smap.c: revision 1.26 sys/arch/sun2/dev/if_ec.c: revision 1.28 sys/arch/sun3/dev/if_ie.c: revision 1.63 sys/arch/x68k/dev/if_ne_intio.c: revision 1.19 sys/arch/xen/xen/if_xennet_xenbus.c: revision 1.75 sys/arch/xen/xen/xennetback_xenbus.c: revision 1.63 sys/dev/bi/if_ni.c: revision 1.45 sys/dev/cadence/if_cemac.c: revision 1.12 sys/dev/ic/am7990.c: revision 1.78 sys/dev/ic/am79900.c: revision 1.27 sys/dev/ic/an.c: revision 1.67 sys/dev/ic/cs89x0.c: revision 1.40 sys/dev/ic/dm9000.c: revision 1.13 sys/dev/ic/dm9000.c: revision 1.14 sys/dev/ic/dp8390.c: revision 1.88 sys/dev/ic/elink3.c: revision 1.141 sys/dev/ic/elinkxl.c: revision 1.122 sys/dev/ic/hme.c: revision 1.98 sys/dev/ic/i82586.c: revision 1.77 sys/dev/ic/lance.c: revision 1.53 sys/dev/ic/mb86950.c: revision 1.27 sys/dev/ic/mb86960.c: revision 1.86 sys/dev/ic/mtd803.c: revision 1.34 sys/dev/ic/pdq_ifsubr.c: revision 1.59 sys/dev/ic/rrunner.c: revision 1.86 sys/dev/ic/seeq8005.c: revision 1.58 sys/dev/ic/sgec.c: revision 1.47 sys/dev/ic/smc90cx6.c: revision 1.72 sys/dev/ic/smc91cxx.c: revision 1.96 sys/dev/ic/tropic.c: revision 1.49 sys/dev/ic/wi.c: revision 1.245 sys/dev/isa/if_eg.c: revision 1.93 sys/dev/isa/if_el.c: revision 1.95 sys/dev/isa/if_iy.c: revision 1.101 sys/dev/ofw/ofnet.c: revision 1.58 sys/dev/pci/if_alc.c: revision 1.27 sys/dev/pci/if_de.c: revision 1.152 sys/dev/pci/if_fpa.c: revision 1.61 sys/dev/pci/if_jme.c: revision 1.34 sys/dev/pci/if_tl.c: revision 1.108 sys/dev/pci/if_vte.c: revision 1.19 sys/dev/pci/ixgbe/ixgbe.h: revision 1.50 sys/dev/pcmcia/if_cnw.c: revision 1.62 sys/dev/pcmcia/if_malo_pcmcia.c: revision 1.17 sys/dev/pcmcia/if_ray.c: revision 1.89 sys/dev/pcmcia/if_xi.c: revision 1.81 sys/dev/pcmcia/mhzc.c: revision 1.51 sys/dev/pcmcia/xirc.c: revision 1.34 sys/dev/qbus/if_de.c: revision 1.33 sys/dev/qbus/if_qe.c: revision 1.78 sys/dev/qbus/if_qt.c: revision 1.22 sys/dev/sbus/be.c: revision 1.87 sys/dev/sbus/qe.c: revision 1.68 sys/dev/scsipi/if_se.c: revision 1.96 sys/dev/usb/if_atu.c: revision 1.59 sys/net/if_l2tp.c: revision 1.28 via patch sys/net/if_ppp.c: revision 1.160 It's not required to include net/bpfdesc.h. Remove it. -- Simplify like other drivers. NULL check of ifp->if_bpf is done in bpf_mtap(), so it's not required to do it here. -- Remove duplicated inclusion of net/bpf.h. -- Remove duplicated inclusion of net/bpf.h. -- Simplify bpf_mtap() call. No functional change.
|
| 1.70.2.1 |
| 10-Dec-2017 |
snj | Pull up following revision(s) (requested by msaitoh in ticket #427): sys/arch/amiga/dev/if_bah_zbus.c: 1.17 sys/arch/arm/broadcom/bcm53xx_eth.c: 1.30 sys/arch/powerpc/booke/dev/pq3etsec.c: 1.32 sys/arch/usermode/dev/if_veth.c: 1.9 sys/dev/ic/an.c: 1.66 sys/dev/ic/athn.c: 1.17 sys/dev/ic/atw.c: 1.162 sys/dev/ic/bwi.c: 1.33 sys/dev/ic/dwc_gmac.c: 1.41-1.42 sys/dev/ic/malo.c: 1.10 sys/dev/ic/rt2560.c: 1.31 sys/dev/ic/rt2661.c: 1.36 sys/dev/ic/rt2860.c: 1.29 sys/dev/ic/rtw.c: 1.127 sys/dev/ic/rtwvar.h: 1.46 sys/dev/ic/smc90cx6.c: 1.71 sys/dev/ic/smc90cx6var.h: 1.12 sys/dev/ic/wi.c: 1.244 sys/dev/pci/if_ipw.c: 1.66 sys/dev/pci/if_iwi.c: 1.104 sys/dev/pci/if_iwm.c: 1.76 sys/dev/pci/if_iwn.c: 1.86 sys/dev/pci/if_rtwn.c: 1.13 sys/dev/pci/if_wm.c: 1.541 sys/dev/pci/if_wpi.c: 1.79 sys/dev/pci/ixgbe/ixgbe.c: 1.106 sys/dev/pci/ixgbe/ixv.c: 1.73 via patch sys/dev/pcmcia/if_malo_pcmcia.c: 1.15 sys/dev/scsipi/if_se.c: 1.95 sys/dev/usb/if_upl.c: 1.60 sys/net/if.c: 1.396 sys/net/if.h: 1.241 sys/net/if_arc.h: 1.23 sys/net/if_arcsubr.c: 1.78 sys/net/if_bridge.c: 1.136-1.137 sys/net/if_etherip.c: 1.39 sys/net/if_faith.c: 1.56 sys/net/if_gif.c: 1.131 sys/net/if_loop.c: 1.96 sys/net/if_mpls.c: 1.30 sys/net/if_pppoe.c: 1.129 sys/net/if_srt.c: 1.27 sys/net/if_stf.c: 1.102 sys/net/if_tap.c: 1.100 sys/net/if_vlan.c: 1.105 sys/netinet/ip_carp.c: 1.91 sys/rump/net/lib/libshmif/if_shmem.c: 1.73-1.74 sys/rump/net/lib/libvirtif/if_virt.c: 1.55-1.56 if_initalize() and if_attach() failed when resource allocation failed (e.g. allocating softint). Without this change, it panics. It's bad because resource shortage really occured when a lot of pseudo interface is created. To avoid this problem, don't panic and change return value of if_initialize() and if_attach() to int. Caller fanction will be recover from error cleanly by checking the return value. Return if bah_attach_subr() failed. If if_attach() failed in the attach function, return. - If if_initialize() failed in the attach function, free resources and return. - Add some missing frees in bridge_clone_destroy(). - KNF If error occured in bcmeth_ccb_attach(), free resources and return. If error occured in pq3etsec_attach(), free resources and return. If error occured in the attach function, free resources and return. - If if_initialize() failed in athn_attach(), free resources and return. - Add missing pmf_event_deregister() in athn_detach(). - Free resources correctly on some errors in atw_attach(). - Use apint*() insread of printf() in the attach function. If if_initialize() failed in the attach function, return. - If if_initialize() failed in the attach function, free resources and return. - Add missing dwc_gmac_free_dma_rings() and mutex_destroy() when attach failed. - If if_initialize() failed in the attach function, free resources and return. - ifp is always not NULL in iwi_detach(). Check correctly with ifp->if_softc. - If if_initialize() failed in the attach function, free resources and return. - Fix error path in the attach function correctly. If if_initialize() failed in the attach function, free resources and return. If if_attach() failed in the attach function, free resources and return. - If if_initialize() failed in the attach function, free resources and return. - KNF - If if_attach() failed in the attach function, free resources and return. - KNF Fix compile error. Fix compile error. We don't need '&mii', but just 'mii' for mii_detach(). Don't free sc_rthash twice
|
| 1.71.2.2 |
| 28-Jul-2018 |
pgoyette | Sync with HEAD
|
| 1.71.2.1 |
| 25-Jun-2018 |
pgoyette | Sync with HEAD
|
| 1.73.2.2 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.73.2.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.74.6.1 |
| 29-Feb-2020 |
ad | Sync with head.
|
| 1.75.30.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|