CVS log for src/sys/dev/ic/rtl81x9.c
Up to [cvs.NetBSD.org] / src / sys / dev / ic
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.115: download - view: text, markup, annotated - select for diffs
Sat Jun 29 12:11:11 2024 UTC (4 months, 1 week ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +5 -5
lines
if_stats(9): Add ifp argument to if_stat..._ref.
This will enable us to pass the ifp through to a dtrace probe inside.
No functional change intended in this change, but this is an API
change visible to modules so it shouldn't be pulled up.
PR kern/58377
Revision 1.114: download - view: text, markup, annotated - select for diffs
Sun May 21 18:01:38 2023 UTC (17 months, 2 weeks ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +3 -3
lines
s/thar/that/ in comments.
Revision 1.113: download - view: text, markup, annotated - select for diffs
Sun Sep 25 18:43:32 2022 UTC (2 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: netbsd-10-base,
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.112: preferred, colored
Changes since revision 1.112: +2 -3
lines
Remove unnecessary include of <sys/malloc.h>.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Sat Jun 25 02:46:15 2022 UTC (2 years, 4 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +7 -5
lines
Pass proper status values to rnd_add_uint32(9) as rnd(9) man page claims.
Revision 1.103.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:22 2020 UTC (4 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.103.2.2: preferred, colored; branchpoint 1.103: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103.2.2: +2 -2
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.103.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:06 2020 UTC (4 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.103.2.1: preferred, colored; branchpoint 1.103: preferred, colored
Changes since revision 1.103.2.1: +20 -14
lines
Merge changes from current as of 20200406
Revision 1.111: download - view: text, markup, annotated - select for diffs
Thu Mar 12 03:01:46 2020 UTC (4 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +4 -2
lines
Add support for MBUFTRACE.
Revision 1.107.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:08 2020 UTC (4 years, 8 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107: +18 -14
lines
Sync with head.
Revision 1.110: download - view: text, markup, annotated - select for diffs
Fri Feb 7 00:56:48 2020 UTC (4 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: is-mlppp-base,
is-mlppp,
ad-namecache-base3
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +5 -4
lines
Use callout_setfunc() / callout_schedule().
Revision 1.109: download - view: text, markup, annotated - select for diffs
Tue Feb 4 05:25:39 2020 UTC (4 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +5 -5
lines
Use ifmedia_fini().
Revision 1.108: download - view: text, markup, annotated - select for diffs
Wed Jan 29 15:06:12 2020 UTC (4 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +12 -9
lines
Adopt <net/if_stats.h>.
Revision 1.106.2.1: download - view: text, markup, annotated - select for diffs
Tue Jan 28 11:12:30 2020 UTC (4 years, 9 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2
Diff to: previous 1.106: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106: +4 -4
lines
Pull up following revision(s) (requested by msaitoh in ticket #667):
sys/dev/ic/rtl81x9var.h: revision 1.57
sys/dev/ic/rtl81x9.c: revision 1.107
sys/dev/ic/rtl81x9reg.h: revision 1.51
sys/dev/ic/rtl8169.c: revision 1.160
sys/dev/ic/rtl81x9reg.h: revision 1.52
sys/dev/ic/rtl8169.c: revision 1.161
Use unsigned in rtk_setmulti() to avoid undefined behavior. Found bk kUBSan.
8168H model didn't link up well. some models seems to require to enable TX/RX after configuration.
RTKQ_TXRXEN_LATER quirk flag added. it may be able to unify with RTKQ_RXDV_GATED flag?
Sort RTK_HWREV_* by value.
Improve some chip revisions support:
- Add 8168FP, 8411, 8168G, 8401E, 8105E, 8105E_SPIN1, 8106E and 8402 from
{Free,Open}BSD.
- Renumber RTK_HWREV_8103E from 0x24C00000 to 0x34c00000. 0x24C00000 is newly
used as RTK_HWREV_8102EL_SPIN1. Same as {Free,Open}BSD.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Thu Aug 1 15:21:50 2019 UTC (5 years, 3 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20191119,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +4 -4
lines
Use unsigned in rtk_setmulti() to avoid undefined behavoir. Found bk kUBSan.
Revision 1.103.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:11 2019 UTC (5 years, 4 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +65 -59
lines
Sync with HEAD
Revision 1.106: download - view: text, markup, annotated - select for diffs
Tue May 28 07:41:48 2019 UTC (5 years, 5 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20190609,
netbsd-9-base,
netbsd-9-0-RC1
Branch point for: netbsd-9
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +10 -7
lines
Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Thu May 23 10:51:39 2019 UTC (5 years, 5 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +31 -32
lines
No functional change:
- Simplify MII structure initialization and reference.
- u_int*_t -> uint*_t.
- KNF
Revision 1.102.12.2: download - view: text, markup, annotated - select for diffs
Sat Jan 26 22:00:06 2019 UTC (5 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.102.12.1: preferred, colored; branchpoint 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102.12.1: +28 -24
lines
Sync with HEAD
Revision 1.104: download - view: text, markup, annotated - select for diffs
Tue Jan 22 03:42:26 2019 UTC (5 years, 9 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +28 -24
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.102.12.1: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:45 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +3 -3
lines
Sync with HEAD
Revision 1.103: download - view: text, markup, annotated - select for diffs
Tue Jun 26 06:48:00 2018 UTC (6 years, 4 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.102: preferred, colored
Changes since revision 1.102: +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.94.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:04 2017 UTC (6 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.94.2.1: preferred, colored; branchpoint 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94.2.1: +5 -8
lines
update from HEAD
Revision 1.95.4.5: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:03 2017 UTC (7 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.95.4.4: preferred, colored; branchpoint 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95.4.4: +4 -4
lines
Sync with HEAD
Revision 1.101.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:46 2017 UTC (7 years, 6 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101: +4 -4
lines
Sync with HEAD
Revision 1.100.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:28 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.100.2.1: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.2.1: +4 -4
lines
Sync with HEAD
Revision 1.102: download - view: text, markup, annotated - select for diffs
Mon Feb 20 07:43:29 2017 UTC (7 years, 8 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-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,
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
Branch point for: pgoyette-compat
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +4 -4
lines
Apply deferred if_start to more drivers
Revision 1.95.4.4: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:28 2017 UTC (7 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.95.4.3: preferred, colored; branchpoint 1.95: preferred, colored
Changes since revision 1.95.4.3: +2 -5
lines
Sync with HEAD
Revision 1.100.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:32 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +2 -5
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.101: download - view: text, markup, annotated - select for diffs
Thu Dec 15 09:28:05 2016 UTC (7 years, 10 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-20170107,
nick-nhusb-base-20170204,
bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +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.95.4.3: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:02 2016 UTC (8 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.95.4.2: preferred, colored; branchpoint 1.95: preferred, colored
Changes since revision 1.95.4.2: +3 -3
lines
Sync with HEAD
Revision 1.100: download - view: text, markup, annotated - select for diffs
Fri Jun 10 13:27:13 2016 UTC (8 years, 4 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.99: preferred, colored
Changes since revision 1.99: +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.99: download - view: text, markup, annotated - select for diffs
Wed Jun 8 22:25:35 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +2 -4
lines
Revert previous (rev. 1.98). It breaks at least one user's card.
PR kern/44433
Revision 1.98: download - view: text, markup, annotated - select for diffs
Wed Jun 1 12:40:03 2016 UTC (8 years, 5 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +4 -2
lines
Enable writing to the EPROM before trying to change our MAC address.
From PR kern/44433
Revision 1.95.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:09 2016 UTC (8 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.95.4.1: preferred, colored; branchpoint 1.95: preferred, colored
Changes since revision 1.95.4.1: +3 -3
lines
Sync with HEAD
Revision 1.97: download - view: text, markup, annotated - select for diffs
Tue Feb 9 08:32:10 2016 UTC (8 years, 8 months ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +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.95.4.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:07 2015 UTC (9 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +3 -3
lines
Sync with HEAD
Revision 1.96: download - view: text, markup, annotated - select for diffs
Mon Apr 13 16:33:24 2015 UTC (9 years, 6 months ago) by riastradh
Branches: MAIN
CVS tags: nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +3 -3
lines
Convert sys/dev to use <sys/rndsource.h>.
Revision 1.94.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:38 2014 UTC (10 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +3 -3
lines
Rebase to HEAD as of a few days ago.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Sun Aug 10 16:44:35 2014 UTC (10 years, 2 months ago) by tls
Branches: MAIN
CVS tags: tls-maxphys-base,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
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,
netbsd-7
Branch point for: nick-nhusb
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +3 -3
lines
Merge tls-earlyentropy branch into HEAD.
Revision 1.94.12.1: download - view: text, markup, annotated - select for diffs
Mon Apr 7 03:37:32 2014 UTC (10 years, 7 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94: +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.92.8.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:21:08 2012 UTC (12 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.92.8.1: preferred, colored; branchpoint 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.8.1: +4 -4
lines
sync with head
Revision 1.94: download - view: text, markup, annotated - select for diffs
Sun Jul 22 14:32:58 2012 UTC (12 years, 3 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.93: preferred, colored
Changes since revision 1.93: +4 -4
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.92.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:36 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +3 -13
lines
sync with head
Revision 1.92.12.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:34:23 2012 UTC (12 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92: +3 -13
lines
merge to -current.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Thu Feb 2 19:43:03 2012 UTC (12 years, 9 months 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.92: preferred, colored
Changes since revision 1.92: +3 -13
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.88.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:19 2011 UTC (13 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.88.4.1: preferred, colored; branchpoint 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88.4.1: +5 -4
lines
sync with head
Revision 1.92: download - view: text, markup, annotated - select for diffs
Sat Nov 13 13:52:02 2010 UTC (13 years, 11 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.91: preferred, colored
Changes since revision 1.91: +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.88.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:46:12 2010 UTC (14 years, 2 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.88.2.1: preferred, colored; branchpoint 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88.2.1: +3 -0
lines
Sync with HEAD.
Revision 1.82.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:30 2010 UTC (14 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.82.2.3: preferred, colored; branchpoint 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82.2.3: +8 -7
lines
sync with head.
Revision 1.91: download - view: text, markup, annotated - select for diffs
Tue Jul 27 21:02:00 2010 UTC (14 years, 3 months ago) by jakllsch
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.90: preferred, colored
Changes since revision 1.90: +5 -2
lines
Make the Realtek PCI network interfaces detachable.
Use __arraycount to avoid null table entries.
Miscellaneous other touch-ups in bus front-ends.
Revision 1.88.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:24 2010 UTC (14 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +5 -7
lines
sync with head
Revision 1.88.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:21 2010 UTC (14 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +5 -7
lines
Sync with HEAD.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Mon Apr 5 07:19:36 2010 UTC (14 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: uebayasi-xip-base1
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +4 -6
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.89: download - view: text, markup, annotated - select for diffs
Sun Mar 28 20:46:18 2010 UTC (14 years, 7 months ago) by snj
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -3
lines
Spell "enough" properly.
Revision 1.82.2.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:34 2010 UTC (14 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.82.2.2: preferred, colored; branchpoint 1.82: preferred, colored
Changes since revision 1.82.2.2: +4 -11
lines
sync with head
Revision 1.88: download - view: text, markup, annotated - select for diffs
Tue Jan 19 22:06:25 2010 UTC (14 years, 9 months 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.87: preferred, colored
Changes since revision 1.87: +4 -11
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.82.2.2: download - view: text, markup, annotated - select for diffs
Wed Sep 16 13:37:48 2009 UTC (15 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.82.2.1: preferred, colored; branchpoint 1.82: preferred, colored
Changes since revision 1.82.2.1: +5 -13
lines
sync with head
Revision 1.87: download - view: text, markup, annotated - select for diffs
Tue Sep 15 19:29:17 2009 UTC (15 years, 1 month ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
matt-premerge-20091211,
jym-xensuspend-nbase
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +5 -13
lines
Simplify activation routines: do not call mii_activate(), it is a
no-op. Do not block interrupts, if_deactivate() will take care of
that for us.
Revision 1.82.16.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:19:24 2009 UTC (15 years, 5 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +52 -56
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.82.2.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:43 2009 UTC (15 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +52 -56
lines
sync with head.
Revision 1.82.10.1: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:27 2009 UTC (15 years, 6 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +50 -56
lines
Sync with HEAD.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Mon Apr 27 14:52:50 2009 UTC (15 years, 6 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
jymxensuspend-base,
jym-xensuspend-base
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +4 -2
lines
Wrap one more printf() with #ifdef DEBUG, which was missed on rev 1.52.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Sun Apr 26 16:17:08 2009 UTC (15 years, 6 months ago) by tsutsui
Branches: MAIN
CVS tags: nick-hppapmap-base3,
nick-hppapmap-base
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +42 -48
lines
Always make local functions static. Local symbols are still preserved
on link by ld(1) with -X option on most ports for debug.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Apr 26 02:25:57 2009 UTC (15 years, 6 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +9 -9
lines
- use (uint8_t *) for RX buffer
- remove unnecessary pointer casts
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat Apr 25 18:27:39 2009 UTC (15 years, 6 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +3 -3
lines
Use roundup2() macro.
Revision 1.81.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:27 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +23 -20
lines
Sync with HEAD.
Revision 1.81.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:45 2008 UTC (16 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +23 -20
lines
sync with head.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri Apr 25 11:27:19 2008 UTC (16 years, 6 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
nick-hppapmap-base2,
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,
mjf-devfs2-base,
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,
hpcarm-cleanup-nbase,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: yamt-nfs-mp,
nick-hppapmap,
jym-xensuspend
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +23 -20
lines
Split device_t/softc for re(4) and rtk(4).
Revision 1.76.2.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:39 2008 UTC (16 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.76.2.2: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.2.2: +16 -56
lines
sync with HEAD
Revision 1.77.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:41 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.77.2.2: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.2.2: +19 -56
lines
Sync with HEAD.
Revision 1.51.4.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:43:06 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.51.4.6: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.4.6: +19 -125
lines
sync with head
Revision 1.79.2.2: download - view: text, markup, annotated - select for diffs
Sun Jan 20 17:51:33 2008 UTC (16 years, 9 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.79.2.1: preferred, colored; branchpoint 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79.2.1: +14 -54
lines
Sync with HEAD
Revision 1.81: download - view: text, markup, annotated - select for diffs
Sat Jan 19 22:10:17 2008 UTC (16 years, 9 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
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,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1
Branch point for: yamt-pf42,
mjf-devfs2
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +16 -56
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.76.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:53:00 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.76.2.1: preferred, colored; branchpoint 1.76: preferred, colored
Changes since revision 1.76.2.1: +5 -71
lines
sync with HEAD
Revision 1.79.2.1: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:11:05 2008 UTC (16 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +5 -2
lines
Sync with HEAD
Revision 1.80: download - view: text, markup, annotated - select for diffs
Tue Jan 8 15:50:36 2008 UTC (16 years, 10 months ago) by joerg
Branches: MAIN
CVS tags: matt-armv6-base
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +5 -2
lines
Short-cut interrupt processing if device has been suspended.
uvm_fault reported by xtraeme.
Revision 1.77.2.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:45:07 2007 UTC (16 years, 10 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.77.2.1: preferred, colored
Changes since revision 1.77.2.1: +2 -71
lines
Sync with HEAD.
Revision 1.78.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:46:22 2007 UTC (16 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +2 -71
lines
Sync with head.
Revision 1.78.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:27:42 2007 UTC (16 years, 10 months ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +2 -71
lines
sync with head.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun Dec 9 20:27:59 2007 UTC (16 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
vmlocking2-base3,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -71
lines
Merge jmcneill-pm branch.
Revision 1.77.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:47:55 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +46 -44
lines
Sync with HEAD.
Revision 1.51.4.6: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:44:09 2007 UTC (16 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.51.4.5: preferred, colored; branchpoint 1.51: preferred, colored
Changes since revision 1.51.4.5: +46 -44
lines
sync with head.
Revision 1.76.6.2: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:01:01 2007 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.76.6.1: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.6.1: +44 -42
lines
Sync with HEAD
Revision 1.76.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:27:05 2007 UTC (17 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +47 -45
lines
sync with HEAD
Revision 1.75.6.4: download - view: text, markup, annotated - select for diffs
Tue Nov 6 19:25:18 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.75.6.3: preferred, colored; branchpoint 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75.6.3: +41 -39
lines
Sync with HEAD.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Nov 6 02:29:20 2007 UTC (17 years ago) by uwe
Branches: MAIN
CVS tags: yamt-kmem-base,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: yamt-kmem,
vmlocking2
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +46 -44
lines
Use device_t and device_private(). Convert attach to use aprint_*.
Revision 1.51.4.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:31:00 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.51.4.4: preferred, colored; branchpoint 1.51: preferred, colored
Changes since revision 1.51.4.4: +3 -3
lines
sync with head.
Revision 1.75.6.3: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:44:59 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.75.6.2: preferred, colored; branchpoint 1.75: preferred, colored
Changes since revision 1.75.6.2: +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.76.6.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:37:55 2007 UTC (17 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -3
lines
Sync with HEAD.
Revision 1.71.2.5: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:07:41 2007 UTC (17 years ago) by ad
Branches: vmlocking
Diff to: previous 1.71.2.4: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.2.4: +3 -3
lines
Sync with head.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Oct 19 11:59:59 2007 UTC (17 years ago) by ad
Branches: MAIN
Branch point for: mjf-devfs
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -3
lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
Revision 1.71.2.4: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:41:30 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.71.2.3: preferred, colored
Changes since revision 1.71.2.3: +3 -3
lines
Sync with head.
Revision 1.75.6.2: download - view: text, markup, annotated - select for diffs
Fri Oct 5 01:08:58 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.75.6.1: preferred, colored; branchpoint 1.75: preferred, colored
Changes since revision 1.75.6.1: +2 -71
lines
Remove the power management nonsense in the PCI versions of
rtk(4) and re(4). It is not really likely to work anyway.
Use PNP power management for the cardbus attachment as well and
remove the power management handlers from the chipset code.
Revision 1.51.2.2: download - view: text, markup, annotated - select for diffs
Thu Oct 4 18:50:23 2007 UTC (17 years, 1 month ago) by bouyer
Branches: netbsd-3
Diff to: previous 1.51.2.1: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.2.1: +6 -9
lines
Pull up following revision(s) (requested by tsutsui in ticket #1852):
sys/dev/ic/rtl81x9var.h: revision 1.39
sys/dev/cardbus/if_re_cardbus.c: revision 1.13
sys/dev/pci/if_re_pci.c: revision 1.27 via patch
sys/dev/pci/if_rtk_pci.c: revision 1.32
sys/dev/cardbus/if_rtk_cardbus.c: revision 1.32
sys/dev/ic/rtl8169.c: revision 1.84, 1.85
sys/dev/ic/rtl81x9reg.h: revision 1.27
sys/dev/ic/rtl81x9.c: revision 1.72
Cleanup handling of quikrs on each RealTek chip:
Pull a fix for PCIe variants from FreeBSD
Revision 1.75.6.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:48:07 2007 UTC (17 years, 2 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3
lines
Sync with HEAD.
Revision 1.51.4.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:35:08 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.51.4.3: preferred, colored; branchpoint 1.51: preferred, colored
Changes since revision 1.51.4.3: +25 -26
lines
sync with head.
Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:20:26 2007 UTC (17 years, 2 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +3 -3
lines
Sync with HEAD.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun Aug 26 22:45:56 2007 UTC (17 years, 2 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: matt-armv6,
bouyer-xenamd64
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3
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.71.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:06:10 2007 UTC (17 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +13 -14
lines
Sync with head.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:00:38 2007 UTC (17 years, 4 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.74: preferred, colored
Changes since revision 1.74: +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.71.2.3: download - view: text, markup, annotated - select for diffs
Sun Jul 1 21:47:54 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.71.2.2: preferred, colored
Changes since revision 1.71.2.2: +3 -3
lines
Adapt to callout API change.
Revision 1.66.2.4.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 4 01:54:20 2007 UTC (17 years, 5 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.66.2.4.2.1: preferred, colored; next MAIN 1.66.2.5: preferred, colored
Changes since revision 1.66.2.4.2.1: +6 -2
lines
Update to today's netbsd-4.
Revision 1.66.2.4.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 3 17:26:03 2007 UTC (17 years, 5 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.66.2.4: preferred, colored
Changes since revision 1.66.2.4: +6 -9
lines
Catch up with now-somewhat-dated netbsd-4. These changes took longer
than expected for me to actually get around to merging.
Revision 1.71.2.2: download - view: text, markup, annotated - select for diffs
Sun May 27 14:30:07 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.71.2.1: preferred, colored
Changes since revision 1.71.2.1: +8 -6
lines
Sync with head.
Revision 1.66.2.6: download - view: text, markup, annotated - select for diffs
Thu May 24 00:03:15 2007 UTC (17 years, 5 months ago) by riz
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-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,
matt-nb4-arm-base,
matt-nb4-arm
Diff to: previous 1.66.2.5: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.2.5: +6 -2
lines
Pull up following revision(s) (requested by joerg in ticket #663):
sys/dev/ic/rtl81x9.c: revision 1.74
If the interrupt status register reads as 0xffff in rtk_intr, assume
that the card is gone and abort the loop. This fixes hot-plugging of
cardbus cards.
From FreeBSD's rl(4).
Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri May 18 14:10:37 2007 UTC (17 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +6 -2
lines
If the interrupt status register reads as 0xffff in rtk_intr, assume
that the card is gone and abort the loop. This fixes hot-plugging of
cardbus cards.
From FreeBSD's rl(4).
Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri May 18 14:08:57 2007 UTC (17 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +4 -6
lines
Make rtk_list_tx_init return void. The return value was constant and
never used.
Revision 1.66.2.5: download - view: text, markup, annotated - select for diffs
Wed May 16 20:46:04 2007 UTC (17 years, 5 months ago) by jdc
Branches: netbsd-4
Diff to: previous 1.66.2.4: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.2.4: +6 -9
lines
Pull up revision 1.72 (requested by tsutsui in ticket #640).
Cleanup handling of quikrs on each RealTek chip:
- replace rtk_type member in rtk_softc which has chip types
with new rtk_quirk that represents quirks on each chip:
- RTKQ_8129 doesn't have internal MII (used in rtk(4))
- RTKQ_8139CPLUS has different register layout (for re(4))
- RTKQ_8169NONS (original 8169) requires some settings on init
- RTKQ_PCIE requires different settings in setmulti
so that we don't have to check each hwrev values or types everywhere
and newer variants will also work without changes if they don't
have other quirks
(sc_rev is unchenged for now for reference to the Realtek's driver)
- don't check hwrev register in re_pci_match() but check
only PCI_VENDER(), PCI_PRODUCT() and PCI_REVISION()
so that we no longer have to map pci space there
- add a new HWREV value for another 8168 variant
- try to map PCI mem space more properly
- remove (probably unneeded) ifp->if_baudrate initialization
Tested on a newer 8168 variant by Dennis den Brok on tech-kern,
and also tested on 8139 and 8169C on macppc, and 8139C+ on landisk
by me.
Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 10 13:24:31 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +6 -9
lines
Sync with head.
Revision 1.71.6.1: download - view: text, markup, annotated - select for diffs
Thu Mar 29 19:27:45 2007 UTC (17 years, 7 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +6 -9
lines
Pullup to -current
Revision 1.70.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:55:28 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.70.2.1: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.2.1: +6 -9
lines
sync with head.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed Mar 21 12:17:31 2007 UTC (17 years, 7 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +6 -9
lines
Cleanup handling of quikrs on each RealTek chip:
- replace rtk_type member in rtk_softc which has chip types
with new rtk_quirk that represents quirks on each chip:
- RTKQ_8129 doesn't have internal MII (used in rtk(4))
- RTKQ_8139CPLUS has different register layout (for re(4))
- RTKQ_8169NONS (original 8169) requires some settings on init
- RTKQ_PCIE requires different settings in setmulti
so that we don't have to check each hwrev values or types everywhere
and newer variants will also work without changes if they don't
have other quirks
(sc_rev is unchenged for now for reference to the Realtek's driver)
- don't check hwrev register in re_pci_match() but check
only PCI_VENDER(), PCI_PRODUCT() and PCI_REVISION()
so that we no longer have to map pci space there
- add a new HWREV value for another 8168 variant
- try to map PCI mem space more properly
- remove (probably unneeded) ifp->if_baudrate initialization
Tested on a newer 8168 variant by Dennis den Brok on tech-kern,
and also tested on 8139 and 8169C on macppc, and 8139C+ on landisk
by me.
Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:53:43 2007 UTC (17 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +13 -13
lines
Sync with HEAD.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:02:00 2007 UTC (17 years, 8 months ago) by christos
Branches: MAIN
Branch point for: vmlocking,
reinoud-bufcleanup,
mjf-ufs-trans
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +13 -13
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 3 23:30:24 2007 UTC (17 years, 8 months ago) by bouyer
Branches: netbsd-3
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +195 -212
lines
Pull up following revision(s) (requested by tsutsui in ticket #1673):
distrib/sets/lists/man/mi 1.844, 1.871
share/man/man4/Makefile 1.372, 1.379 via patch
share/man/man4/re.4 1.8, 1.9, 1.11, 1.12
share/man/man4/rgephy.4 1.1
share/man/man4/rlphy.4 1.1, 1.2
sys/arch/amd64/conf/GENERIC 1.79, 1.89
sys/arch/amd64/conf/INSTALL 1.45, 1.49
sys/arch/i386/conf/GENERIC 1.717, 1.747
sys/arch/i386/conf/GENERIC_LAPTOP 1.164
sys/arch/i386/conf/INSTALL 1.277, 1.283
sys/arch/i386/conf/INSTALL_LAPTOP 1.96, 1.98
sys/arch/i386/conf/XEN2_DOM0 1.22 via patch
sys/arch/macppc/conf/GENERIC 1.220, 1.246
sys/arch/macppc/conf/INSTALL 1.96, 1.100
sys/dev/cardbus/if_re_cardbus.c 1.10
sys/dev/cardbus/if_rtk_cardbus.c 1.29-1.31
sys/dev/ic/rtl8169.c 1.14, 1.20, 1.24, 1.25, 1.28-1.61, 1.63, 1.64-1.81 via patch
sys/dev/ic/rtl81x9.c 1.52, 1.54-1.63, 1.65, 1.67-1.70
sys/dev/ic/rtl81x9reg.h 1.15-1.26
sys/dev/ic/rtl81x9var.h 1.19, 1.21-1.37
sys/dev/mii/files.mii 1.38
sys/dev/mii/miidevs 1.62, 1.64
sys/dev/mii/rgephy.c 1.10, 1.13-1.16
sys/dev/mii/rlphy.c 1.1, 1.6, 1.7, 1.11 via patch
sys/dev/pci/if_re_pci.c 1.13, 1.15-1.17, 1.19-1.23
sys/dev/pci/if_rtk_pci.c 1.25, 1.28, 1.29, 1.31
sys/dev/pci/pcidevs 1.851, 1.852
on re(4):
- improve stability (I believe ;-)
- add a workaround for hardware ip4csum-tx bug
- support newer chips (8169SB/SC, PCIe based 8168 etc.)
- fix 8139C+ support
- enable hardware VLAN
- misc bus_dma(9) fix (which makes re(4) work on mips ports)
on rtk(4):
- fix kern/31348
- fix possible panic on dreamcast
Revision 1.51.4.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:10:11 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.51.4.2: preferred, colored; branchpoint 1.51: preferred, colored
Changes since revision 1.51.4.2: +31 -14
lines
sync with head.
Revision 1.66.2.4: download - view: text, markup, annotated - select for diffs
Sat Feb 24 13:25:29 2007 UTC (17 years, 8 months ago) by bouyer
Branches: netbsd-4
Branch point for: wrstuden-fixsa
Diff to: previous 1.66.2.3: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.2.3: +4 -3
lines
Pull up following revision(s) (requested by tsutsui in ticket #462):
sys/dev/ic/rtl8169.c: revision 1.80 - 1.81
sys/dev/ic/rtl81x9.c: revision 1.70
Use new RTK_HWREV_8100E_SPIN2 macro. (missed in the previous)
Don't set RTK_CFG1_FULLDUPLEX bit in RTK_CFG1 register
since it's available only on RTL8129. From FreeBSD.
As defined in rtl81x9reg.h, bits of 0x80 and 0x40 in RTK_CFG1
seem to indicate LEDS0 and LEDS1 configuration initialized by
EEPROM settings, and they seem read only on my quick tests with
two 8169S based cards.
RTK_HWREV_8100E_SPIN2 is a PCIe device so also check it
in rtk_setmulti() to handle quirk. Noticed by OpenBSD.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Fri Feb 16 13:01:48 2007 UTC (17 years, 8 months ago) by tsutsui
Branches: MAIN
CVS tags: ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +4 -3
lines
RTK_HWREV_8100E_SPIN2 is a PCIe device so also check it
in rtk_setmulti() to handle quirk. Noticed by OpenBSD.
Revision 1.66.2.3: download - view: text, markup, annotated - select for diffs
Sat Feb 10 14:28:39 2007 UTC (17 years, 8 months ago) by tron
Branches: netbsd-4
Diff to: previous 1.66.2.2: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.2.2: +19 -5
lines
Pull up following revision(s) (requested by tsutsui in ticket #437):
sys/dev/ic/rtl81x9.c: revision 1.69
Pull a multicast fix from FreeBSD's if_re.c rev 1.81:
Fix rtk_setmulti() so that it works correctly for PCIe chips where
the multicast hash table are in reverse order compared to older
devices.
Closes PR kern/35579 from Nino Dehne.
Revision 1.66.2.2: download - view: text, markup, annotated - select for diffs
Sat Feb 10 14:28:17 2007 UTC (17 years, 8 months ago) by tron
Branches: netbsd-4
Diff to: previous 1.66.2.1: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.2.1: +3 -3
lines
Pull up following revision(s) (requested by tsutsui in ticket #437):
sys/dev/ic/rtl81x9.c: revision 1.68
Accept RX packets which are larger than ETHER_MAX_LEN but can be stored
into RX mbufs. Inspired by OpenBSD.
Revision 1.66.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 10 14:25:58 2007 UTC (17 years, 8 months ago) by tron
Branches: netbsd-4
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +12 -10
lines
Pull up following revision(s) (requested by tsutsui in ticket #437):
sys/dev/ic/rtl81x9.c: revision 1.67
sys/dev/ic/rtl8169.c: revision 1.77
Fix EEPROM functions for RTL8169SC chips:
rtl81x9.c:
Increase delay on EEPROM access since EEPROM on RTL8169 based board
seems to require slower clock. Also use common EE_DELAY() macro.
rtl8169.c:
Use common rtk_read_eeprom() function to get Ethernet address on
8169 chips because EEMODE_AUTOLOAD command was a workaround on
original FreeBSD's driver and it doesn't work on 8169SC.
Problem reported and fix tested by Frank Lorenzen on current-users,
and also tested on 8139C with rtk(4) driver by me.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Feb 10 03:58:32 2007 UTC (17 years, 8 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +19 -5
lines
Pull a multicast fix from FreeBSD's if_re.c rev 1.81:
Fix rtk_setmulti() so that it works correctly for PCIe chips where
the multicast hash table are in reverse order compared to older
devices.
Closes PR kern/35579 from Nino Dehne.
Revision 1.52.20.3: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:03:51 2007 UTC (17 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.52.20.2: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.20.2: +3 -3
lines
Sync with HEAD.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Feb 4 06:01:30 2007 UTC (17 years, 9 months ago) by tsutsui
Branches: MAIN
CVS tags: post-newlock2-merge,
newlock2-nbase,
newlock2-base
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3
lines
Accept RX packets which are larger than ETHER_MAX_LEN but can be stored
into RX mbufs. Inspired by OpenBSD.
Revision 1.52.20.2: download - view: text, markup, annotated - select for diffs
Thu Feb 1 08:48:20 2007 UTC (17 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.52.20.1: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.20.1: +12 -10
lines
Sync with head.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon Jan 29 12:11:42 2007 UTC (17 years, 9 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +12 -10
lines
Fix EEPROM functions for RTL8169SC chips:
rtl81x9.c:
Increase delay on EEPROM access since EEPROM on RTL8169 based board
seems to require slower clock. Also use common EE_DELAY() macro.
rtl8169.c:
Use common rtk_read_eeprom() function to get Ethernet address on
8169 chips because EEMODE_AUTOLOAD command was a workaround on
original FreeBSD's driver and it doesn't work on 8169SC.
Problem reported and fix tested by Frank Lorenzen on current-users,
and also tested on 8139C with rtk(4) driver by me.
Revision 1.51.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:04 2006 UTC (17 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.51.4.1: preferred, colored; branchpoint 1.51: preferred, colored
Changes since revision 1.51.4.1: +165 -202
lines
sync with head.
Revision 1.52.22.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:07 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.52.22.1: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.22.1: +7 -9
lines
sync with head.
Revision 1.52.20.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:14 2006 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +165 -202
lines
Sync with head.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:52 2006 UTC (17 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
netbsd-4-base
Branch point for: netbsd-4
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3
lines
__unused removal on arguments; approved by core.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun Nov 5 15:49:41 2006 UTC (18 years ago) by tsutsui
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +6 -8
lines
- make TX threshold macro more generic
- no need to bother to initialize sc_txthresh in rtk_attach()
since it's done in rtk_init()
Revision 1.52.22.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:45 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +161 -196
lines
sync with head
Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:01 2006 UTC (18 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -3
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Sep 29 18:56:29 2006 UTC (18 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +84 -79
lines
- KNF
- u_intNN_t -> uintNN_t
- misc cosmetics
Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Sep 29 18:27:51 2006 UTC (18 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +32 -77
lines
ANSIfy.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Sep 29 18:20:02 2006 UTC (18 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +27 -26
lines
TAB/space cleanup.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Sep 29 16:46:49 2006 UTC (18 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +7 -7
lines
Set a timeout only if any TX packet is actually queued.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Sep 29 16:40:15 2006 UTC (18 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +4 -4
lines
rtk_intr() should return 1 only if any interrupts are actually handled.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Sep 29 16:38:16 2006 UTC (18 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3
lines
Use `SIMPLEQ_EMPTY()' rather than `SIMPLEQ_FIRST() == NULL'.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Sep 29 16:33:41 2006 UTC (18 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -4
lines
Handle more wraparound case on RX ring-buffer calculation.
(it might cause problem only if RTK_RXBUFLEN < 64KB)
Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Sep 29 14:03:07 2006 UTC (18 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3
lines
Pull mii_readreg fix from FreeBSD if_rl.c rev 1.81:
> When reading PHY regs over the i2c bus, the turnaround ACK bit
> is read one clock edge too late. This bit is driven low by
> slave (as any other input data bits from slave) when the clock
> is LOW. The current code did read the bit after the clock was
> driven high again.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Sep 29 13:59:40 2006 UTC (18 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +7 -5
lines
In rtk_txeof(), clear the timeout timer only if there is no pending packet.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Sep 29 08:33:06 2006 UTC (18 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +9 -8
lines
In rtk_rxeof():
- discard too short packets as well as too large ones
- trim CRC off rather than setting M_HASFCS
Closes PR kern/31348.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Sep 24 03:53:08 2006 UTC (18 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -3
lines
Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@
Revision 1.51.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:02:56 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +6 -2
lines
sync with head.
Revision 1.45.2.9: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:28:51 2005 UTC (18 years, 10 months ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.45.2.8: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.8: +6 -2
lines
Sync with head.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Dec 8 18:06:42 2005 UTC (18 years, 11 months ago) by xtraeme
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
yamt-pdpolicy,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
rpaulo-netinet-merge-pcb-base,
rpaulo-netinet-merge-pcb,
peter-altq-base,
peter-altq,
ktrace-lwp-base,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +6 -2
lines
Not everyone want to see debugging printf()s unless "options DEBUG"
is compiled in.
Revision 1.47.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:52 2005 UTC (19 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +96 -60
lines
sync with -current
Revision 1.45.4.1.2.2: download - view: text, markup, annotated - select for diffs
Sat Apr 16 12:16:08 2005 UTC (19 years, 6 months ago) by tron
Branches: netbsd-2
CVS tags: 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
Diff to: previous 1.45.4.1.2.1: preferred, colored; branchpoint 1.45.4.1: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.4.1.2.1: +15 -0
lines
Pull up revision 1.48 (requested by dan in ticket #1116):
attach rtk(4) as an event source to rnd(4)
patches from Sean Davis in PR/28547
(also added a detach hook)
Revision 1.48.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:34:03 2005 UTC (19 years, 7 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.48.2.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.2.1: +53 -32
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.45.2.8: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:41:32 2005 UTC (19 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.45.2.7: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.7: +11 -11
lines
Sync with HEAD.
Hi Perry!
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:02 2005 UTC (19 years, 8 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,
kent-audio2-base
Branch point for: yamt-lazymbuf,
netbsd-3
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +11 -11
lines
nuke trailing whitespace
Revision 1.45.2.7: download - view: text, markup, annotated - select for diffs
Tue Feb 15 21:33:12 2005 UTC (19 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.45.2.6: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.6: +44 -23
lines
Sync with HEAD.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Feb 13 15:33:20 2005 UTC (19 years, 8 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +44 -23
lines
KNF
Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:44 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +30 -30
lines
sync with head.
Revision 1.45.2.6: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:45:27 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.45.2.5: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.5: +30 -30
lines
Sync with HEAD.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Feb 4 02:10:37 2005 UTC (19 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base2
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +30 -30
lines
de-__P
Revision 1.45.4.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 24 21:40:39 2005 UTC (19 years, 9 months ago) by he
Branches: netbsd-2
Diff to: previous 1.45.4.1: preferred, colored
Changes since revision 1.45.4.1: +1 -1
lines
Pull up revision 1.47 (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.
Revision 1.45.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 24 08:35:19 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.45.2.4: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.4: +17 -2
lines
Sync with HEAD.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Jan 23 10:26:06 2005 UTC (19 years, 9 months ago) by dan
Branches: MAIN
CVS tags: yamt-km-base
Branch point for: yamt-km
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +17 -2
lines
attach rtk(4) as an event source to rnd(4)
patches from Sean Davis in PR/28547
(also added a detach hook)
Revision 1.45.2.4: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:51:31 2004 UTC (20 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.45.2.3: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.3: +3 -3
lines
Sync with HEAD.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Oct 30 18:08:37 2004 UTC (20 years ago) by thorpej
Branches: MAIN
CVS tags: kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: kent-audio2
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3
lines
When adding/deleting multicast addresses, only whack the address
filter if the interface is marked RUNNING.
Fixes kern/27678.
Revision 1.45.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:28:07 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.45.2.2: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.2: +2 -2
lines
Fix the sync with head I botched.
Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:46:00 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.45.2.1: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:46:18 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -5
lines
Sync with HEAD
Revision 1.45.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 16:39:00 2004 UTC (20 years, 4 months ago) by tron
Branches: netbsd-2-0
CVS tags: netbsd-2-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
Branch point for: netbsd-2
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +3 -5
lines
Pull up revision 1.46 (requested by toshii in ticket #517):
A couple of changes for adding re(4) (Realtek gigabit ethernet):
- add necessary members in rtk_softc
- make functions used by re(4) non-static
Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri May 28 15:21:32 2004 UTC (20 years, 5 months ago) by toshii
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -5
lines
A couple of changes for adding re(4) (Realtek gigabit ethernet):
- add necessary members in rtk_softc
- make functions used by re(4) non-static
Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Feb 21 17:14:07 2003 UTC (21 years, 8 months ago) by tsutsui
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0,
ktrace-lwp
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3
lines
hz -> Hz
Revision 1.40.10.1: download - view: text, markup, annotated - select for diffs
Sun Jan 26 16:36:07 2003 UTC (21 years, 9 months ago) by he
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +22 -12
lines
Pull up revision 1.44 (via patch, requested by bouyer in ticket #1086):
Use a properly zeroed buffer to pad small packets to make
sure the chip doesn't send random data.
Revision 1.31.2.6: download - view: text, markup, annotated - select for diffs
Fri Jan 17 16:31:27 2003 UTC (21 years, 9 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.31.2.5: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.2.5: +22 -12
lines
Sync with HEAD.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Jan 15 21:55:03 2003 UTC (21 years, 9 months ago) by bouyer
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +22 -12
lines
Use a properly zero'd buffer to pad the packet to ETHER_MIN_LEN-ETHER_CRC_LEN
Revision 1.31.2.5: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:09:58 2002 UTC (21 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.31.2.4: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.4: +4 -4
lines
Catch up to -current
Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Nov 7 07:51:10 2002 UTC (22 years ago) by thorpej
Branches: MAIN
CVS tags: gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3
lines
Fix signed/unsigned comparison warnings.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Oct 22 00:01:56 2002 UTC (22 years ago) by fair
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-aftermerge
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3
lines
Change the "dontcare bits" argument to ifmedia_init() to IFM_IMASK
so that it is possible select PHY instances other than the first
one (instance zero), if there is more than one PHY attached.
Revision 1.34.2.4: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:46:47 2002 UTC (22 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.34.2.3: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.3: +8 -8
lines
catch up with -current on kqueue branch
Revision 1.40.8.1: download - view: text, markup, annotated - select for diffs
Thu Jun 20 16:33:17 2002 UTC (22 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +8 -8
lines
catch up with -current.
Revision 1.31.2.4: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:44:57 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.31.2.3: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.3: +8 -8
lines
Catch up to -current.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Jun 1 23:50:58 2002 UTC (22 years, 5 months ago) by lukem
Branches: MAIN
CVS tags: kqueue-base,
gehenna-devsw-base
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +8 -8
lines
SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field). whilst it's O(n),
this mirrors the functionality of SLIST_REMOVE() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
Revision 1.34.2.3: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:55:00 2002 UTC (22 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.34.2.2: preferred, colored
Changes since revision 1.34.2.2: +4 -1
lines
Sync kqueue branch with -current.
Revision 1.31.2.3: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:14:35 2001 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.31.2.2: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.2: +4 -1
lines
Catch up to -current.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Nov 13 13:14:43 2001 UTC (22 years, 11 months ago) by lukem
Branches: MAIN
CVS tags: newlock-base,
newlock,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
ifpoll-base,
eeh-devprop-base,
eeh-devprop
Branch point for: netbsd-1-6,
gehenna-devsw
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -1
lines
add/cleanup RCSID
Revision 1.11.4.6: download - view: text, markup, annotated - select for diffs
Sat Oct 27 20:22:02 2001 UTC (23 years ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.11.4.5: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.4.5: +105 -72
lines
Pull up revisions 1.29-1.31,1.33-1.34,1.36 (via patch, requested by jdolecek):
Apply assorted stability fixes:
o increase early TX threshold if underrun occurred
o reworked transmit logic
o fix bug in ring-buffer wrap calculation
Should fix problems with hung network interfaces of this type.
Tested by jdolecek on 1.5.1.
Revision 1.34.2.2: download - view: text, markup, annotated - select for diffs
Sat Aug 25 06:16:16 2001 UTC (23 years, 2 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.34.2.1: preferred, colored
Changes since revision 1.34.2.1: +5 -5
lines
Merge Aug 24 -current into the kqueue branch.
Revision 1.31.2.2: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:09:36 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.31.2.1: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.1: +33 -12
lines
Catch up with -current.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Aug 20 11:57:02 2001 UTC (23 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3
lines
precede, not preceed, and a whitespace fix.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Aug 14 11:57:26 2001 UTC (23 years, 2 months ago) by mrg
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2
lines
mtod() with uintptr_t, not bus_addr_t.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Aug 7 02:59:53 2001 UTC (23 years, 3 months ago) by kanaoka
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2
lines
Fix typo in a message.
Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:13:03 2001 UTC (23 years, 3 months ago) by lukem
Branches: kqueue
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +26 -5
lines
update to -current
Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Jul 25 09:57:31 2001 UTC (23 years, 3 months ago) by kanaoka
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +22 -2
lines
- Increase Early TX threshold if underrun occurred.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Jul 19 16:25:26 2001 UTC (23 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +5 -4
lines
Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Jul 7 16:13:50 2001 UTC (23 years, 4 months ago) by thorpej
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3
lines
bzero -> memset
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Jul 7 15:57:52 2001 UTC (23 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2
lines
bcopy -> strcpy
Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:03:13 2001 UTC (23 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -11
lines
Catch up to -current.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Jun 12 22:32:50 2001 UTC (23 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -11
lines
Don't need INET or NS includes here.
Revision 1.11.4.5: download - view: text, markup, annotated - select for diffs
Sun May 6 15:05:17 2001 UTC (23 years, 6 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.11.4.4: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.4.4: +16 -6
lines
Pull up revision 1.19 (via patch, requested by he):
Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
PWR_SOFTRESUME. Apm calls powerhook with the values in normal interrupt
priority level while others are protected with splhigh().
Revision 1.11.4.4: download - view: text, markup, annotated - select for diffs
Tue Mar 13 20:43:55 2001 UTC (23 years, 7 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.11.4.3: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.4.3: +7 -3
lines
Pull up revision 1.28 (requested by tsutsui):
Handle allmulti case correctly as a NetBSD network driver;
if we are requested range of multicast address or too many
multicast address, program multicast filter to receive all
multicast address. And set/clear IFF_ALLMULTI flag properly.
Revision 1.11.4.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 21:19:32 2001 UTC (23 years, 8 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.11.4.2: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.4.2: +3 -2
lines
Pull up revision 1.27 (requested by tsutsui):
Don't copy Rx packet to mbuf if it has invalid length; just
discard. Fixes PR#11877.
Revision 1.18.2.8: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:15:37 2001 UTC (23 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.18.2.7: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.2.7: +85 -69
lines
Sync with HEAD.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Feb 2 04:34:19 2001 UTC (23 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Branch point for: nathanw_sa
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +70 -58
lines
Rework the transmit logic. Use a "free" and "dirty" list of
transmit jobs. The previous logic occasionally, under heavy
load, would attempt to sync and unload DMA maps that weren't
currently in use, and also occasionally leaked mbufs under
heavy load.
Yay, NFS now works pretty well on my Dreamcast.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Feb 2 03:51:51 2001 UTC (23 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +8 -8
lines
Put the rx buf pointer into the softc directly.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Feb 1 04:45:17 2001 UTC (23 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -4
lines
Fix a bug in ring-buffer wrap calculation. On the Dreamcast,
it causes assertions to fail in the PCI bounce buffer code. On
other platforms, it causes the address of the next packet to
be mis-calculated, leading to packet loss.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Jan 29 01:24:42 2001 UTC (23 years, 9 months ago) by enami
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +7 -3
lines
Handle allmulti case correctly as a NetBSD network driver;
if we are requested range of multicast address or too many multicast address,
program multicast filter to receive all multicast address. And set/clear
IFF_ALLMULTI flag properly.
Revision 1.11.4.2: download - view: text, markup, annotated - select for diffs
Thu Jan 25 07:23:10 2001 UTC (23 years, 9 months ago) by jhawk
Branches: netbsd-1-5
Diff to: previous 1.11.4.1: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.4.1: +162 -170
lines
Pull up revisions 1.12, 1.21-1.24 via patch (requested by tsutsui):
Clean up receive interrupt routine and fix DMA buffer handing
for receive buffering.
Add missed bus_dmamem_free() in rtk_detach().
Some cosmetic fixes.
Revision 1.18.2.7: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:23:20 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.18.2.6: preferred, colored
Changes since revision 1.18.2.6: +3 -2
lines
Sync with head (for UBC+NFS fixes, mostly).
Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Jan 11 14:38:58 2001 UTC (23 years, 10 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -2
lines
Don't copy Rx packet to mbuf if it has invalid length; just discard it.
Fixes kern/11877.
Revision 1.18.2.6: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:35:47 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.18.2.5: preferred, colored
Changes since revision 1.18.2.5: +11 -10
lines
Sync with HEAD
Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Dec 19 00:06:01 2000 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +7 -4
lines
Fix a problem with the ALTQ changes that can cause bogus memory
refernces. Problem reported by Luke Mewburn.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Dec 14 06:27:26 2000 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +5 -7
lines
ALTQ'ify.
Revision 1.18.2.5: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:50:06 2000 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.18.2.4: preferred, colored
Changes since revision 1.18.2.4: +2 -1
lines
Sync with HEAD (for UBC fixes).
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Dec 9 02:02:20 2000 UTC (23 years, 11 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -1
lines
Add (missed) bus_dmemem_free() in rtk_detach().
Revision 1.18.2.4: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:12:25 2000 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.18.2.3: preferred, colored
Changes since revision 1.18.2.3: +165 -167
lines
Sync with HEAD.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Dec 5 11:11:49 2000 UTC (23 years, 11 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +64 -90
lines
- Since rtk_rxeof() was rewritten, we don't have to reserve a few bytes
before the Rx buffer.
- Reduce delay on EEPROM access.
- Some more cosmetics.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Dec 3 14:24:17 2000 UTC (23 years, 11 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +80 -64
lines
Clean up receive interrupt routine:
- Use MGETHDR + MCLGET + memcpy rathar than m_devget + m_adj + m_copyback.
- Call bus_dmamap_sync(9) correctly for Rx buffer.
Mostly from thorpej's if_rtp.c.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Nov 30 15:51:57 2000 UTC (23 years, 11 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +13 -15
lines
Clarify RX status header length and some cosmetics.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Nov 30 15:33:04 2000 UTC (23 years, 11 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3
lines
After rev 1.16 rtk driver uses the CRC from the chip,
so no need to adjust Rx address for it. Fixes kern/11301.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Nov 26 11:08:58 2000 UTC (23 years, 11 months ago) by takemura
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +16 -6
lines
Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
PWR_SOFTRESUME. Apm calls powerhook with the values in normal interrupt
priority level while others are protected with splhigh().
Revision 1.18.2.3: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:03:29 2000 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.18.2.2: preferred, colored
Changes since revision 1.18.2.2: +4 -9
lines
Sync with HEAD.
Revision 1.18.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:40:53 2000 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.18.2.1: preferred, colored
Changes since revision 1.18.2.1: +1590 -0
lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
Revision 1.18.2.1
Wed Nov 15 01:02:17 2000 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
FILE REMOVED
Changes since revision 1.18: +0 -1585
lines
file rtl81x9.c was added on branch thorpej_scsipi on 2000-11-20 11:40:53 +0000
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Nov 15 01:02:17 2000 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Branch point for: thorpej_scsipi
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -8
lines
Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach().
Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Nov 14 18:21:02 2000 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -2
lines
NBPG -> PAGE_SIZE
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Oct 15 19:59:22 2000 UTC (24 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -10
lines
Don't trim off the FCS, pass it up.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Oct 11 16:57:46 2000 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +49 -124
lines
Use ether_ioctl().
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Oct 1 23:32:42 2000 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -12
lines
Move the check for "promisc + unicast + not for us" into ether_input(),
and change Ethernet drivers to always pass all received frames to
ether_input() (with a few exceptions, which are documented in the
code).
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Sep 25 01:07:25 2000 UTC (24 years, 1 month ago) by enami
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -4
lines
Fix merge lossage in disabled code.
Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Mon Sep 11 14:06:33 2000 UTC (24 years, 2 months ago) by drochner
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +21 -23
lines
pull up rev. 1.12 (approved by thorpej):
-fix multicast filter programming
-support access to MII_ANER too for completeness
-remove some hacks which disappeared in FreeBSD if_rl.c
rev. 1.25 (Aug 31 14:45:49 1999)
(the driver could need more updating, but this is what I've tested
for months)
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Sep 1 15:07:23 2000 UTC (24 years, 2 months ago) by drochner
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +21 -23
lines
-fix multicast filter programming
-support access to MII_ANER too for completeness
-remove some hacks which disappeared in FreeBSD if_rl.c
rev. 1.25 (Aug 31 14:45:49 1999)
(the driver could need more updating, but this is what I've tested
for months)
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun May 21 13:00:46 2000 UTC (24 years, 5 months ago) by tsutsui
Branches: MAIN
CVS tags: netbsd-1-5-base,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -1
lines
Call bus_dmamap_unload() if any Tx mbuf remains in rtk_stop().
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri May 19 13:42:29 2000 UTC (24 years, 5 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +394 -222
lines
- Change RL_* -> RTK_*
- Free bus_dma resources if attach fails
- Add detach and power management code
Patch from Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp> in kern/10156.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon May 15 01:55:53 2000 UTC (24 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -5
lines
splimp() -> splnet()
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon May 15 01:55:14 2000 UTC (24 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +170 -179
lines
Symbol namespace cleanup: rl_ -> rtk_
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri May 12 16:44:20 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -29
lines
Use ether_crc32_be().
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon May 1 15:08:55 2000 UTC (24 years, 6 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +43 -11
lines
- Move some initialization into MI rl_attach() from each bus attachment.
- Use proper CARDBUS_* macro in if_rl_cardbus.c
- Use product ID read from PCI configuration space rather than from EEPROM
in if_rl_pci.c.
Patch sent from Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp> and
some cosmetic changes by me.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Apr 30 12:00:40 2000 UTC (24 years, 6 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +17 -55
lines
Modify EEPROM read functions and handle also 9356 EEPROM.
Fixes kern/9861.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Apr 26 14:02:34 2000 UTC (24 years, 6 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +97 -97
lines
- Allocate mbuf dynamically on Tx and use bus_dmamap_load_mbuf(9).
- Call bus_dmamap_sync(9) as appropriate.
- Leave only register declarations in rtl81x9reg.h and
split other stuff into rtl81x9var.h.
bus_dma(9) code mostly taken from thorpej's if_rtp.c.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Apr 25 14:16:46 2000 UTC (24 years, 6 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +10 -3
lines
Fix two endian problems. rtk now works on macppc.
- Use le32toh() on reading rxstat from the Rx DMA buffer.
- rl_read_eeprom() should return EEPROM values in little endian
when caller requires byte-stream data.
bus_dma(9) fixes are still on-going.
XXX rtk on macppc seems to make tons of CRC errors...
XXX Does it work fine on i386 or others?
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Apr 24 15:25:00 2000 UTC (24 years, 6 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +7 -7
lines
Merge changes of sys/pci/if_rl.c rev. 1.8->1.10. (from kern/9870)
Also remove unused pbase, vbase and PCI_CAP_PWRMGMT declarations.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Apr 10 07:42:56 2000 UTC (24 years, 7 months ago) by haya
Branches: MAIN
Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.
CVSweb <webmaster@jp.NetBSD.org>