History log of /src/sys/dev/pci/if_sk.c |
Revision | | Date | Author | Comments |
1.114 |
| 04-Oct-2025 |
thorpej | Add a shared function to query the common properties used for configuring an Ethernet address.
|
1.113 |
| 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.112 |
| 23-May-2024 |
andvar | branches: 1.112.2; s/separare/separate/ and s/separete/separate/ in comments.
|
1.111 |
| 23-May-2022 |
rin | Audit unload/unmap v.s. free against DMA buffer for sys/dev/pci; make sure that bus_dmamap_unload(9) [or bus_dmamap_destroy(9)] or bus_dmamem_unmap(9) are preceding to freeing DMA buffer, if it is loaded or mapped, respectively.
This is mandatory for some archs. See, e.g.:
http://www.nerv.org/netbsd/?q=id:20210511T013030Z.013443cc790088147e4beed43f53dedabeaf9312 http://www.nerv.org/netbsd/?q=id:20220511T172220Z.561179f0b6fcc5b9cd73e274f69d74e2ce9e4c93
XXX XXX XXX Compile test only (for amd64/ALL).
Thanks riastradh@ for double check.
|
1.110 |
| 03-May-2022 |
andvar | fix various typos, mainly s/trasfering/transferring/ and s/theese/these/.
|
1.109 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.108 |
| 08-May-2021 |
thorpej | branches: 1.108.6; Use pci_compatible_match().
|
1.107 |
| 24-Apr-2021 |
thorpej | branches: 1.107.2; Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
1.106 |
| 02-Jul-2020 |
msaitoh | branches: 1.106.4; prop_data_data_nocopy -> prop_data_value
|
1.105 |
| 24-Feb-2020 |
rin | 0x%p --> %p for non-external codes.
|
1.104 |
| 30-Jan-2020 |
thorpej | Adopt <net/if_stats.h>.
|
1.103 |
| 27-Dec-2019 |
msaitoh | branches: 1.103.2; s/is is/is/ in comment.
|
1.102 |
| 28-Nov-2019 |
maxv | localify
|
1.101 |
| 10-Nov-2019 |
chs | in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT and remove code to handle failures that can no longer happen.
|
1.100 |
| 03-Jun-2019 |
msaitoh | KNF. No functional change.
|
1.99 |
| 03-Jun-2019 |
msaitoh | Make new sk_unreset_{xmac,yukon}() and use them in sk_attach(). Fixes PR kern/54267 reported by martin.
|
1.98 |
| 30-May-2019 |
msaitoh | Simplify MII structure initialization and reference. No functional change.
|
1.97 |
| 28-May-2019 |
msaitoh | Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.
|
1.96 |
| 23-May-2019 |
msaitoh | -No functional change: - KNF - u_int*_t -> uint*_t.
|
1.95 |
| 11-Apr-2019 |
msaitoh | Fix a bug that the duplex of manual media setting may be wrong when the IFM_GMASK bit other than IFM_[FH]DX is set.
|
1.94 |
| 03-Feb-2019 |
mrg | - add or adjust /* FALLTHROUGH */ where appropriate - add __unreachable() after functions that can return but won't in this case, and thus can't be marked __dead easily
|
1.93 |
| 22-Jan-2019 |
msaitoh | Change MII PHY read/write API from:
int (*mii_readreg_t)(device_t, int, int); void (*mii_writereg_t)(device_t, int, int, int); to:
int (*mii_readreg_t)(device_t, int, int, uint16_t *); int (*mii_writereg_t)(device_t, int, int, uint16_t);
Now we can test if a read/write operation failed or not by the return value.
In 802.3 spec says that the PHY shall not respond to read/write transaction to the unimplemented register(22.2.4.3). Detecting timeout can be used to check whether a register is implemented or not (if the register conforms to the spec). ukphy(4) can be used this for MII_MMDACR and MII_MMDAADR.
Note that I noticed that the following code do infinite loop in the read/wirte function. If it accesses unimplemented PHY register, it will hang. It should be fixed:
arm/at91/at91emac.c arm/ep93xx/epe.c arm/omap/omapl1x_emac.c mips/ralink/ralink_eth.c arch/powerpc/booke/dev/pq3etsec.c(read) dev/cadence/if_cemac.c <- hkenken dev/ic/lan9118.c
Tested with the following device:
axe+ukphy axe+rgephy axen+rgephy (tested by Andrius V) wm+atphy wm+ukphy wm+igphy wm+ihphy wm+makphy sk+makphy sk+brgphy sk+gentbi msk+makphy sip+icsphy sip+ukphy re+rgephy bge+brgphy bnx+brgphy gsip+gphyter rtk+rlphy fxp+inphy (tested by Andrius V) tlp+acphy ex+exphy epic+qsphy vge+ciphy (tested by Andrius V) vr+ukphy (tested by Andrius V) vte+ukphy (tested by Andrius V)
Not tested (MAC): arm:at91emac arm:cemac arm:epe arm:geminigmac arm:enet arm:cpsw arm:emac(omac) arm:emac(sunxi) arm:npe evbppc:temac macppc:bm macppc:gm mips:aumac mips:ae mips:cnmac mips:reth mips:sbmac playstation2:smap powerpc:tsec powerpc:emac(ibm4xx) sgimips:mec sparc:be sf ne(ax88190, dl10019) awge ep gem hme smsh mtd sm age alc ale bce cas et jme lii nfe pcn ste stge tl xi aue mue smsc udav url
Not tested (PHY): amhphy bmtphy dmphy etphy glxtphy ikphy iophy lxtphy nsphyter pnaphy rdcphy sqphy tlphy tqphy urlphy
|
1.92 |
| 08-Jan-2019 |
msaitoh | Whitespace fix. No functional change.
|
1.91 |
| 08-Jan-2019 |
msaitoh | u_int{8,16,32,64}_t -> uint{8,16,32,64}_t. No functional change.
|
1.90 |
| 15-Nov-2018 |
maxv | Remove the 'copy' argument from m_devget(), unused. While here rename off0->off.
|
1.89 |
| 04-Jul-2018 |
jdolecek | use pci_intr_establish_xname()
|
1.88 |
| 03-Jul-2018 |
jdolecek | attach the rnd source only once even with dual-port adapters
|
1.87 |
| 26-Jun-2018 |
msaitoh | branches: 1.87.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.86 |
| 12-Jun-2018 |
jdolecek | move SK_HASH_BITS to if_skreg.h and reuse in if_msk.c (from OpenBSD)
|
1.85 |
| 15-Dec-2016 |
ozaki-r | branches: 1.85.8; 1.85.14; 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.84 |
| 14-Dec-2016 |
christos | Tidy up and make it look like the other drivers.
|
1.83 |
| 08-Dec-2016 |
ozaki-r | Apply deferred if_start framework
if_schedule_deferred_start checks if the if_snd queue contains packets, so drivers don't need to check it by themselves.
|
1.82 |
| 10-Jun-2016 |
ozaki-r | branches: 1.82.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.81 |
| 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.80 |
| 13-Apr-2015 |
riastradh | Convert sys/dev to use <sys/rndsource.h>.
|
1.79 |
| 10-Dec-2014 |
christos | don't give up on mii tick before the interface is marked up.
|
1.78 |
| 10-Aug-2014 |
tls | branches: 1.78.4; Merge tls-earlyentropy branch into HEAD.
|
1.77 |
| 29-Mar-2014 |
christos | branches: 1.77.2; make pci_intr_string and eisa_intr_string take a buffer and a length instead of relying in local static storage.
|
1.76 |
| 25-Feb-2014 |
pooka | Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before the sysctl link sets are processed, and remove redundancy.
Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate lines of code.
|
1.75 |
| 13-Sep-2013 |
martin | #ifdef a variable like their use
|
1.74 |
| 11-Jun-2013 |
msaitoh | branches: 1.74.2; Remove an extra mii_pollstat() call. The PHY status should be updated by adjacent mii_tick() call. I suspect that this mii_pollstat() call was added to do workaround for broken MII_TICK code. A lot of MII PHY drivers had bugs in MII_TICK and those bugs were fixed.
|
1.73 |
| 30-Mar-2013 |
christos | remove trailing whitespace
|
1.72 |
| 22-Jul-2012 |
matt | branches: 1.72.2; Fix mii_statchg to take a 'struct ifnet *' instead of device_t. This fixes problem with a common MDIO bus used for multiple interfaces. Some drivers converted to CFATTACL_DECL_NEW.
|
1.71 |
| 02-Jun-2012 |
dsl | Add some pre-processor magic to verify that the type of the data item passed to sysctl_createv() actually matches the declared type for the item itself. In the places where the caller specifies a function and a structure address (typically the 'softc') an explicit (void *) cast is now needed. Fixes bugs in sys/dev/acpi/asus_acpi.c sys/dev/bluetooth/bcsp.c sys/kern/vfs_bio.c sys/miscfs/syncfs/sync_subr.c and setting AcpiGbl_EnableAmlDebugObject. (mostly passing the address of a uint64_t when typed as CTLTYPE_INT). I've test built quite a few kernels, but there may be some unfixed MD fallout. Most likely passing &char[] to char *. Also add CTLFLAG_UNSIGNED for unsiged decimals - not set yet.
|
1.70 |
| 02-Feb-2012 |
tls | Entropy-pool implementation move and cleanup.
1) Move core entropy-pool code and source/sink/sample management code to sys/kern from sys/dev.
2) Remove use of NRND as test for presence of entropy-pool code throughout source tree.
3) Remove use of RND_ENABLED in device drivers as microoptimization to avoid expensive operations on disabled entropy sources; make the rnd_add calls do this directly so all callers benefit.
4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might have lead to slight entropy overestimation for some sources.
5) Add new source types for environmental sensors, power sensors, VM system events, and skew between clocks, with a sample implementation for each.
ok releng to go in before the branch due to the difficulty of later pullup (widespread #ifdef removal and moved files). Tested with release builds on amd64 and evbarm and live testing on amd64.
|
1.69 |
| 29-May-2011 |
phx | branches: 1.69.4; 1.69.8; The Genesis interface provides a register in the device specific config space to automatically revert the byte order in all descriptors. Make sure this feature is inactive. Otherwise the driver is unable to receive or transmit any frame.
|
1.68 |
| 26-Jul-2010 |
jym | branches: 1.68.2; Add PAE to ALL kernel, so that most paddr_t format string errors get caught during compilation.
While here, fix the compilation for ALL.
|
1.67 |
| 16-May-2010 |
phx | Make netboot generate a BTINFO_NET bootinfo node for the Synology sk(4) NIC. It will pass the MAC address, which is read from Flash ROM, into the kernel. The kernel creates a "mac-address" device-property, which is used by sk(4), when given, before reading the MAC from its EEPROM.
|
1.66 |
| 05-Apr-2010 |
joerg | 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.65 |
| 24-Feb-2010 |
dyoung | branches: 1.65.2; A pointer typedef entails trading too much flexibility to declare const and non-const types, and the kernel uses both const and non-const PMF qualifiers and device suspensors, so change the pmf_qual_t and device_suspensor_t typedefs from "pointers to const" to non-pointer, non-const types.
|
1.64 |
| 19-Jan-2010 |
pooka | branches: 1.64.2; 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.63 |
| 08-Jan-2010 |
dyoung | Expand PMF_FN_* macros.
|
1.62 |
| 26-Nov-2009 |
njoly | Cleanup interrupt establish error messages. Do not mix aprint_error/aprint_normal/printf calls for a single line.
|
1.61 |
| 05-Sep-2009 |
tsutsui | Invert logic around nested pmf(9) registrations for readability.
|
1.60 |
| 23-Apr-2009 |
kefren | Add pmf hooks. Proposed two days ago on tech-kern@, no objections. Tested on amd64 with Asus P5Q-E mainboard with onboard Yukon Lite
|
1.59 |
| 18-Mar-2009 |
cegger | bzero -> memset
|
1.58 |
| 18-Mar-2009 |
cegger | bcmp -> memcmp
|
1.57 |
| 13-Feb-2009 |
bouyer | More printf format fixes.
|
1.56 |
| 12-Feb-2009 |
cegger | Yukon chips support flow-control. Tested on Yukon Lite chip. ok cube@
|
1.55 |
| 07-Nov-2008 |
dyoung | branches: 1.55.4; *** 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.54 |
| 09-Sep-2008 |
cegger | branches: 1.54.2; 1.54.4; 1.54.6; make an i386/ALL kernel build
|
1.53 |
| 08-Sep-2008 |
christos | more device_private, pointed by cube.
|
1.52 |
| 08-Sep-2008 |
christos | avoid using casts by referencing the proper struct members.
|
1.51 |
| 08-Sep-2008 |
christos | cf_attach_decl_new
|
1.50 |
| 20-Jun-2008 |
cube | branches: 1.50.2; Use a mutex instead of splvm() to protect the list of jubo-ready mbufs, as done with nfe(4) a while ago.
Issue reported by Gary Duzan, who kindly fixed the patch I had sent him.
|
1.49 |
| 28-Apr-2008 |
martin | branches: 1.49.2; 1.49.4; Remove clause 3 and 4 from TNF licenses
|
1.48 |
| 10-Apr-2008 |
cegger | branches: 1.48.2; 1.48.4; use aprint_*_dev and device_xname
|
1.47 |
| 07-Feb-2008 |
dyoung | branches: 1.47.6; Start patching up the kernel so that a network driver always has the opportunity to handle an ioctl before generic ifioctl handling occurs. This will ease extending the kernel and sharing of code between drivers.
First steps: Make the signature of ifioctl_common() match struct ifinet->if_ioctl. Convert SIOCSIFCAP and SIOCSIFMTU to the new ifioctl() regime, throughout the kernel.
|
1.46 |
| 19-Jan-2008 |
dyoung | Make many ethernet drivers share the common code for MII media handling, ether_mediastatus() and ether_mediachange(). Check for a non-ENXIO error return from mii_mediachg(). (ENXIO indicates that a PHY is suspended.)
This patch shrinks the source code size by 979 lines. There was a 5100-byte savings on the NetBSD/i386 kernel configuration, ALL.
I have made a few miscellaneous changes, too:
gem(4): use LIST_EMPTY(), LIST_FOREACH(). mtd(4): handle media ioctls, for a change! axe(4): do not track link status in sc->axe_link any longer nfe(4), aue(4), axe(4), udav(4), url(4): do not reset all PHYs on a change of media
Except for the change to mtd(4), no functional changes are intended.
XXX This patch affects more architectures than I can feasibly XXX compile and run. I have compiled macppc, sparc64, i386. I XXX have run the patches on i386 boxen with bnx(4) and sip(4). XXX Compiling and running on evbmips (MERAKI, ADM5120) is in XXX progress.
|
1.45 |
| 11-Dec-2007 |
lukem | use __KERNEL_RCSID()
|
1.44 |
| 01-Dec-2007 |
jmcneill | branches: 1.44.2; 1.44.4; 1.44.6; aprintify, on behalf of xtraeme
|
1.43 |
| 07-Nov-2007 |
ad | Merge from vmlocking:
- pool_cache changes. - Debugger/procfs locking fixes. - Other minor changes.
|
1.42 |
| 19-Jul-2007 |
dsl | branches: 1.42.4; 1.42.6; 1.42.10; 1.42.12; 1.42.14; include sys/cdefs.h
|
1.41 |
| 09-Jul-2007 |
ad | branches: 1.41.2; Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
1.40 |
| 06-Jul-2007 |
briggs | Print an error and fail the sk_attach() if we have an unknown chip type (instead of panicing). Also check to see if we have a Yukon2 type, and if we do, complain about that explicitly earlier (and still fail the attach, but refer to msk(4)). It would be better if we didn't have Yukon2 devices match in the sk(4) device table, but in case people change the hardware without changing device IDs, we might as well catch it.
|
1.39 |
| 06-Jul-2007 |
briggs | Remove DLink DGE560T as it (in at least some versions) uses a Yukon EC chipset, which is not handled by this driver, but is handled by the msk(4) driver. The DGE560T_2 entry is left alone for now--it might also need to go to msk(4).
|
1.38 |
| 13-Mar-2007 |
msaitoh | Apply if_msk.c rev. 1.4 to if_sk.c:
> Apply OpenBSD's rev. 1.33 to shut up "msk0: phy write timed out" > > Original commit message: > > In msk_marv_miibus_writereg, wait for busy flag to clear instead of > > continuing when busy flag set.
|
1.37 |
| 04-Mar-2007 |
christos | branches: 1.37.2; 1.37.4; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.36 |
| 30-Jan-2007 |
msaitoh | branches: 1.36.2; sync with if_skreg.h rev. 1.41
need more work?
|
1.35 |
| 16-Nov-2006 |
christos | branches: 1.35.2; __unused removal on arguments; approved by core.
|
1.34 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
1.33 |
| 10-Sep-2006 |
riz | branches: 1.33.2; g/c unused SK_{SET,CLR}BIT macros
|
1.32 |
| 25-Aug-2006 |
riz | branches: 1.32.2; In sk_watchdog(), attempt to reclaim pending TX descriptors before resetting the hardware. Should fix occasional watchdog timeouts seen with this driver.
From FreeBSD, via OpenBSD.
|
1.31 |
| 25-Aug-2006 |
riz | Cleanup, with no functional changes:
- remove unused code - KNF - ANSI function declarations - replace printf() with aprint_error() except in debug functions - a few minor indentation/whitespace changes
|
1.30 |
| 22-Aug-2006 |
riz | Vendor GALILEO is now MARVELL.
|
1.29 |
| 22-Aug-2006 |
riz | Add byteswapping where appropriate, to allow things to work on (at least some) bigendian systems - I tested on macppc.
From brad@openbsd .
|
1.28 |
| 20-Aug-2006 |
riz | Some cleanup in skc_attach():
- does not need splnet() - disestablish the interrupt and unmap bus space on failures.
|
1.27 |
| 20-Aug-2006 |
riz | Make this driver compile when SK_USEIOSPACE is defined - I have no evidence that this is actually needed except for the existence of the code itself, but if it's going to be here, it should compile. Tested briefly on my ASUS motherboard with built-in sk interface.
|
1.26 |
| 31-May-2006 |
riz | branches: 1.26.4; Add support for the DLink DGE-530T revision B1 (Tested by Tillman Hodgson) and the DGE-560T (untested).
|
1.25 |
| 17-Apr-2006 |
christos | branches: 1.25.2; Fix typo. Pointed out by brad.
|
1.24 |
| 14-Apr-2006 |
christos | Coviery CID 1108: Avoid NULL pointer deref.
|
1.23 |
| 14-Apr-2006 |
christos | Coverity CID 1105: Avoid NULL deref.
|
1.22 |
| 28-Mar-2006 |
riz | Add jumbo frames support, from OpenBSD (mcbride). As seen on tech-net for the last N months.
|
1.21 |
| 25-Feb-2006 |
wiz | branches: 1.21.2; 1.21.4; 1.21.6; Fix some typos.
|
1.20 |
| 14-Feb-2006 |
riz | Not all chips supported by this driver use the same interrupt moderation timer frequency; Take this into account. Information gathered from the sk98lin driver for Linux, from Marvell.
Also add sysctl support for changing the interrupt moderation timer at runtime; each board is controlled independently.
Discussed on tech-net beginning in November 2005.
|
1.19 |
| 11-Feb-2006 |
rpaulo | PR 31304: Contribute to the random pool. From Rhialto.
|
1.18 |
| 23-Nov-2005 |
riz | branches: 1.18.2; 1.18.4; 1.18.6; Special-case the Linksys EG1032 cards using PCI subsystem ID; rev. 2 uses the sk(4) driver, while rev. 3 needs re(4).
Mostly from brad@openbsd.
|
1.17 |
| 19-Nov-2005 |
riz | From FreeBSD (appropriate pieces of revs 1.90 and 1.92):
Only clear the IFF_OACTIVE flag when we have a chance of being able to queue a packet to the hardware, instead of when the hardware queue is empty, and fix up handling and prodding of the tx.
These fixes clear up an occasional "sk0: watchdog timeout" from the on-board ethernet on my Asus A8V motherboard.
OK christos@
|
1.16 |
| 11-Sep-2005 |
xtraeme | branches: 1.16.6; Fix from OpenBSD:
rev 1.56:
Don't initialize the card (and start an autonegotiation!) every time the IP address changes. Makes 'dhclient sk0' invocations way faster and more consistant. i.e. one DHCPREQUEST elicts the DHCPACK.
Fix from FreeBSD:
rev 1.109:
Solve "No PHY found" problem for more Yukon Lite variants.
These changes fixed the problem on my sk(4) trying to get an IP via dhclient(8).
|
1.15 |
| 30-May-2005 |
christos | branches: 1.15.2; - const poisoning - avoid variable shadowing.
|
1.14 |
| 27-Feb-2005 |
perry | branches: 1.14.2; nuke trailing whitespace
|
1.13 |
| 23-Jan-2005 |
fredb | branches: 1.13.2; Recognize Belkin Gigabit Desktop Network PCI card.
|
1.12 |
| 30-Oct-2004 |
thorpej | branches: 1.12.4; When adding/deleting multicast addresses, only whack the address filter if the interface is marked RUNNING.
Fixes kern/27678.
|
1.11 |
| 26-Sep-2004 |
skd | Fix Yukon ram sizing. Fix tx queue (slist can be corrupted when tx interrupts hit within tx_encap. Lower interrupt moderation timer to (improves performance). Improve chip identification. (from linux sk98lin driver). Keep tx queue running by kicking the tx bmu repeatedly.
|
1.10 |
| 24-May-2004 |
kleink | branches: 1.10.2; Fix a glitch in the initial import: The XMAC hash function is actually based on CRC32-_LE_.
From Christian Weisgerber in private mail.
|
1.9 |
| 24-May-2004 |
kleink | In sk_init_yukon(), don't open-code clearing the multicast filter but go via the normal filter setup path instead. The old behaviour only worked ok as long as the init function was exclusively called at attach time, when there was no configuration to be lost.
From Christian Weisgerber in private mail.
|
1.8 |
| 07-May-2004 |
kleink | Add an additional multicast hash function for Yukon.
|
1.7 |
| 28-Jan-2004 |
chs | branches: 1.7.2; also match the version of this that's built into my Asus A7N8X-E Deluxe motherboard.
|
1.6 |
| 17-Dec-2003 |
tls | Add support for some more Marvell-based adapters to the sk driver:
D-Link DGE-530T Linksys EG1032v2 Linksys EG1064v2
The Linux driver treats all of these the same. Tested with a DGE-530T; it works, though performance on at least one of my systems is atrocious.
Fix setting of ethernet capabilities into interface capabilites word in attach routine.
Manual page: note that jumbo support doesn't work and checksum support doesn't exist.
|
1.5 |
| 30-Oct-2003 |
briggs | Make sure we can transmit larger packets correctly. Don't initialize extra fields of the ifp. Use strcpy() instead of bcopy() for copying the device name. Handle if_timer a bit better.
|
1.4 |
| 25-Oct-2003 |
chs | NULL -> 0
|
1.3 |
| 15-Oct-2003 |
briggs | Make sure descriptors get bus_dmamap_sync()ed. Restructure a little to make this a little easier. Also try to avoid allocating things at reset time.
|
1.2 |
| 08-Sep-2003 |
thorpej | Fix a printf format.
|
1.1 |
| 26-Aug-2003 |
jdolecek | Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler
Changes relative to submitted version: * yukonreg.h and xmaciireg.h merged into if_skreg.h * bhack[] constified + other small editing changes * use 'Ethernet address' rather than 'address' in attach message
XXX completely untested by me, needs further cleanup
Driver provided in PR kern/22511 by Stephen Degler
|
1.7.2.4 |
| 07-Jan-2005 |
jdc | Pull up revision 1.11 (requested by abs in ticket #973).
Fix Yukon ram sizing. Fix tx queue (slist can be corrupted when tx interrupts hit within tx_encap. Lower interrupt moderation timer to (improves performance). Improve chip identification. (from linux sk98lin driver). Keep tx queue running by kicking the tx bmu repeatedly.
|
1.7.2.3 |
| 25-May-2004 |
jmc | branches: 1.7.2.3.2; Pullup rev 1.10 (requested by kleink in ticket #384)
Fix a glitch in the initial import: The XMAC hash function is actually based on CRC32-_LE_.
|
1.7.2.2 |
| 25-May-2004 |
jmc | Pullup rev 1.9 (requested by kleink in ticket #382)
In sk_init_yukon(), don't open-code clearing the multicast filter but go via the normal filter setup path instead. The old behaviour only worked ok as long as the init function was exclusively called at attach time, when there was no configuration to be lost.
|
1.7.2.1 |
| 11-May-2004 |
tron | Pull up revision 1.8 (requested by kleink in ticket #286): Add an additional multicast hash function for Yukon.
|
1.7.2.3.2.11 |
| 11-Sep-2006 |
tron | Pull up following revision(s) (requested by riz in ticket #10693): sys/arch/cobalt/pci/pchb.c: revision 1.9 via patch sys/dev/pci/if_sk.c: revision 1.30 via patch sys/arch/evbmips/malta/pci/pchb.c: revision 1.9 via patch Vendor GALILEO is now MARVELL.
|
1.7.2.3.2.10 |
| 07-Sep-2006 |
rpaulo | Pull up following revision(s) (requested by riz in ticket #10680): sys/dev/pci/if_skvar.h: revision 1.10 share/man/man4/sk.4: revision 1.9 sys/dev/pci/if_sk.c: revision 1.22 Add jumbo frames support, from OpenBSD (mcbride). As seen on tech-net for the last N months. Jumbo frames now work under NetBSD, so note it.
|
1.7.2.3.2.9 |
| 04-Jun-2006 |
tron | Pull up following revision(s) (requested by riz in ticket #10636): sys/dev/pci/if_skreg.h: revision 1.7 sys/dev/pci/if_sk.c: revision 1.26 Add support for the DLink DGE-530T revision B1 (Tested by Tillman Hodgson) and the DGE-560T (untested).
|
1.7.2.3.2.8 |
| 29-Mar-2006 |
tron | Pull up following revision(s) (requested by riz in ticket #10403): sys/dev/pci/if_skreg.h: revision 1.6 sys/dev/pci/if_skvar.h: revision 1.9 sys/dev/pci/if_sk.c: revision 1.20 via patch Not all chips supported by this driver use the same interrupt moderation timer frequency; Take this into account. Information gathered from the sk98lin driver for Linux, from Marvell. Also add sysctl support for changing the interrupt moderation timer at runtime; each board is controlled independently. Discussed on tech-net beginning in November 2005.
|
1.7.2.3.2.7 |
| 29-Mar-2006 |
tron | Pull up following revision(s) (requested by riz in ticket #10402): sys/dev/pci/if_sk.c: revision 1.19 sys/dev/pci/if_skvar.h: revision 1.8 PR 31304: Contribute to the random pool. From Rhialto.
|
1.7.2.3.2.6 |
| 01-Dec-2005 |
tron | Pull up following revision(s) (requested by riz in ticket #10156): sys/dev/pci/if_sk.c: revision 1.18 via patch sys/dev/pci/if_re.c: patch Special-case the Linksys EG1032 cards using PCI subsystem ID; rev. 2 uses the sk(4) driver, while rev. 3 needs re(4). Mostly from brad@openbsd.
|
1.7.2.3.2.5 |
| 01-Dec-2005 |
tron | Pull up following revision(s) (requested by riz in ticket #10154): sys/dev/pci/if_sk.c: revision 1.17 From FreeBSD (appropriate pieces of revs 1.90 and 1.92): Only clear the IFF_OACTIVE flag when we have a chance of being able to queue a packet to the hardware, instead of when the hardware queue is empty, and fix up handling and prodding of the tx. These fixes clear up an occasional "sk0: watchdog timeout" from the on-board ethernet on my Asus A8V motherboard. OK christos@
|
1.7.2.3.2.4 |
| 13-Sep-2005 |
riz | Pull up following revision(s) (requested by xtraeme in ticket #5841): sys/dev/pci/if_sk.c: revision 1.16 Fix from OpenBSD: rev 1.56: Don't initialize the card (and start an autonegotiation!) every time the IP address changes. Makes 'dhclient sk0' invocations way faster and more consistant. i.e. one DHCPREQUEST elicts the DHCPACK. Fix from FreeBSD: rev 1.109: Solve "No PHY found" problem for more Yukon Lite variants. These changes fixed the problem on my sk(4) trying to get an IP via dhclient(8).
|
1.7.2.3.2.3 |
| 17-Apr-2005 |
tron | Pull up revision 1.13 (requested by fredb in ticket #1120): Recognize Belkin Gigabit Desktop Network PCI card.
|
1.7.2.3.2.2 |
| 24-Jan-2005 |
he | Pull up revision 1.12 (requested by thorpej in ticket #939): When adding or deleting multicast addresses, only change the address filter if the interface is marked RUNNING. Fixes PR#27678.
|
1.7.2.3.2.1 |
| 07-Jan-2005 |
jdc | Pull up revision 1.11 (requested by abs in ticket #973).
Fix Yukon ram sizing. Fix tx queue (slist can be corrupted when tx interrupts hit within tx_encap. Lower interrupt moderation timer to (improves performance). Improve chip identification. (from linux sk98lin driver). Keep tx queue running by kicking the tx bmu repeatedly.
|
1.10.2.10 |
| 11-Dec-2005 |
christos | Sync with head.
|
1.10.2.9 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.10.2.8 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.10.2.7 |
| 24-Jan-2005 |
skrll | Sync with HEAD.
|
1.10.2.6 |
| 02-Nov-2004 |
skrll | Sync with HEAD.
|
1.10.2.5 |
| 19-Oct-2004 |
skrll | Sync with HEAD
|
1.10.2.4 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.10.2.3 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.10.2.2 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.10.2.1 |
| 24-May-2004 |
skrll | file if_sk.c was added on branch ktrace-lwp on 2004-08-03 10:49:09 +0000
|
1.12.4.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.13.2.1 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.14.2.7 |
| 03-Nov-2006 |
tron | Pull up following revision(s) (requested by riz in ticket #1480): sys/dev/pci/if_skvar.h: revision 1.10 sys/dev/pci/if_sk.c: revision 1.22 Add jumbo frames support, from OpenBSD (mcbride). As seen on tech-net for the last N months.
|
1.14.2.6 |
| 04-Jun-2006 |
tron | Pull up following revision(s) (requested by riz in ticket #1350): sys/dev/pci/if_skreg.h: revision 1.7 sys/dev/pci/if_sk.c: revision 1.26 Add support for the DLink DGE-530T revision B1 (Tested by Tillman Hodgson) and the DGE-560T (untested).
|
1.14.2.5 |
| 29-Mar-2006 |
tron | Pull up following revision(s) (requested by riz in ticket #1230): sys/dev/pci/if_skreg.h: revision 1.6 sys/dev/pci/if_skvar.h: revision 1.9 sys/dev/pci/if_sk.c: revision 1.20 via patch Not all chips supported by this driver use the same interrupt moderation timer frequency; Take this into account. Information gathered from the sk98lin driver for Linux, from Marvell. Also add sysctl support for changing the interrupt moderation timer at runtime; each board is controlled independently. Discussed on tech-net beginning in November 2005.
|
1.14.2.4 |
| 29-Mar-2006 |
tron | Pull up following revision(s) (requested by riz in ticket #1229): sys/dev/pci/if_sk.c: revision 1.19 sys/dev/pci/if_skvar.h: revision 1.8 PR 31304: Contribute to the random pool. From Rhialto.
|
1.14.2.3 |
| 24-Nov-2005 |
tron | Pull up following revision(s) (requested by riz in ticket #993): sys/dev/pci/if_sk.c: revision 1.18 sys/dev/pci/if_re_pci.c: revision 1.11 Special-case the Linksys EG1032 cards using PCI subsystem ID; rev. 2 uses the sk(4) driver, while rev. 3 needs re(4). Mostly from brad@openbsd.
|
1.14.2.2 |
| 21-Nov-2005 |
tron | Pull up following revision(s) (requested by riz in ticket #979): sys/dev/pci/if_sk.c: revision 1.17 From FreeBSD (appropriate pieces of revs 1.90 and 1.92): Only clear the IFF_OACTIVE flag when we have a chance of being able to queue a packet to the hardware, instead of when the hardware queue is empty, and fix up handling and prodding of the tx. These fixes clear up an occasional "sk0: watchdog timeout" from the on-board ethernet on my Asus A8V motherboard. OK christos@
|
1.14.2.1 |
| 13-Sep-2005 |
tron | Pull up following revision(s) (requested by xtraeme in ticket #765): sys/dev/pci/if_sk.c: revision 1.16 Fix from OpenBSD: rev 1.56: Don't initialize the card (and start an autonegotiation!) every time the IP address changes. Makes 'dhclient sk0' invocations way faster and more consistant. i.e. one DHCPREQUEST elicts the DHCPACK. Fix from FreeBSD: rev 1.109: Solve "No PHY found" problem for more Yukon Lite variants. These changes fixed the problem on my sk(4) trying to get an IP via dhclient(8).
|
1.15.2.8 |
| 11-Feb-2008 |
yamt | sync with head.
|
1.15.2.7 |
| 21-Jan-2008 |
yamt | sync with head
|
1.15.2.6 |
| 07-Dec-2007 |
yamt | sync with head
|
1.15.2.5 |
| 15-Nov-2007 |
yamt | sync with head.
|
1.15.2.4 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.15.2.3 |
| 26-Feb-2007 |
yamt | sync with head.
|
1.15.2.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.15.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.16.6.2 |
| 29-Nov-2005 |
yamt | sync with head.
|
1.16.6.1 |
| 22-Nov-2005 |
yamt | sync with head.
|
1.18.6.2 |
| 01-Jun-2006 |
kardel | Sync with head.
|
1.18.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.18.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.18.2.2 |
| 01-Mar-2006 |
yamt | sync with head.
|
1.18.2.1 |
| 18-Feb-2006 |
yamt | sync with head.
|
1.21.6.2 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.21.6.1 |
| 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.21.4.1 |
| 19-Apr-2006 |
elad | sync with head.
|
1.21.2.5 |
| 14-Sep-2006 |
yamt | sync with head.
|
1.21.2.4 |
| 03-Sep-2006 |
yamt | sync with head.
|
1.21.2.3 |
| 26-Jun-2006 |
yamt | sync with head.
|
1.21.2.2 |
| 24-May-2006 |
yamt | sync with head.
|
1.21.2.1 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.25.2.1 |
| 19-Jun-2006 |
chap | Sync with head.
|
1.26.4.2 |
| 08-Sep-2006 |
rpaulo | Pull up following revision(s) (requested by riz in ticket #140): sys/dev/pci/if_sk.c: revision 1.31 sys/dev/pci/if_sk.c: revision 1.32 sys/dev/pci/if_sk.c: revision 1.27 sys/dev/pci/if_sk.c: revision 1.28 sys/dev/pci/if_sk.c: revision 1.29 Make this driver compile when SK_USEIOSPACE is defined - I have no evidence that this is actually needed except for the existence of the code itself, but if it's going to be here, it should compile. Tested briefly on my ASUS motherboard with built-in sk interface. Some cleanup in skc_attach(): - does not need splnet() - disestablish the interrupt and unmap bus space on failures. Add byteswapping where appropriate, to allow things to work on (at least some) bigendian systems - I tested on macppc. From brad@openbsd . Cleanup, with no functional changes: - remove unused code - KNF - ANSI function declarations - replace printf() with aprint_error() except in debug functions - a few minor indentation/whitespace changes In sk_watchdog(), attempt to reclaim pending TX descriptors before resetting the hardware. Should fix occasional watchdog timeouts seen with this driver. From FreeBSD, via OpenBSD.
|
1.26.4.1 |
| 08-Sep-2006 |
rpaulo | Pull up following revision(s) (requested by riz in ticket #139): sys/arch/cobalt/pci/pchb.c: revision 1.9 sys/dev/pci/if_sk.c: revision 1.30 sys/arch/cobalt/pci/pci_machdep.c: revision 1.24 sys/dev/pci/pcidevs: revision 1.820 sys/arch/evbmips/malta/pci/pchb.c: revision 1.9 Rename vendor GALILEO -> vendor MARVELL . Marvell bought Galileo years ago, we have little existing stuff in the tree, and this will make it easier to keep certain network drivers in sync with other OSes. OK matt@, uwe@ Vendor GALILEO is now MARVELL.
|
1.32.2.2 |
| 01-Feb-2007 |
ad | Sync with head.
|
1.32.2.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.33.2.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.33.2.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.35.2.2 |
| 26-Aug-2007 |
liamjfoy | Pull up following revision(s) (requested by riz in ticket #816): sys/dev/pci/if_skreg.h: revision 1.10 sys/dev/pci/if_skreg.h: revision 1.11 sys/dev/pci/pcidevs: revision 1.866 sys/dev/pci/if_skreg.h: revision 1.9 sys/dev/pci/if_sk.c: revision 1.36 sys/dev/pci/if_msk.c: revision 1.4 sys/dev/pci/if_msk.c: revision 1.5 sys/dev/pci/if_msk.c: revision 1.6 sys/dev/pci/if_msk.c: revision 1.7 sys/dev/pci/if_mskvar.h: revision 1.2 sys/dev/pci/if_mskvar.h: revision 1.3 Apply OpenBSD's rev. 1.33 to shut up "msk0: phy write timed out" Original commit message: > In msk_marv_miibus_writereg, wait for busy flag to clear instead of > continuing when busy flag set.
add some msk devices
sync with OpenBSD-current (many bugfixes, add some devices) if_msk.c: rev. 1.42 if_mskvar.h rev. 1.3 if_skreg.h rev. 1.41
sync with if_skreg.h rev. 1.41 need more work?
apply some patches from FreeBSD o fix device timeout o add some workaround o TX underrun bug (grr...) o and some bugs
fix bit definitions for the RX FIFO Flush mode
Apply OpenBSD's rev. 1.14 via patch: > remove another Yukon Lite workaround.
|
1.35.2.1 |
| 26-Mar-2007 |
jdc | branches: 1.35.2.1.2; Pull up revision 1.38 (requested by msaitoh in ticket #519).
Apply if_msk.c rev. 1.4 to if_sk.c:
> Apply OpenBSD's rev. 1.33 to shut up "msk0: phy write timed out" > > Original commit message: > > In msk_marv_miibus_writereg, wait for busy flag to clear instead of > > continuing when busy flag set.
|
1.35.2.1.2.1 |
| 03-Sep-2007 |
wrstuden | Sync w/ NetBSD-4-RC_1
|
1.36.2.2 |
| 24-Mar-2007 |
yamt | sync with head.
|
1.36.2.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.37.4.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.37.2.5 |
| 01-Sep-2007 |
ad | Update for pool_cache API changes.
|
1.37.2.4 |
| 20-Aug-2007 |
ad | Sync with HEAD.
|
1.37.2.3 |
| 15-Jul-2007 |
ad | Sync with head.
|
1.37.2.2 |
| 01-Jul-2007 |
ad | Adapt to callout API change.
|
1.37.2.1 |
| 13-Mar-2007 |
ad | Sync with head.
|
1.41.2.1 |
| 15-Aug-2007 |
skrll | Sync with HEAD.
|
1.42.14.2 |
| 19-Jul-2007 |
dsl | include sys/cdefs.h
|
1.42.14.1 |
| 19-Jul-2007 |
dsl | file if_sk.c was added on branch matt-mips64 on 2007-07-19 22:04:24 +0000
|
1.42.12.4 |
| 18-Feb-2008 |
mjf | Sync with HEAD.
|
1.42.12.3 |
| 27-Dec-2007 |
mjf | Sync with HEAD.
|
1.42.12.2 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
1.42.12.1 |
| 19-Nov-2007 |
mjf | Sync with HEAD.
|
1.42.10.1 |
| 13-Nov-2007 |
bouyer | Sync with HEAD
|
1.42.6.3 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.42.6.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.42.6.1 |
| 08-Nov-2007 |
matt | sync with -HEAD
|
1.42.4.2 |
| 03-Dec-2007 |
joerg | Sync with HEAD.
|
1.42.4.1 |
| 11-Nov-2007 |
joerg | Sync with HEAD.
|
1.44.6.2 |
| 20-Jan-2008 |
bouyer | Sync with HEAD
|
1.44.6.1 |
| 13-Dec-2007 |
bouyer | Sync with HEAD
|
1.44.4.1 |
| 11-Dec-2007 |
yamt | sync with head.
|
1.44.2.1 |
| 26-Dec-2007 |
ad | Sync with head.
|
1.47.6.4 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.47.6.3 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
1.47.6.2 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.47.6.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.48.4.5 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.48.4.4 |
| 11-Mar-2010 |
yamt | sync with head
|
1.48.4.3 |
| 16-Sep-2009 |
yamt | sync with head
|
1.48.4.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.48.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.48.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.49.4.1 |
| 27-Jun-2008 |
simonb | Sync with head.
|
1.49.2.2 |
| 24-Sep-2008 |
wrstuden | Merge in changes between wrstuden-revivesa-base-2 and wrstuden-revivesa-base-3.
|
1.49.2.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.50.2.2 |
| 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
1.50.2.1 |
| 19-Oct-2008 |
haad | Sync with HEAD.
|
1.54.6.1 |
| 26-Jul-2009 |
snj | branches: 1.54.6.1.2; Pull up following revision(s) (requested by dholland in ticket #874): sys/dev/ic/ciss.c: revision 1.15 sys/dev/isa/isadma.c: revision 1.59 sys/dev/usb/ulpt.c: revision 1.82 sys/dev/ic/tcic2.c: revision 1.31 sys/dev/isa/if_ntwoc_isa.c: revision 1.18 sys/dev/pci/if_sk.c: revision 1.57 sys/dev/pcmcia/if_cnw.c: revision 1.46 More printf format fixes.
|
1.54.6.1.2.1 |
| 21-Apr-2010 |
matt | sync to netbsd-5
|
1.54.4.1 |
| 26-Jul-2009 |
snj | Pull up following revision(s) (requested by dholland in ticket #874): sys/dev/ic/ciss.c: revision 1.15 sys/dev/isa/isadma.c: revision 1.59 sys/dev/usb/ulpt.c: revision 1.82 sys/dev/ic/tcic2.c: revision 1.31 sys/dev/isa/if_ntwoc_isa.c: revision 1.18 sys/dev/pci/if_sk.c: revision 1.57 sys/dev/pcmcia/if_cnw.c: revision 1.46 More printf format fixes.
|
1.54.2.3 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.54.2.2 |
| 03-Mar-2009 |
skrll | Sync with HEAD.
|
1.54.2.1 |
| 19-Jan-2009 |
skrll | Sync with HEAD.
|
1.55.4.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.64.2.2 |
| 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
1.64.2.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
1.65.2.3 |
| 31-May-2011 |
rmind | sync with head
|
1.65.2.2 |
| 05-Mar-2011 |
rmind | sync with head
|
1.65.2.1 |
| 30-May-2010 |
rmind | sync with head
|
1.68.2.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.69.8.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
1.69.4.3 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.69.4.2 |
| 30-Oct-2012 |
yamt | sync with head
|
1.69.4.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.72.2.3 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.72.2.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.72.2.1 |
| 23-Jun-2013 |
tls | resync from head
|
1.74.2.1 |
| 18-May-2014 |
rmind | sync with head
|
1.77.2.1 |
| 07-Apr-2014 |
tls | Be a little more clear and consistent about harvesting entropy from devices:
1) deprecate RND_FLAG_NO_ESTIMATE
2) define RND_FLAG_COLLECT_TIME, RND_FLAG_COLLECT_VALUE
3) define RND_FLAG_ESTIMATE_TIME, RND_FLAG_ESTIMATE_VALUE
4) define RND_FLAG_DEFAULT: RND_FLAG_COLLECT_TIME| RND_FLAG_COLLECT_VALUE|RND_FLAG_ESTIMATE_TIME
5) Make entropy harvesting from environmental sensors a little more generic and remove it from individual sensor drivers.
6) Remove individual open-coded delta-estimators for values from a few places in the tree (uvm, environmental drivers).
7) 0 -> RND_FLAG_DEFAULT, actually gather entropy from various drivers that had stubbed out code, other minor cleanups.
|
1.78.4.5 |
| 05-Feb-2017 |
skrll | Sync with HEAD
|
1.78.4.4 |
| 09-Jul-2016 |
skrll | Sync with HEAD
|
1.78.4.3 |
| 19-Mar-2016 |
skrll | Sync with HEAD
|
1.78.4.2 |
| 06-Jun-2015 |
skrll | Sync with HEAD
|
1.78.4.1 |
| 06-Apr-2015 |
skrll | Sync with HEAD
|
1.82.2.1 |
| 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
1.85.14.5 |
| 26-Jan-2019 |
pgoyette | Sync with HEAD
|
1.85.14.4 |
| 18-Jan-2019 |
pgoyette | Synch with HEAD
|
1.85.14.3 |
| 26-Nov-2018 |
pgoyette | Sync with HEAD, resolve a couple of conflicts
|
1.85.14.2 |
| 28-Jul-2018 |
pgoyette | Sync with HEAD
|
1.85.14.1 |
| 25-Jun-2018 |
pgoyette | Sync with HEAD
|
1.85.8.1 |
| 13-May-2019 |
martin | Pull up the following, via patch, requested by msaitoh in ticket #1263:
sys/dev/mii/brgphy.c 1.84 sys/dev/mii/ciphy.c 1.33 via patch sys/dev/mii/rgephy.c 1.53 sys/arch/arm/imx/if_enet.c 1.18 sys/arch/mips/adm5120/dev/if_admsw.c 1.19-1.20 sys/dev/pci/if_bge.c 1.329 sys/dev/pci/if_bnx.c 1.81 sys/dev/pci/if_et.c 1.21 sys/dev/pci/if_lii.c 1.22 sys/dev/pci/if_msk.c 1.87 sys/dev/pci/if_nfe.c 1.68 sys/dev/pci/if_sk.c 1.95 sys/dev/pci/if_ti.c 1.107 sys/dev/pci/if_txp.c 1.52 sys/dev/pci/if_vge.c 1.69 sys/dev/usb/if_axen.c 1.38 sys/dev/usb/if_aue.c 1.149
Fix a bug that the duplex of manual media setting may be wrong when the IFM_GMASK bit other than IFM_[FH]DX is set.
|
1.87.2.3 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.87.2.2 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.87.2.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.103.2.1 |
| 29-Feb-2020 |
ad | Sync with head.
|
1.106.4.1 |
| 21-Mar-2021 |
thorpej | Give config_found() the same variadic arguments treatment as config_search(). This commit only adds the CFARG_EOL sentinel to the existing config_found() calls. Conversion of config_found_sm_loc() and config_found_ia() call sites will be in subsequent commits.
|
1.107.2.1 |
| 13-May-2021 |
thorpej | Sync with HEAD.
|
1.108.6.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|
1.112.2.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|