CVS log for src/sys/arch/mips/sibyte/dev/sbmac.c
Up to [cvs.NetBSD.org] / src / sys / arch / mips / sibyte / dev
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Feb 9 17:57:03 2024 UTC (10 months ago) by andvar
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3
lines
s/firwmare/firmware/ in comments.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun Sep 18 12:43:41 2022 UTC (2 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
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.64: preferred, colored
Changes since revision 1.64: +5 -16
lines
Eliminate use of IFF_OACTIVE.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Aug 20 18:40:35 2022 UTC (2 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +4 -4
lines
sbmac_start(): Replace "IF_DEQUEUE() -> IF_PREPEND() on failure" with
"IF_POLL() -> IF_DEQUEUE() on success".
Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Dec 5 07:21:59 2021 UTC (3 years ago) by msaitoh
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3
lines
s/progam/program/ in comment.
Revision 1.50.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:00 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.50.2.2: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.2: +1 -1
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.50.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:45 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.50.2.1: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.1: +3 -3
lines
Merge changes from current as of 20200406
Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:27 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +3 -3
lines
Sync with head.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Jan 29 05:30:14 2020 UTC (4 years, 10 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,
is-mlppp-base,
is-mlppp,
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,
ad-namecache-base3
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3
lines
Adopt <net/if_stats.h>.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Sep 13 07:55:06 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.60: preferred, colored
Changes since revision 1.60: +3 -3
lines
if_flags is neither int nor short. It's unsigned short.
Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:30 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +63 -73
lines
Sync with HEAD
Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue May 28 07:41:47 2019 UTC (5 years, 6 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20190609,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -2
lines
Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu May 23 13:10:50 2019 UTC (5 years, 6 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +10 -10
lines
Whitespace fix (mainly tabify).
Revision 1.58: download - view: text, markup, annotated - select for diffs
Thu May 23 10:40:39 2019 UTC (5 years, 6 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +32 -35
lines
-No functional change:
- Simplify struct ethercom's pointer near ETHER_FIRST_MULTI().
- Simplify MII structure initialization.
- u_int*_t -> uint*_t.
- KNF
Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon Apr 22 08:39:10 2019 UTC (5 years, 7 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -9
lines
This driver does ether_ioctl() on SIOC{ADD,DEL}MULTI, SIOC{G,S}IFMEDIA and
default case in the switch statement. Only the default case didn't check the
return value with ENETRESET. Integrate them to one ether_ioctl() call with
ENETRESET test. This driver might require some additional fixes for SIOCSIFMTU
and other ioctl()s.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Mar 31 12:47:33 2019 UTC (5 years, 8 months ago) by simonb
Branches: MAIN
CVS tags: isaki-audio2-base,
isaki-audio2
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +14 -16
lines
Allocate memory for for the ethernet DMA descriptor rings aligned to a
cache line boundary, as documented in the chip documentation.
Fixes SiByte ethernet which hasn't worked since the 8kB page size switch
(and just happened to work previously because the descriptor rings were
the same size as a page and so were allocated on a page boundary).
Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Mar 5 08:25:02 2019 UTC (5 years, 9 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -4
lines
Centralize ETHER_ALIGN into net/if_ether.h. Note that this commit also changes
if_upgt.c's ETHER_ALIGN from 0 to 2.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Feb 5 06:17:01 2019 UTC (5 years, 10 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -4
lines
Remove very old IFF_NOTRAILERS flag.
Revision 1.49.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 26 22:00:04 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.49.2.1: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.2.1: +9 -7
lines
Sync with HEAD
Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Jan 23 07:40:05 2019 UTC (5 years, 10 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-compat-20190127
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3
lines
Fix build break (return type of mii_writereg).
Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Jan 22 03:42:26 2019 UTC (5 years, 10 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +9 -7
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.49.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:37 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -4
lines
Sync with HEAD
Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Jul 18 23:10:27 2018 UTC (6 years, 4 months ago) by sevan
Branches: MAIN
CVS tags: pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3
lines
Be consistent among ethernet drivers on the convention for printing ethernet
addresses.
NFC
Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Jun 26 06:47:59 2018 UTC (6 years, 5 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-base
Branch point for: phil-wifi
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +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.42.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:28 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +11 -10
lines
update from HEAD
Revision 1.48.6.1: download - view: text, markup, annotated - select for diffs
Wed Aug 30 15:45:03 2017 UTC (7 years, 3 months ago) by martin
Branches: netbsd-8
CVS tags: 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,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +4 -2
lines
Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94
Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
Revision 1.43.2.5: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:46 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.43.2.4: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.2.4: +6 -3
lines
Sync with HEAD
Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Jul 24 09:56:46 2017 UTC (7 years, 4 months ago) by mrg
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
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,
nick-nhusb-base-20170825
Branch point for: pgoyette-compat
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -2
lines
mostly converted sbmips -> evbmips. the SBMIPS kernel builds fully
sans disksubr.c. intr.h does not need any additional fixes now,
only disklabel.h.
also test-built some other mips kernels.
Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:31 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +4 -3
lines
Sync with HEAD
Revision 1.45.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:17 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.45.2.2: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.2: +4 -3
lines
Sync with HEAD
Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Feb 20 08:25:57 2017 UTC (7 years, 9 months ago) by ozaki-r
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-8-base,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: netbsd-8
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -3
lines
Apply deferred if_start to more drivers...
Revision 1.43.2.4: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:15 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.43.2.3: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.2.3: +2 -4
lines
Sync with HEAD
Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:21 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.45.2.1: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.1: +2 -4
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Dec 15 09:28:03 2016 UTC (7 years, 11 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.46: preferred, colored
Changes since revision 1.46: +2 -4
lines
Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input
The benefits of the change are:
- We can reduce codes
- We can provide the same behavior between drivers
- Where/When if_ipackets is counted up
- Note that some drivers still update packet statistics in their own
way (periodical update)
- Moved bpf_mtap run in softint
- This makes it easy to MP-ify bpf
Proposed on tech-kern and tech-net
Revision 1.43.2.3: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:32 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.43.2.2: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.2.2: +6 -6
lines
Sync with HEAD
Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 26 03:24:17 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -4
lines
Sync with HEAD
Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Jul 21 17:02:47 2016 UTC (8 years, 4 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
localcount-20160914
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -4
lines
make this compile
Revision 1.43.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:24:54 2016 UTC (8 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.43.2.1: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.2.1: +3 -3
lines
Sync with HEAD
Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Jun 10 13:27:12 2016 UTC (8 years, 6 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base,
nick-nhusb-base-20160907
Branch point for: pgoyette-localcount
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3
lines
Introduce m_set_rcvif and m_reset_rcvif
The API is used to set (or reset) a received interface of a mbuf.
They are counterpart of m_get_rcvif, which will come in another
commit, hide internal of rcvif operation, and reduce the diff of
the upcoming change.
No functional change.
Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:03 2016 UTC (8 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -3
lines
Sync with HEAD
Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Feb 9 08:32:09 2016 UTC (8 years, 10 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.43: preferred, colored
Changes since revision 1.43: +3 -3
lines
Introduce softint-based if_input
This change intends to run the whole network stack in softint context
(or normal LWP), not hardware interrupt context. Note that the work is
still incomplete by this change; to that end, we also have to softint-ify
if_link_state_change (and bpf) which can still run in hardware interrupt.
This change softint-ifies at ifp->if_input that is called from
each device driver (and ieee80211_input) to ensure Layer 2 runs
in softint (e.g., ether_input and bridge_input). To this end,
we provide a framework (called percpuq) that utlizes softint(9)
and percpu ifqueues. With this patch, rxintr of most drivers just
queues received packets and schedules a softint, and the softint
dequeues packets and does rest packet processing.
To minimize changes to each driver, percpuq is allocated in struct
ifnet for now and that is initialized by default (in if_attach).
We probably have to move percpuq to softc of each driver, but it's
future work. At this point, only wm(4) has percpuq in its softc
as a reference implementation.
Additional information including performance numbers can be found
in the thread at tech-kern@ and tech-net@:
http://mail-index.netbsd.org/tech-kern/2016/01/14/msg019997.html
Acknowledgment: riastradh@ greatly helped this work.
Thank you very much!
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Oct 18 08:33:26 2014 UTC (10 years, 1 month ago) by snj
Branches: MAIN
CVS tags: nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3
lines
src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:01 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +5 -5
lines
sync with head
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Jul 22 14:32:52 2012 UTC (12 years, 4 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
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,
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,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +5 -5
lines
Fix mii_statchg to take a 'struct ifnet *' instead of device_t. This fixes
problem with a common MDIO bus used for multiple interfaces.
Some drivers converted to CFATTACL_DECL_NEW.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Jul 10 23:32:03 2011 UTC (13 years, 5 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
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-pre-base2,
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,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -24
lines
cleanup <machine/*.h> includes
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:06:11 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +185 -189
lines
Sync with HEAD.
Revision 1.36.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:51:11 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.36.4.1: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.4.1: +185 -189
lines
sync with head
Revision 1.37.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:09:51 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.37.4.1: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.4.1: +3 -3
lines
Sync with HEAD
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Feb 20 07:47:39 2011 UTC (13 years, 9 months ago) by matt
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3
lines
Merge from matt-nb5-mips64.
Add pci support.
new interrupt code.
Adapt to new world order for MIPS
Revision 1.37.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:19:29 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +185 -189
lines
Sync with HEAD
Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Feb 1 06:13:08 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
CVS tags: uebayasi-xip-base7,
bouyer-quota2-base
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +60 -65
lines
Use aprint_* and misc cleanup.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Feb 1 03:16:54 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +134 -133
lines
Update to CFATTACH_DECL_NEW.
Revision 1.28.10.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:52:24 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.28.10.3: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.10.3: +4 -6
lines
sync with head.
Revision 1.36.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:16:59 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -6
lines
sync with head
Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:39:36 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +4 -6
lines
Sync with HEAD.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Apr 5 07:19:31 2010 UTC (14 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: jruoho-x86intr,
bouyer-quota2
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +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.28.24.4: download - view: text, markup, annotated - select for diffs
Thu Mar 18 00:16:17 2010 UTC (14 years, 9 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.28.24.3: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.24.3: +239 -292
lines
Convert to using mutex instead of spl.
Revision 1.28.10.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:42 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.28.10.2: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.10.2: +11 -18
lines
sync with head
Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Jan 19 22:06:21 2010 UTC (14 years, 10 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.35: preferred, colored
Changes since revision 1.35: +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.35: download - view: text, markup, annotated - select for diffs
Mon Dec 14 00:46:08 2009 UTC (15 years ago) by matt
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +7 -7
lines
Merge from matt-nb5-mips64
Merge mips-specific arch files.
Revision 1.28.24.3: download - view: text, markup, annotated - select for diffs
Mon Nov 23 18:46:50 2009 UTC (15 years ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20091211
Diff to: previous 1.28.24.2: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.24.2: +4 -4
lines
Use vaddr_t instead uint32_t for storing a pc since the latter won't work in
a LP64 kernel.
Revision 1.28.24.2: download - view: text, markup, annotated - select for diffs
Mon Nov 23 18:28:46 2009 UTC (15 years ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.28.24.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.24.1: +4 -4
lines
mips3_ld/mips3_sd need to be passed a volatile uint64_t *
Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Oct 26 19:16:57 2009 UTC (15 years, 1 month ago) by cegger
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -4
lines
kill extra whitespaces
reviewed by tsutsui@
Revision 1.28.10.2: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:46:32 2009 UTC (15 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.28.10.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.10.1: +3 -3
lines
sync with head.
Revision 1.28.24.1: download - view: text, markup, annotated - select for diffs
Wed Aug 19 07:33:30 2009 UTC (15 years, 3 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb4-mips64-k7-u2a-k9b
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3
lines
mtod(m, unsigned int) makes gcc unhappy on _LP64. Use uintptr_t instead.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Aug 12 12:56:29 2009 UTC (15 years, 4 months ago) by simonb
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3
lines
Remove many magic numbers for addresses and interrupt numbers, and use
constants defined in SiByte/Broadcom standard header files. Switch from
using offsets for locators to actual addresses.
Tested on a swarm (my rhone is dead, but should be OK there too).
Revision 1.30.4.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:18:03 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +6 -6
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.28.10.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:11:32 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +20 -19
lines
sync with head.
Revision 1.28.18.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:34:25 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.28.18.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.18.1: +6 -6
lines
Sync with HEAD.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Mar 18 17:06:45 2009 UTC (15 years, 8 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jymxensuspend-base
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -4
lines
bcopy -> memcpy
Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Mar 18 16:00:13 2009 UTC (15 years, 8 months ago) by cegger
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -4
lines
bzero -> memset
Revision 1.28.18.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:16:30 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +16 -15
lines
Sync with HEAD.
Revision 1.28.6.1: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:17 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +16 -15
lines
Sync with HEAD.
Revision 1.28.16.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:18 2008 UTC (16 years ago) by haad
Branches: haad-dm
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +16 -15
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Nov 13 19:44:02 2008 UTC (16 years, 1 month ago) by dyoung
Branches: MAIN
CVS tags: nick-hppapmap-base2,
mjf-devfs2-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: jym-xensuspend
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +11 -11
lines
To fix compilation, consistently use 'cmd' instead of 'command'
for the ioctl command code. Thanks he@.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Nov 7 00:20:02 2008 UTC (16 years, 1 month ago) by dyoung
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +8 -7
lines
*** Summary ***
When a link-layer address changes (e.g., ifconfig ex0 link
02:de:ad:be:ef:02 active), send a gratuitous ARP and/or a Neighbor
Advertisement to update the network-/link-layer address bindings
on our LAN peers.
Refuse a change of ethernet address to the address 00:00:00:00:00:00
or to any multicast/broadcast address. (Thanks matt@.)
Reorder ifnet ioctl operations so that driver ioctls may inherit
the functions of their "class"---ether_ioctl(), fddi_ioctl(), et
cetera---and the class ioctls may inherit from the generic ioctl,
ifioctl_common(), but both driver- and class-ioctls may override
the generic behavior. Make network drivers share more code.
Distinguish a "factory" link-layer address from others for the
purposes of both protecting that address from deletion and computing
EUI64.
Return consistent, appropriate error codes from network drivers.
Improve readability. KNF.
*** Details ***
In if_attach(), always initialize the interface ioctl routine,
ifnet->if_ioctl, if the driver has not already initialized it.
Delete if_ioctl == NULL tests everywhere else, because it cannot
happen.
In the ioctl routines of network interfaces, inherit common ioctl
behaviors by calling either ifioctl_common() or whichever ioctl
routine is appropriate for the class of interface---e.g., ether_ioctl()
for ethernets.
Stop (ab)using SIOCSIFADDR and start to use SIOCINITIFADDR. In
the user->kernel interface, SIOCSIFADDR's argument was an ifreq,
but on the protocol->ifnet interface, SIOCSIFADDR's argument was
an ifaddr. That was confusing, and it would work against me as I
make it possible for a network interface to overload most ioctls.
On the protocol->ifnet interface, replace SIOCSIFADDR with
SIOCINITIFADDR. In ifioctl(), return EPERM if userland tries to
invoke SIOCINITIFADDR.
In ifioctl(), give the interface the first shot at handling most
interface ioctls, and give the protocol the second shot, instead
of the other way around. Finally, let compatibility code (COMPAT_OSOCK)
take a shot.
Pull device initialization out of switch statements under
SIOCINITIFADDR. For example, pull ..._init() out of any switch
statement that looks like this:
switch (...->sa_family) {
case ...:
..._init();
...
break;
...
default:
..._init();
...
break;
}
Rewrite many if-else clauses that handle all permutations of IFF_UP
and IFF_RUNNING to use a switch statement,
switch (x & (IFF_UP|IFF_RUNNING)) {
case 0:
...
break;
case IFF_RUNNING:
...
break;
case IFF_UP:
...
break;
case IFF_UP|IFF_RUNNING:
...
break;
}
unifdef lots of code containing #ifdef FreeBSD, #ifdef NetBSD, and
#ifdef SIOCSIFMTU, especially in fwip(4) and in ndis(4).
In ipw(4), remove an if_set_sadl() call that is out of place.
In nfe(4), reuse the jumbo MTU logic in ether_ioctl().
Let ethernets register a callback for setting h/w state such as
promiscuous mode and the multicast filter in accord with a change
in the if_flags: ether_set_ifflags_cb() registers a callback that
returns ENETRESET if the caller should reset the ethernet by calling
if_init(), 0 on success, != 0 on failure. Pull common code from
ex(4), gem(4), nfe(4), sip(4), tlp(4), vge(4) into ether_ioctl(),
and register if_flags callbacks for those drivers.
Return ENOTTY instead of EINVAL for inappropriate ioctls. In
zyd(4), use ENXIO instead of ENOTTY to indicate that the device is
not any longer attached.
Add to if_set_sadl() a boolean 'factory' argument that indicates
whether a link-layer address was assigned by the factory or some
other source. In a comment, recommend using the factory address
for generating an EUI64, and update in6_get_hw_ifid() to prefer a
factory address to any other link-layer address.
Add a routing message, RTM_LLINFO_UPD, that tells protocols to
update the binding of network-layer addresses to link-layer addresses.
Implement this message in IPv4 and IPv6 by sending a gratuitous
ARP or a neighbor advertisement, respectively. Generate RTM_LLINFO_UPD
messages on a change of an interface's link-layer address.
In ether_ioctl(), do not let SIOCALIFADDR set a link-layer address
that is broadcast/multicast or equal to 00:00:00:00:00:00.
Make ether_ioctl() call ifioctl_common() to handle ioctls that it
does not understand.
In gif(4), initialize if_softc and use it, instead of assuming that
the gif_softc and ifp overlap.
Let ifioctl_common() handle SIOCGIFADDR.
Sprinkle rtcache_invariants(), which checks on DIAGNOSTIC kernels
that certain invariants on a struct route are satisfied.
In agr(4), rewrite agr_ioctl_filter() to be a bit more explicit
about the ioctls that we do not allow on an agr(4) member interface.
bzero -> memset. Delete unnecessary casts to void *. Use
sockaddr_in_init() and sockaddr_in6_init(). Compare pointers with
NULL instead of "testing truth". Replace some instances of (type
*)0 with NULL. Change some K&R prototypes to ANSI C, and join
lines.
Revision 1.25.10.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:11 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.25.10.1: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.10.1: +13 -36
lines
sync with HEAD
Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:46 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +13 -36
lines
Sync with HEAD.
Revision 1.20.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 11 14:59:28 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.20.2.2: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.2: +5 -6
lines
sync with head.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Feb 7 01:21:52 2008 UTC (16 years, 10 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
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-net80211-sync-base,
nick-net80211-sync,
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-devfs-base,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-mips64-base2,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
haad-dm-base1,
ad-socklock-base1
Branch point for: yamt-nfs-mp,
nick-hppapmap,
mjf-devfs2,
matt-nb5-mips64,
haad-dm
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -6
lines
Start patching up the kernel so that a network driver always has
the opportunity to handle an ioctl before generic ifioctl handling
occurs. This will ease extending the kernel and sharing of code
between drivers.
First steps: Make the signature of ifioctl_common() match struct
ifinet->if_ioctl. Convert SIOCSIFCAP and SIOCSIFMTU to the new
ifioctl() regime, throughout the kernel.
Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:37:35 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.20.2.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.1: +10 -32
lines
sync with head
Revision 1.26.8.1: download - view: text, markup, annotated - select for diffs
Sun Jan 20 17:51:21 2008 UTC (16 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +10 -32
lines
Sync with HEAD
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Jan 19 22:10:15 2008 UTC (16 years, 10 months ago) by dyoung
Branches: MAIN
CVS tags: bouyer-xeni386-nbase,
bouyer-xeni386-base
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +10 -32
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.25.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:19:17 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2
lines
sync with HEAD
Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:55:40 2007 UTC (17 years, 2 months ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
matt-armv6-base,
jmcneill-pm-base,
jmcneill-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-merge1,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: mjf-devfs,
bouyer-xeni386
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2
lines
Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.
TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.
NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
Revision 1.24.10.1: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:24:26 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +3 -3
lines
Sync with HEAD
Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:28:05 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +16 -16
lines
sync with head.
Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 18 01:51:00 2007 UTC (17 years, 5 months ago) by matt
Branches: matt-mips64
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +3 -3
lines
Fix LP64 bug.
Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:16:27 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +3 -3
lines
Sync with head.
Revision 1.24.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:00:52 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +3 -3
lines
Sync with head.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Jul 9 20:52:23 2007 UTC (17 years, 5 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
ppcoea-renovation-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
jmcneill-pm,
hpcarm-cleanup,
bouyer-xenamd64
Branch point for: matt-mips64,
matt-armv6
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +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.21.26.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:49:24 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +15 -15
lines
Sync with HEAD.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Mar 7 17:24:38 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
ppcoea-renovation,
mjf-ufs-trans
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -4
lines
count outgoing packets. from Markus Mayer
Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Mar 6 00:43:50 2007 UTC (17 years, 9 months ago) by simonb
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -4
lines
Fix some caddr_t rototill fallout.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:00:13 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +13 -13
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:18:12 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
yamt-pdpolicy,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
rpaulo-netinet-merge-pcb-base,
rpaulo-netinet-merge-pcb,
post-newlock2-merge,
peter-altq-base,
peter-altq,
newlock2-nbase,
newlock2-base,
newlock2,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi,
ad-audiomp-base,
ad-audiomp,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-idlelwp
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2
lines
merge ktrace-lwp.
Revision 1.9.2.4: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:57:34 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.9.2.3: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.3: +3 -3
lines
Sync with HEAD. Here we go again...
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Jun 9 17:46:19 2005 UTC (19 years, 6 months ago) by jmc
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,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3
lines
Fixes for -Wcast-qual. Add some needed const around char *'s,
__UNVOLATILE in READ/WRITE_REG and convert the rtc functions to properaly
take a volatile timeval
Revision 1.9.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:18:54 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.9.2.2: preferred, colored
Changes since revision 1.9.2.2: +2 -2
lines
Fix the sync with head I botched.
Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:37:32 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.9.2.1: preferred, colored
Changes since revision 1.9.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:37:51 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +175 -104
lines
Sync with HEAD
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Mar 19 07:11:33 2004 UTC (20 years, 9 months ago) by cgd
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +54 -62
lines
convert descriptor add/remove pointers to integer array indices.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Mar 19 06:01:31 2004 UTC (20 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3
lines
recognize PERIPH_REV3 DMA for BCM1250, too
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Mar 18 06:59:30 2004 UTC (20 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -4
lines
bump RX and TX ring sizes to 256 entries each. would be better to make
them larger, but then i'd need to tweak the allocation mechanism so they
were *guaranteed* to be physically contiguous.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Mar 18 06:30:03 2004 UTC (20 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +9 -7
lines
in PERIPH_REV3 DMA code, fix calculation of pkt size (not that it matters
for <= 4k packets), and also interrupt on end of pkt only. cuts tx intrs
by a factor of >3 for simon's fave 100Mbps ttcp test.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Mar 18 05:57:58 2004 UTC (20 years, 9 months ago) by simonb
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +88 -31
lines
Fix pass3 Tx DMA - when an mbuf spans a page boundary, make sure that
it either is sitting in contiguous physical RAM or split the mbuf
into two Tx descriptors. Not the prettiest patch, but works well in
practice - gets about an 8% decrease on CPU time for a simple ttcp TCP
Tx benchmark. Thanks to Chris Demetriou for some debugging help.
Add some event counters.
Remove some #if 0'd debug code.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Mar 14 10:55:45 2004 UTC (20 years, 9 months ago) by simonb
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -2
lines
Call sbmac_start() at the end of the interrupt service function to try
to send more packets. Fixes problems with high UDP Tx rates.
Thanks to Matt Thomas for applying clue.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Mar 8 11:28:48 2004 UTC (20 years, 9 months ago) by simonb
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +28 -18
lines
Wrap some long lines.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Oct 31 03:32:19 2003 UTC (21 years, 1 month ago) by simonb
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -6
lines
Remove some assigned-to but otherwise unused variables.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Sep 26 13:34:56 2003 UTC (21 years, 2 months ago) by simonb
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +8 -2
lines
Disable pass3 DMA for now; booting a box to multi-user with root-on-nfs
reliably wedges during the dev_mkdb command in uvn_fp2.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jul 15 02:43:40 2003 UTC (21 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -1
lines
__KERNEL_RCSID()
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Feb 7 17:38:49 2003 UTC (21 years, 10 months ago) by cgd
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -5
lines
Update to consistently use Broadcom GPL-compatible license on all SiByte code.
Revision 1.3.4.4: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:11:16 2002 UTC (22 years ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.3.4.3: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.3: +173 -57
lines
Sync with HEAD.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Nov 19 01:44:04 2002 UTC (22 years ago) by cgd
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +173 -57
lines
initial support for mac features in new chip revs
Revision 1.3.4.3: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:00:58 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.4.2: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.2: +2 -2
lines
Catch up to -current
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Nov 8 19:40:05 2002 UTC (22 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2
lines
fix long-standing pasto in DMA config1 register address setting
Revision 1.3.4.2: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:38:48 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.4.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.1: +2229 -0
lines
Catch up to -current.
Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:34:08 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.2: +6 -8
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Oct 2 15:52:25 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
Add trailing ; to CFATTACH_DECL.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Oct 1 02:54:11 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -5
lines
Use CFATTACH_DECL().
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Sep 27 15:36:24 2002 UTC (22 years, 2 months ago) by provos
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -4
lines
remove trailing \n in panic(). approved perry.
Revision 1.2.6.1: download - view: text, markup, annotated - select for diffs
Sun Jul 14 18:37:16 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +954 -967
lines
catch up with -current.
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:38:07 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +2231 -0
lines
catch up with -current on kqueue branch
Revision 1.3.4.1
Sat Jun 1 13:55:48 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.3: +0 -2231
lines
file sbmac.c was added on branch nathanw_sa on 2002-10-18 02:38:48 +0000
Revision 1.3.2.1
Sat Jun 1 13:55:48 2002 UTC (22 years, 6 months ago) by jdolecek
Branches: kqueue
FILE REMOVED
Changes since revision 1.3: +0 -2231
lines
file sbmac.c was added on branch kqueue on 2002-06-23 17:38:07 +0000
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jun 1 13:55:48 2002 UTC (22 years, 6 months ago) by simonb
Branches: MAIN
CVS tags: gehenna-devsw-base
Branch point for: nathanw_sa,
kqueue
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +954 -967
lines
KNF; make some function static; other minor cleanups.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Mar 6 00:05:06 2002 UTC (22 years, 9 months ago) by simonb
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,
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,
netbsd-1-6,
eeh-devprop-base,
eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -4
lines
Remove a few unneeded include files.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Mar 5 23:46:42 2002 UTC (22 years, 9 months ago) by simonb
Branches: MAIN
Add support for the on-chip peripherals on the Broadcom SiByte SB1250 CPU
and support routines for the Broadcom CFE (Common Firmware Environment).
This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
CVSweb <webmaster@jp.NetBSD.org>