CVS log for src/sys/dev/marvell/if_gfe.c
Up to [cvs.NetBSD.org] / src / sys / dev / marvell
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Jul 5 04:31:51 2024 UTC (7 months, 1 week ago) by rin
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -4
lines
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@
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Aug 20 19:04:07 2022 UTC (2 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +5 -4
lines
gfe_ifstart(): Replace "IF_DEQUEUE() -> IF_PREPEND() on failure" with
"IF_POLL() -> IF_DEQUEUE() on success".
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:13 2021 UTC (3 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -4
lines
Merge thorpej-cfargs2.
Revision 1.58.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 21:00:41 2021 UTC (3 years, 6 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +3 -4
lines
Adapt to CFARGS().
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:56 2021 UTC (3 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Branch point for: thorpej-cfargs2
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +5 -4
lines
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?).
Revision 1.57.4.2: download - view: text, markup, annotated - select for diffs
Mon Mar 22 16:23:45 2021 UTC (3 years, 10 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.57.4.1: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.4.1: +2 -3
lines
Audit CFARG_IATTR in config_found() calls, and remove it in situations
where the interface attribute is not ambiguous.
Revision 1.57.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 22 02:01:01 2021 UTC (3 years, 10 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +6 -4
lines
Mechanical conversion of config_found_sm_loc() -> config_found().
CFARG_IATTR usage needs to be audited.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat Sep 5 16:30:11 2020 UTC (4 years, 5 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-futex,
thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -3
lines
Round of uvm.h cleanup.
The poorly named uvm.h is generally supposed to be for uvm-internal
users only.
- Narrow it to files that actually need it -- mostly files that need
to query whether curlwp is the pagedaemon, which should maybe be
exposed by an external header.
- Use uvm_extern.h where feasible and uvm_*.h for things not exposed
by it. We should split up uvm_extern.h but this will serve for now
to reduce the uvm.h dependencies.
- Use uvm_stat.h and #ifdef UVMHIST uvm.h for files that use
UVMHIST(ubchist), since ubchist is declared in uvm.h but the
reference evaporates if UVMHIST is not defined, so we reduce header
file dependencies.
- Make uvm_device.h and uvm_swap.h independently includable while
here.
ok chs@
Revision 1.49.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:07 2020 UTC (4 years, 10 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.49.2.1: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.2.1: +10 -10
lines
Merge changes from current as of 20200406
Revision 1.54.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:09 2020 UTC (4 years, 11 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +10 -10
lines
Sync with head.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Feb 5 08:34:48 2020 UTC (5 years ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3
lines
Adopt <net/if_stats.h>
Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Feb 4 07:36:55 2020 UTC (5 years ago) by skrll
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +9 -9
lines
Adopt <net/if_stats.h>
Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:13 2019 UTC (5 years, 8 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +90 -87
lines
Sync with HEAD
Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue May 28 07:41:49 2019 UTC (5 years, 8 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -2
lines
Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu May 23 13:10:51 2019 UTC (5 years, 8 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +6 -6
lines
Whitespace fix (mainly tabify).
Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu May 23 10:40:39 2019 UTC (5 years, 8 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +61 -59
lines
-No functional change:
- Simplify struct ethercom's pointer near ETHER_FIRST_MULTI().
- Simplify MII structure initialization.
- u_int*_t -> uint*_t.
- KNF
Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Apr 22 08:36:03 2019 UTC (5 years, 9 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +8 -15
lines
These drivers do ether_ioctl() on SIOC{ADD,DEL}MULTI, SIOC{G,S}IFMEDIA and
default case in the switch statement. Only the default case didn't check the
return value with ENETRESET. Integrate them to one ether_ioctl() with
ENETRESET test. This change might improve some other ioctl()s which return
ENETRESET by calling if_init().
Revision 1.48.14.2: download - view: text, markup, annotated - select for diffs
Sat Jan 26 22:00:06 2019 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.48.14.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.14.1: +19 -13
lines
Sync with HEAD
Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Jan 22 03:42:27 2019 UTC (6 years ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +19 -13
lines
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
Revision 1.48.14.1: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:45 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3
lines
Sync with HEAD
Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Jun 26 06:48:01 2018 UTC (6 years, 7 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes
Branch point for: phil-wifi
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3
lines
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.
Revision 1.41.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:05 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.41.2.1: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.2.1: +6 -8
lines
update from HEAD
Revision 1.43.2.5: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:28 2017 UTC (8 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.43.2.4: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.2.4: +2 -5
lines
Sync with HEAD
Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:32 2017 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +2 -5
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Dec 15 09:28:05 2016 UTC (8 years, 2 months ago) by ozaki-r
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-compat-base,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: pgoyette-compat
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -5
lines
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
Revision 1.43.2.4: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:03 2016 UTC (8 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.43.2.3: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.2.3: +3 -3
lines
Sync with HEAD
Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Jun 10 13:27:14 2016 UTC (8 years, 8 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3
lines
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.
Revision 1.43.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:10 2016 UTC (8 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.43.2.2: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.2.2: +3 -3
lines
Sync with HEAD
Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Feb 9 08:32:11 2016 UTC (9 years ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -3
lines
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!
Revision 1.43.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:08 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.43.2.1: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.2.1: +3 -3
lines
Sync with HEAD
Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Apr 13 16:33:24 2015 UTC (9 years, 10 months ago) by riastradh
Branches: MAIN
CVS tags: nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3
lines
Convert sys/dev to use <sys/rndsource.h>.
Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:09 2015 UTC (9 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -3
lines
Sync with HEAD
Revision 1.42.2.2: download - view: text, markup, annotated - select for diffs
Mon Jan 12 10:27:10 2015 UTC (10 years, 1 month ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Diff to: previous 1.42.2.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.2.1: +3 -3
lines
Pull up following revision(s) (requested by joerg in ticket #410):
sys/dev/marvell/if_gfe.c: revision 1.44
sizeof doesn't evaluate the expression, so increment of rxd doesn't
happen. Move it out.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Jan 11 22:59:57 2015 UTC (10 years, 1 month ago) by joerg
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -3
lines
sizeof doesn't evaluate the expression, so increment of rxd doesn't
happen. Move it out.
Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 30 12:04:46 2014 UTC (10 years, 3 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -3
lines
Pull up following revision(s) (requested by maxv in ticket #164):
sys/dev/ieee1394/fwcrom.c: revision 1.15
sys/dev/ieee1394/fwcrom.c: revision 1.16
sys/dev/marvell/if_gfe.c: revision 1.43
sys/dev/usb/stuirda.c: revision 1.16
sys/dev/pci/cxgb/cxgb_offload.c: revision 1.4
sys/dev/pci/twa.c: revision 1.51
sys/dev/pci/twa.c: revision 1.52
Various fixes in dev/: remove dead code and fix two inconsistencies.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Sep 21 17:00:35 2014 UTC (10 years, 4 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -3
lines
this is not python (add braces)
Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:39 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3
lines
Rebase to HEAD as of a few days ago.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Aug 10 16:44:35 2014 UTC (10 years, 6 months ago) by tls
Branches: MAIN
CVS tags: tls-maxphys-base,
netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3
lines
Merge tls-earlyentropy branch into HEAD.
Revision 1.41.12.1: download - view: text, markup, annotated - select for diffs
Mon Apr 7 03:37:32 2014 UTC (10 years, 10 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +3 -3
lines
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.
Revision 1.39.8.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:21:18 2012 UTC (12 years, 3 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.39.8.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.8.1: +5 -5
lines
sync with head
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Jul 22 14:32:59 2012 UTC (12 years, 6 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
tls-earlyentropy-base,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
tls-earlyentropy
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +5 -5
lines
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.
Revision 1.39.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:40 2012 UTC (12 years, 10 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -7
lines
sync with head
Revision 1.39.12.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:34:30 2012 UTC (12 years, 11 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +2 -7
lines
merge to -current.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Feb 2 19:43:04 2012 UTC (13 years ago) by tls
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -7
lines
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.
Revision 1.34.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:26 2011 UTC (13 years, 11 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.34.4.1: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.4.1: +3 -13
lines
sync with head
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Nov 13 13:52:04 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -4
lines
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants. These are provided by sys/param.h now.
Revision 1.34.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:46:17 2010 UTC (14 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.34.2.1: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.1: +1 -9
lines
Sync with HEAD.
Revision 1.29.4.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:38 2010 UTC (14 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.29.4.3: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.4.3: +398 -219
lines
sync with head.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Aug 1 06:57:06 2010 UTC (14 years, 6 months ago) by kiyohara
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -10
lines
Cleanup foo_match().
+ Remove check for model.
+ Remove unnecessary null line.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Jul 11 08:43:36 2010 UTC (14 years, 7 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3
lines
Add macro MVA_{UNIT,OFFSET,IRQ}_DEFAULT.
Revision 1.34.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:30 2010 UTC (14 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +405 -218
lines
sync with head
Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:27 2010 UTC (14 years, 9 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +405 -218
lines
Sync with HEAD.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Apr 28 13:51:56 2010 UTC (14 years, 9 months ago) by kiyohara
Branches: MAIN
CVS tags: uebayasi-xip-base1
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +402 -212
lines
Clean up gt and peripherals.
This change tested compile only.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Apr 5 07:20:24 2010 UTC (14 years, 10 months ago) by joerg
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +5 -8
lines
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.
Revision 1.29.4.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:40 2010 UTC (14 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.29.4.2: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.4.2: +6 -14
lines
sync with head
Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Jan 19 22:06:59 2010 UTC (15 years ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
uebayasi-xip-base
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +6 -14
lines
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.
Revision 1.29.4.2: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:27 2009 UTC (15 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.29.4.1: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.4.1: +12 -12
lines
sync with head
Revision 1.31.4.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:20:04 2009 UTC (15 years, 9 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +12 -12
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue May 12 14:30:25 2009 UTC (15 years, 9 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
matt-premerge-20091211,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +12 -12
lines
struct device * -> device_t, no functional changes intended.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue May 12 12:18:45 2009 UTC (15 years, 9 months ago) by cegger
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -4
lines
struct cfdata * -> cfdata_t, no functional changes intended.
Revision 1.29.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:51 2009 UTC (15 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +9 -7
lines
sync with head.
Revision 1.30.4.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:18:14 2009 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +8 -6
lines
Sync with HEAD.
Revision 1.28.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:57 2009 UTC (16 years ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.28.6.2: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.6.2: +6 -4
lines
Sync with HEAD.
Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:14:26 2008 UTC (16 years, 2 months ago) by haad
Branches: haad-dm
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +8 -6
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Nov 7 00:20:07 2008 UTC (16 years, 3 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
mjf-devfs2-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: jym-xensuspend
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +8 -6
lines
*** 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.
Revision 1.28.6.2: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:08 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.28.6.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.6.1: +1 -1
lines
Sync with HEAD.
Revision 1.29.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:09 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +3 -3
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.29.8.1: download - view: text, markup, annotated - select for diffs
Wed Jun 18 16:33:10 2008 UTC (16 years, 7 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +3 -3
lines
Sync with head.
Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:14:40 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +3 -3
lines
sync with head.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Jun 10 22:44:07 2008 UTC (16 years, 8 months ago) by he
Branches: MAIN
CVS tags: yamt-pf42-base4,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
haad-dm
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3
lines
Avoid the effects of name space pollution caused by <sys/rb.h>,
which defines rb_data, by instead naming the struct field rxb_data.
Revision 1.28.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:33 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +16 -16
lines
Sync with HEAD.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Apr 8 20:40:42 2008 UTC (16 years, 10 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
hpcarm-cleanup-nbase
Branch point for: yamt-pf42,
yamt-nfs-mp,
wrstuden-revivesa,
simonb-wapbl
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +16 -16
lines
use aprint_*_dev and device_xname
Revision 1.24.2.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:42 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.24.2.1: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.2.1: +9 -35
lines
sync with HEAD
Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:50 2008 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +9 -35
lines
Sync with HEAD.
Revision 1.16.4.5: download - view: text, markup, annotated - select for diffs
Mon Feb 11 14:59:37 2008 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16.4.4: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.4.4: +4 -3
lines
sync with head.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Feb 7 01:21:54 2008 UTC (17 years ago) by dyoung
Branches: MAIN
CVS tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
ad-socklock-base1
Branch point for: mjf-devfs2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -3
lines
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.
Revision 1.16.4.4: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:43:22 2008 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16.4.3: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.4.3: +7 -34
lines
sync with head
Revision 1.26.8.1: download - view: text, markup, annotated - select for diffs
Sun Jan 20 17:51:35 2008 UTC (17 years ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +7 -34
lines
Sync with HEAD
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Jan 19 22:10:18 2008 UTC (17 years ago) by dyoung
Branches: MAIN
CVS tags: bouyer-xeni386-nbase,
bouyer-xeni386-base
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +7 -34
lines
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.
Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:28:17 2007 UTC (17 years, 3 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -7
lines
sync with HEAD
Revision 1.16.4.3: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:32:12 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16.4.2: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.4.2: +3 -3
lines
sync with head.
Revision 1.23.6.2: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:45:40 2007 UTC (17 years, 3 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.23.6.1: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.6.1: +3 -3
lines
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.
Revision 1.25.4.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:38:35 2007 UTC (17 years, 3 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +3 -3
lines
Sync with HEAD.
Revision 1.22.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:08:29 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.22.2.2: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.2: +3 -3
lines
Sync with head.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:00:33 2007 UTC (17 years, 3 months ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
matt-armv6-base,
jmcneill-pm-base,
jmcneill-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-merge1,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: mjf-devfs,
bouyer-xeni386
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3
lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:41:38 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.1: +5 -8
lines
Sync with head.
Revision 1.23.6.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:48:11 2007 UTC (17 years, 5 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -8
lines
Sync with HEAD.
Revision 1.16.4.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:35:52 2007 UTC (17 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16.4.1: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.4.1: +9 -12
lines
sync with head.
Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:20:56 2007 UTC (17 years, 5 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +5 -8
lines
Sync with HEAD.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Sep 1 07:32:29 2007 UTC (17 years, 5 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
nick-csl-alignment-base5
Branch point for: bouyer-xenamd64
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -6
lines
Change a bazillion occurrences of code resembling this,
error = (cmd == SIOCADDMULTI) ?
ether_addmulti(ifr, &sc->sc_ec) :
ether_delmulti(ifr, &sc->sc_ec);
if (error == ENETRESET) {
to this,
if ((error = ether_ioctl(ifp, cmd, data)) == ENETRESET) {
which does the same thing.
(A bazillion is a very large number. This seems to make the i386
ALL kernel smaller by 3kB to 4kB.)
Use ifreq_getaddr() twice in es(4).
Whitespace nits.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Aug 26 22:45:57 2007 UTC (17 years, 5 months ago) by dyoung
Branches: MAIN
Branch point for: matt-armv6
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -4
lines
Constify: LLADDR -> CLLADDR. I'm aiming here to make it easier to
identify sockaddr_dl abuse that remains in the kernel, especially
the potential for overwriting memory past the end of a sockaddr_dl
with, e.g., memcpy(LLADDR(), ...).
Revision 1.22.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:06:36 2007 UTC (17 years, 7 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +3 -3
lines
Sync with head.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:00:51 2007 UTC (17 years, 7 months ago) by ad
Branches: MAIN
CVS tags: nick-csl-alignment-base,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: nick-csl-alignment,
jmcneill-pm
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3
lines
Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Sun Jul 1 21:48:04 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3
lines
Adapt to callout API change.
Revision 1.20.14.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:55:07 2007 UTC (17 years, 11 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +5 -5
lines
Sync with HEAD.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Mar 7 09:15:21 2007 UTC (17 years, 11 months ago) by he
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3
lines
Cast to char* and int before doing pointer arithmetic.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:02:14 2007 UTC (17 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -4
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.17.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:51:56 2006 UTC (18 years, 5 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +11 -10
lines
sync with head
Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:04:36 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +11 -10
lines
sync with head.
Revision 1.17.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:09 2006 UTC (18 years, 9 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +11 -10
lines
Sync with head.
Revision 1.17.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:25:18 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +11 -10
lines
sync with head.
Revision 1.17.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:07:11 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +11 -10
lines
sync with head.
Revision 1.17.12.2: download - view: text, markup, annotated - select for diffs
Fri Mar 31 09:45:21 2006 UTC (18 years, 10 months ago) by tron
Branches: peter-altq
Diff to: previous 1.17.12.1: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.12.1: +7 -7
lines
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Mar 29 06:55:32 2006 UTC (18 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
simonb-timecounters-base,
rpaulo-netinet-merge-pcb-base,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
newlock2,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
chap-midi-nbase,
chap-midi-base,
chap-midi,
ad-audiomp-base,
ad-audiomp,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-idlelwp
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -5
lines
Use device_private().
Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Mar 29 04:16:50 2006 UTC (18 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -4
lines
Use device_cfdata().
Revision 1.17.12.1: download - view: text, markup, annotated - select for diffs
Tue Mar 28 09:42:12 2006 UTC (18 years, 10 months ago) by tron
Branches: peter-altq
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -5
lines
Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Mar 25 23:15:54 2006 UTC (18 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -5
lines
Use device_parent().
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:22:16 2005 UTC (19 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2
lines
merge ktrace-lwp.
Revision 1.13.8.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:56 2005 UTC (19 years, 9 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +131 -96
lines
sync with -current
Revision 1.13.10.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:34:40 2005 UTC (19 years, 11 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.13.10.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.10.1: +6 -6
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.11.2.5: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:43:40 2005 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.11.2.4: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.4: +6 -6
lines
Sync with HEAD.
Hi Perry!
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:21 2005 UTC (19 years, 11 months ago) by perry
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
yamt-km-base4,
yamt-km-base3,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
ktrace-lwp-base,
kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -6
lines
nuke trailing whitespace
Revision 1.13.10.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:46 2005 UTC (20 years ago) by yamt
Branches: yamt-km
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +127 -92
lines
sync with head.
Revision 1.11.2.4: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:46:29 2005 UTC (20 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.11.2.3: preferred, colored
Changes since revision 1.11.2.3: +127 -92
lines
Sync with HEAD.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Feb 1 20:47:02 2005 UTC (20 years ago) by matt
Branches: MAIN
CVS tags: yamt-km-base2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +124 -91
lines
Allow the driver to allocate needs resources on attach and not free
depending on cf_flags (instead of on interface up / down).
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Jan 30 19:19:24 2005 UTC (20 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -3
lines
Eliminate use of M_HASFCS.
Revision 1.11.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:30:17 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.11.2.2: preferred, colored
Changes since revision 1.11.2.2: +2 -2
lines
Fix the sync with head I botched.
Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:48:19 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.11.2.1: preferred, colored
Changes since revision 1.11.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:48:22 2004 UTC (20 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +12 -5
lines
Sync with HEAD
Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Aug 5 14:55:06 2003 UTC (21 years, 6 months ago) by scw
Branches: MAIN
CVS tags: yamt-km-base,
netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +10 -6
lines
Try to drain the Tx pending queues after dealing with Rx/Tx interrupts.
This fixes a bug whereby a fast cpu with a decent cache can easily
outstrip the GT's ability to put packets on the wire, resulting in a
permanent backlog of mbufs in the Tx pending queues under heavy Tx load.
The bug was masked if the packet buffer was mapped non-cached, which
slowed down the cpu to where it couldn't keep up with the GT at 100mbit.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Jul 14 15:47:17 2003 UTC (21 years, 7 months ago) by lukem
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -1
lines
add missing __KERNEL_RCSID()
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jun 12 19:18:02 2003 UTC (21 years, 8 months ago) by scw
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -4
lines
Always pass BUS_DMA_COHERENT to bus_dmamem_map() when allocating
descriptor/buffer memory.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Apr 30 20:49:49 2003 UTC (21 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2
lines
Update inptr *after* we do the dmasync.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Apr 30 18:31:30 2003 UTC (21 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +9 -6
lines
Fix overrun of TX buffer dmamap.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Apr 10 15:23:19 2003 UTC (21 years, 10 months ago) by scw
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2
lines
When attaching, make sure the "Reject Broadcast Mode", "Promiscuous Mode"
and "Pass Bad Frames" bits in the EPCR register are clear.
This works around a problem where firmware sets RBM for some reason before
handing control to the NetBSD kernel.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Apr 8 22:33:34 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -2
lines
Use PAGE_SIZE rather than NBPG.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Apr 8 19:37:17 2003 UTC (21 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +89 -82
lines
Deal with discovery strangeness/timing issue. Sometimes the Ownership bit
on descriptor doesn't get reset so look beyond to the next descriptor to
see if it's been returned. If it has, then just process the current one.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Mar 24 17:00:54 2003 UTC (21 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +34 -41
lines
Update bpf interface to current. Make output buffers aligned to a
cacheline bounary. Only put hash table and descriptors in uncached
memory, buffers are in cached memory.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Mar 18 15:09:28 2003 UTC (21 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -39
lines
remove some unneeded code.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Mar 17 16:41:15 2003 UTC (21 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +8 -5
lines
Use a subregion for the mac's ethernet registers. Shaves 512 bytes
from the driver.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Mar 16 07:05:34 2003 UTC (21 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +131 -72
lines
Cleanup. Move much of the code to bus_space instead of using
private mechanisms.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Mar 5 22:08:23 2003 UTC (21 years, 11 months ago) by matt
Branches: MAIN
Add preliminary support Marvell (Galileo) Discovery System Controllers.
This code was contributed by Allegro Networks.
CVSweb <webmaster@jp.NetBSD.org>