The NetBSD Project

CVS log for src/sys/dev/pcmcia/if_ray.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / pcmcia

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.100: download - view: text, markup, annotated - select for diffs
Sun Feb 11 10:36:40 2024 UTC (14 months, 2 weeks ago) by andvar
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +3 -3 lines
Fix few more typos in comments and log message:
s/butoon/button/
s/BUTTOM/BOTTOM/
s/communicaiton/communication/
s/recevice/receive/
s/regiion/region/

Revision 1.99: download - view: text, markup, annotated - select for diffs
Sun May 22 11:27:35 2022 UTC (2 years, 11 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +3 -3 lines
fix various small typos, mainly in comments.

Revision 1.90.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:46 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.90.2.2: preferred, colored; branchpoint 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90.2.2: +0 -1 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.90.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:11 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.90.2.1: preferred, colored; branchpoint 1.90: preferred, colored
Changes since revision 1.90.2.1: +15 -15 lines
Merge changes from current as of 20200406

Revision 1.96.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:15 2020 UTC (5 years, 2 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96: +13 -13 lines
Sync with head.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Tue Feb 4 05:46:32 2020 UTC (5 years, 2 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.97: preferred, colored
Changes since revision 1.97: +3 -3 lines
Use ifmedia_fini().

Revision 1.97: download - view: text, markup, annotated - select for diffs
Wed Jan 29 13:54:41 2020 UTC (5 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +12 -12 lines
Adopt <net/if_stats.h>.

Revision 1.94.2.2: download - view: text, markup, annotated - select for diffs
Tue Jan 28 11:01:37 2020 UTC (5 years, 3 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.94.2.1: preferred, colored; branchpoint 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94.2.1: +4 -4 lines
Pull up following revision(s) (requested by msaitoh in ticket #662):

	sys/dev/pcmcia/if_xi.c: revision 1.93
	sys/arch/x86/pci/if_vmx.c: revision 1.54
	sys/dev/pci/if_de.c: revision 1.165
	sys/arch/arm/ti/if_cpsw.c: revision 1.10
	sys/arch/arm/omap/if_cpsw.c: revision 1.26
	sys/dev/isa/if_iy.c: revision 1.112
	sys/dev/pcmcia/if_ray.c: revision 1.96

Add ETHER_LOCK() and ETHER_UNLOCK() to protect ec_multiaddrs.

XXX These drivers don't check whether enm_addrlo and enm_addrhi are the same
or not, so it won't work correctly if an multicast address entry has a range.

Protect ec_multicnt.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Mon Jan 6 07:15:03 2020 UTC (5 years, 3 months ago) by msaitoh
Branches: MAIN
CVS tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +4 -4 lines
Protect ec_multicnt.

Revision 1.86.8.2: download - view: text, markup, annotated - select for diffs
Thu Oct 24 16:06:09 2019 UTC (5 years, 6 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE
Diff to: previous 1.86.8.1: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.8.1: +2 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #1416):

	sys/dev/ic/i82586.c: revision 1.86
	sys/arch/arm/ep93xx/epe.c: revision 1.45
	sys/dev/pcmcia/if_cnw.c: revision 1.66
	sys/arch/mac68k/nubus/if_netdock_nubus.c: revision 1.31
	sys/dev/qbus/if_il.c: revision 1.36
	sys/dev/pcmcia/if_ray.c: revision 1.95
	sys/dev/qbus/if_qt.c: revision 1.24

if_percpuq(9) automatically increments if_ipackets, so don't increment it in
the driver itself to prevent double count.

Revision 1.94.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 23 19:43:24 2019 UTC (5 years, 6 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-0-RC1
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #371):

	sys/dev/ic/i82586.c: revision 1.86
	sys/arch/arm/ep93xx/epe.c: revision 1.45
	sys/dev/pcmcia/if_cnw.c: revision 1.66
	sys/arch/mac68k/nubus/if_netdock_nubus.c: revision 1.31
	sys/arch/arm/sunxi/sunxi_can.c: revision 1.2
	sys/dev/qbus/if_il.c: revision 1.36
	sys/dev/pcmcia/if_ray.c: revision 1.95
	sys/dev/qbus/if_qt.c: revision 1.24

 if_ipackets is incremented in can_input(), so don't increment it in
sunxi_can_rx_intr to prevent double count. OK'd by bouyer@.

 if_percpuq(9) automatically increments if_ipackets, so don't increment it in
the driver itself to prevent double count.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Mon Oct 21 08:22:06 2019 UTC (5 years, 6 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -3 lines
 if_percpuq(9) automatically increments if_ipackets, so don't increment it in
the driver itself to prevent double count.

Revision 1.90.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:30 2019 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +62 -54 lines
Sync with HEAD

Revision 1.94: download - view: text, markup, annotated - select for diffs
Tue May 28 07:41:49 2019 UTC (5 years, 11 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20190609, netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +6 -2 lines
 Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Thu May 23 10:57:28 2019 UTC (5 years, 11 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +55 -53 lines
-No functional change:
  - KNF
  - u_int*_t -> uint*_t.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Sun Feb 3 03:19:27 2019 UTC (6 years, 2 months ago) by mrg
Branches: MAIN
CVS tags: isaki-audio2-base, isaki-audio2
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +4 -2 lines
- add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
  this case, and thus can't be marked __dead easily

Revision 1.88.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 18 08:50:42 2019 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.88.2.2: preferred, colored; branchpoint 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88.2.2: +3 -3 lines
Synch with HEAD

Revision 1.91: download - view: text, markup, annotated - select for diffs
Tue Jan 8 08:47:21 2019 UTC (6 years, 3 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +3 -3 lines
 Whitespace fix.

Revision 1.88.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:57 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.88.2.1: preferred, colored; branchpoint 1.88: preferred, colored
Changes since revision 1.88.2.1: +4 -4 lines
Sync with HEAD

Revision 1.86.8.1: download - view: text, markup, annotated - select for diffs
Thu Jul 26 23:55:30 2018 UTC (6 years, 9 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +3 -5 lines
Pull up following revision(s) (requested by msaitoh in ticket #938):
	sys/arch/acorn32/podulebus/if_ie.c: revision 1.41
	sys/arch/amiga/dev/if_es.c: revision 1.58
	sys/arch/amiga/dev/if_qn.c: revision 1.45
	sys/arch/arm/at91/at91emac.c: revision 1.20
	sys/arch/arm/ep93xx/epe.c: revision 1.37
	sys/arch/emips/ebus/if_le_ebus.c: revision 1.14
	sys/arch/emips/ebus/if_le_ebus.c: revision 1.15
	sys/arch/mac68k/dev/if_mc.c: revision 1.46
	sys/arch/macppc/dev/am79c950.c: revision 1.39
	sys/arch/newsmips/apbus/if_sn.c: revision 1.40
	sys/arch/next68k/dev/mb8795.c: revision 1.59
	sys/arch/playstation2/dev/if_smap.c: revision 1.25
	sys/arch/playstation2/dev/if_smap.c: revision 1.26
	sys/arch/sun2/dev/if_ec.c: revision 1.28
	sys/arch/sun3/dev/if_ie.c: revision 1.63
	sys/arch/x68k/dev/if_ne_intio.c: revision 1.19
	sys/arch/xen/xen/if_xennet_xenbus.c: revision 1.75
	sys/arch/xen/xen/xennetback_xenbus.c: revision 1.63
	sys/dev/bi/if_ni.c: revision 1.45
	sys/dev/cadence/if_cemac.c: revision 1.12
	sys/dev/ic/am7990.c: revision 1.78
	sys/dev/ic/am79900.c: revision 1.27
	sys/dev/ic/an.c: revision 1.67
	sys/dev/ic/cs89x0.c: revision 1.40
	sys/dev/ic/dm9000.c: revision 1.13
	sys/dev/ic/dm9000.c: revision 1.14
	sys/dev/ic/dp8390.c: revision 1.88
	sys/dev/ic/elink3.c: revision 1.141
	sys/dev/ic/elinkxl.c: revision 1.122
	sys/dev/ic/hme.c: revision 1.98
	sys/dev/ic/i82586.c: revision 1.77
	sys/dev/ic/lance.c: revision 1.53
	sys/dev/ic/mb86950.c: revision 1.27
	sys/dev/ic/mb86960.c: revision 1.86
	sys/dev/ic/mtd803.c: revision 1.34
	sys/dev/ic/pdq_ifsubr.c: revision 1.59
	sys/dev/ic/rrunner.c: revision 1.86
	sys/dev/ic/seeq8005.c: revision 1.58
	sys/dev/ic/sgec.c: revision 1.47
	sys/dev/ic/smc90cx6.c: revision 1.72
	sys/dev/ic/smc91cxx.c: revision 1.96
	sys/dev/ic/tropic.c: revision 1.49
	sys/dev/ic/wi.c: revision 1.245
	sys/dev/isa/if_eg.c: revision 1.93
	sys/dev/isa/if_el.c: revision 1.95
	sys/dev/isa/if_iy.c: revision 1.101
	sys/dev/ofw/ofnet.c: revision 1.58
	sys/dev/pci/if_alc.c: revision 1.27
	sys/dev/pci/if_de.c: revision 1.152
	sys/dev/pci/if_fpa.c: revision 1.61
	sys/dev/pci/if_jme.c: revision 1.34
	sys/dev/pci/if_tl.c: revision 1.108
	sys/dev/pci/if_vte.c: revision 1.19
	sys/dev/pci/ixgbe/ixgbe.h: revision 1.50
	sys/dev/pcmcia/if_cnw.c: revision 1.62
	sys/dev/pcmcia/if_malo_pcmcia.c: revision 1.17
	sys/dev/pcmcia/if_ray.c: revision 1.89
	sys/dev/pcmcia/if_xi.c: revision 1.81
	sys/dev/pcmcia/mhzc.c: revision 1.51
	sys/dev/pcmcia/xirc.c: revision 1.34
	sys/dev/qbus/if_de.c: revision 1.33
	sys/dev/qbus/if_qe.c: revision 1.78
	sys/dev/qbus/if_qt.c: revision 1.22
	sys/dev/sbus/be.c: revision 1.87
	sys/dev/sbus/qe.c: revision 1.68
	sys/dev/scsipi/if_se.c: revision 1.96
	sys/dev/usb/if_atu.c: revision 1.59
	sys/net/if_l2tp.c: revision 1.28 via patch
	sys/net/if_ppp.c: revision 1.160
It's not required to include net/bpfdesc.h. Remove it.
--
Simplify like other drivers. NULL check of ifp->if_bpf is done in
bpf_mtap(), so it's not required to do it here.
--
Remove duplicated inclusion of net/bpf.h.
--
Remove duplicated inclusion of net/bpf.h.
--
Simplify bpf_mtap() call. No functional change.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Tue Jun 26 06:48:01 2018 UTC (6 years, 10 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-base, 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.89: preferred, colored
Changes since revision 1.89: +4 -4 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.88.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:26:01 2018 UTC (6 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -5 lines
Sync with HEAD

Revision 1.89: download - view: text, markup, annotated - select for diffs
Fri Jun 22 04:17:42 2018 UTC (6 years, 10 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-compat-0625
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -5 lines
 It's not required to include net/bpfdesc.h. Remove it.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Sat Dec 9 00:53:55 2017 UTC (7 years, 4 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +7 -6 lines
adjust for printf signature.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Fri Dec 8 21:51:07 2017 UTC (7 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +6 -105 lines
coalesce the two copies of hexdump into libkern

Revision 1.79.18.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:31 2017 UTC (7 years, 4 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.79.18.2: preferred, colored; branchpoint 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79.18.2: +77 -53 lines
update from HEAD

Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:38 2017 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +3 -6 lines
Sync with HEAD

Revision 1.81.14.3: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:45 2017 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.81.14.2: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.14.2: +3 -6 lines
Sync with HEAD

Revision 1.86: download - view: text, markup, annotated - select for diffs
Fri Jan 13 14:48:18 2017 UTC (8 years, 3 months ago) by maya
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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +3 -4 lines
Remove more dead code

RAY_DEF_NWID is a constant string and so is the length, it's
pointless the length is larger than zero.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Thu Jan 12 17:11:22 2017 UTC (8 years, 3 months ago) by maya
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -4 lines
Remove dead code. RAY_DEF_NWID is a constant string, its length will never
be above 32.

Revision 1.81.14.2: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:15 2016 UTC (8 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.81.14.1: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.14.1: +75 -48 lines
Sync with HEAD

Revision 1.84: download - view: text, markup, annotated - select for diffs
Thu Jul 7 06:55:42 2016 UTC (8 years, 9 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20170107, 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.83: preferred, colored
Changes since revision 1.83: +74 -47 lines
KNF. Remove extra spaces. No functional change.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Fri Jun 10 13:27:15 2016 UTC (8 years, 10 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +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.81.14.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:18 2016 UTC (9 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -3 lines
Sync with HEAD

Revision 1.82: download - view: text, markup, annotated - select for diffs
Tue Feb 9 08:32:11 2016 UTC (9 years, 2 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.81: preferred, colored
Changes since revision 1.81: +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.79.18.2: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:30 2013 UTC (12 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.79.18.1: preferred, colored; branchpoint 1.79: preferred, colored
Changes since revision 1.79.18.1: +3 -3 lines
resync with head

Revision 1.79.8.2: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:33:32 2013 UTC (12 years, 3 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.79.8.1: preferred, colored; branchpoint 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79.8.1: +3 -3 lines
sync with (a bit old) head

Revision 1.79.14.1: download - view: text, markup, annotated - select for diffs
Sun Dec 16 18:22:30 2012 UTC (12 years, 4 months ago) by riz
Branches: netbsd-6
CVS tags: 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
Diff to: previous 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79: +3 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #747):
	sys/dev/pcmcia/if_ray.c: revision 1.81
Apply OpenBSD rev. 1.40:
  > Use the actual SSID length rather than a (wrong) sizeof. Makes gcc4
  > -Wbounded happy.
  >
  > ok kettenis

Revision 1.81: download - view: text, markup, annotated - select for diffs
Fri Dec 7 05:45:17 2012 UTC (12 years, 4 months ago) by msaitoh
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, 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, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, 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, khorben-n900, agc-symver-base, agc-symver
Branch point for: nick-nhusb
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -3 lines
Apply OpenBSD rev. 1.40:
 > Use the actual SSID length rather than a (wrong) sizeof. Makes gcc4
 > -Wbounded happy.
 >
 > ok kettenis

Revision 1.79.18.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:02:31 2012 UTC (12 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +68 -67 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.79.8.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:21:57 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +68 -67 lines
sync with head

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sat Oct 27 17:18:36 2012 UTC (12 years, 6 months ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base6
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +68 -67 lines
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.70.4.5: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:54:07 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.70.4.4: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.4.4: +4 -5 lines
sync with head.

Revision 1.78.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:41 2010 UTC (14 years, 11 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +4 -5 lines
sync with head

Revision 1.78.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:46 2010 UTC (15 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +4 -5 lines
Sync with HEAD.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Mon Apr 5 07:21:47 2010 UTC (15 years ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, 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, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys, netbsd-6
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +4 -5 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.70.4.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:00 2010 UTC (15 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.70.4.3: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.4.3: +10 -24 lines
sync with head

Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Jan 19 22:07:43 2010 UTC (15 years, 3 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.77: preferred, colored
Changes since revision 1.77: +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.77: download - view: text, markup, annotated - select for diffs
Sun Dec 6 23:05:06 2009 UTC (15 years, 4 months ago) by dyoung
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +8 -15 lines
Simplify device-activation hooks.

Revision 1.70.4.3: download - view: text, markup, annotated - select for diffs
Wed Sep 16 13:37:56 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.70.4.2: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.4.2: +5 -5 lines
sync with head

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Sep 5 14:44:59 2009 UTC (15 years, 7 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, jym-xensuspend-nbase
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +5 -5 lines
Invert logic around nested pmf(9) registrations for readability.

Revision 1.70.4.2: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:41 2009 UTC (15 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.70.4.1: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.4.1: +10 -10 lines
sync with head

Revision 1.71.4.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:21:09 2009 UTC (15 years, 11 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +61 -154 lines
Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Tue May 12 14:42:18 2009 UTC (15 years, 11 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base, jym-xensuspend-base
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +10 -10 lines
struct device * -> device_t, no functional changes intended.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue May 12 13:18:04 2009 UTC (15 years, 11 months ago) by cegger
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -4 lines
struct cfdata * -> cfdata_t, no functional changes intended.

Revision 1.70.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:14 2009 UTC (15 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +60 -154 lines
sync with head.

Revision 1.70.12.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:36:21 2009 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.70.12.1: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.12.1: +54 -147 lines
Sync with HEAD.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sat Mar 14 21:04:22 2009 UTC (16 years, 1 month ago) by dsl
Branches: MAIN
CVS tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +5 -13 lines
ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Sat Mar 14 15:36:20 2009 UTC (16 years, 1 month ago) by dsl
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +51 -136 lines
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.70.12.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:18:59 2009 UTC (16 years, 3 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +8 -9 lines
Sync with HEAD.

Revision 1.68.10.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:07 2009 UTC (16 years, 3 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.68.10.2: preferred, colored; branchpoint 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68.10.2: +6 -7 lines
Sync with HEAD.

Revision 1.70.10.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:14:48 2008 UTC (16 years, 4 months ago) by haad
Branches: haad-dm
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +8 -9 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Nov 7 00:20:12 2008 UTC (16 years, 5 months 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.70: preferred, colored
Changes since revision 1.70: +8 -9 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.68.10.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:46 2008 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.68.10.1: preferred, colored; branchpoint 1.68: preferred, colored
Changes since revision 1.68.10.1: +74 -76 lines
Sync with HEAD.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sat Apr 5 21:31:23 2008 UTC (17 years ago) by cegger
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, 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, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: yamt-nfs-mp, nick-hppapmap, haad-dm
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +76 -78 lines
use aprint_*_dev and device_xname

Revision 1.68.10.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:54 2008 UTC (17 years, 1 month ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +6 -4 lines
Sync with HEAD.

Revision 1.68.6.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:16:05 2008 UTC (17 years, 1 month ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68: +6 -4 lines
sync with head.

Revision 1.65.8.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:51 2008 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
Diff to: previous 1.65.8.2: preferred, colored; branchpoint 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.8.2: +6 -4 lines
sync with HEAD

Revision 1.57.2.6: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:15:23 2008 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.57.2.5: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.5: +6 -4 lines
sync with head.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Mon Mar 10 03:28:34 2008 UTC (17 years, 1 month ago) by dholland
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +6 -4 lines
Adjust a debug message. Fixes the last bit of PR 29668. (The rest seems
to have already been dealt with.)

Revision 1.57.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:44:27 2008 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.57.2.4: preferred, colored
Changes since revision 1.57.2.4: +18 -53 lines
sync with head

Revision 1.65.8.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:54:15 2008 UTC (17 years, 3 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.65.8.1: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.8.1: +18 -53 lines
sync with HEAD

Revision 1.67.4.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:47:19 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +18 -53 lines
Sync with head.

Revision 1.67.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:37:19 2007 UTC (17 years, 4 months ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +18 -53 lines
sync with head.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Dec 9 20:28:14 2007 UTC (17 years, 4 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +18 -53 lines
Merge jmcneill-pm branch.

Revision 1.65.6.5: download - view: text, markup, annotated - select for diffs
Sat Dec 8 16:21:33 2007 UTC (17 years, 4 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.65.6.4: preferred, colored; branchpoint 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.6.4: +5 -5 lines
Rename pnp(9) -> pmf(9), as requested by many.

Revision 1.65.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:29:44 2007 UTC (17 years, 5 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +6 -10 lines
sync with HEAD

Revision 1.65.6.4: download - view: text, markup, annotated - select for diffs
Tue Nov 6 14:27:30 2007 UTC (17 years, 5 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.65.6.3: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.6.3: +7 -21 lines
Refactor PNP API:
- Make suspend/resume directly a device functionality. It consists of
  three layers (class logic, device logic, bus logic), all of them being
  optional. This replaces D0/D3 transitions.
- device_is_active returns true if the device was not disabled and was
  not suspended (even partially), device_is_enabled returns true if the
  device was enabled.
- Change pnp_global_transition into pnp_system_suspend and
  pnp_system_resume. Before running any suspend/resume handlers, check
  that all currently attached devices support power management and bail
  out otherwise. The latter is not done for the shutdown/panic case.
- Make the former bus-specific generic network handlers a class handler.
- Make PNP message like volume up/down/toogle PNP events. Each device
  can register what events they are interested in and whether the handler
  should be global or not.
- Introduce device_active API for devices to mark themselve in use from
  either the system or the device. Use this to implement the idle handling
  for audio and input devices. This is intended to replace most ad-hoc
  watchdogs as well.
- Fix somes situations in which audio resume would lose mixer settings.
- Make USB host controllers better deal with suspend in the light of
  shared interrupts.
- Flush filesystem cache on suspend.
- Flush disk caches on suspend. Put ATA disks into standby on suspend as
  well.
- Adopt drivers to use the new PNP API.
- Fix a critical bug in the generic cardbus layer that made D0->D3
  break.
- Fix ral(4) to set if_stop.
- Convert cbb(4) to the new PNP API.
- Apply the PCI Express SCI fix on resume again.

Revision 1.57.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:33:45 2007 UTC (17 years, 6 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.57.2.3: preferred, colored
Changes since revision 1.57.2.3: +5 -5 lines
sync with head.

Revision 1.65.6.3: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:47:09 2007 UTC (17 years, 6 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.65.6.2: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.6.2: +5 -5 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.66.4.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:39:28 2007 UTC (17 years, 6 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +5 -5 lines
Sync with HEAD.

Revision 1.64.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:09:26 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.64.2.2: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.2.2: +5 -5 lines
Sync with head.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:01:05 2007 UTC (17 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, mjf-devfs, jmcneill-pm-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-kmem, vmlocking2
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +5 -5 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.64.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:41:59 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.64.2.1: preferred, colored; branchpoint 1.64: preferred, colored
Changes since revision 1.64.2.1: +3 -7 lines
Sync with head.

Revision 1.65.6.2: download - view: text, markup, annotated - select for diffs
Tue Sep 4 15:08:26 2007 UTC (17 years, 7 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.65.6.1: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.6.1: +32 -53 lines
Convert ray(4) to new power management API.

Revision 1.65.6.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:48:35 2007 UTC (17 years, 8 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -7 lines
Sync with HEAD.

Revision 1.57.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:38:04 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.57.2.2: preferred, colored
Changes since revision 1.57.2.2: +13 -17 lines
sync with head.

Revision 1.65.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:21:55 2007 UTC (17 years, 8 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +3 -7 lines
Sync with HEAD.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Sep 1 07:32:31 2007 UTC (17 years, 8 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5
Branch point for: bouyer-xenamd64
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -7 lines
Change a bazillion occurrences of code resembling this,

	error = (cmd == SIOCADDMULTI) ?
	    ether_addmulti(ifr, &sc->sc_ec) :
	    ether_delmulti(ifr, &sc->sc_ec);

	if (error == ENETRESET) {

to this,

	if ((error = ether_ioctl(ifp, cmd, data)) == ENETRESET) {

which does the same thing.

(A bazillion is a very large number.  This seems to make the i386
ALL kernel smaller by 3kB to 4kB.)

Use ifreq_getaddr() twice in es(4).

Whitespace nits.

Revision 1.64.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:08:08 2007 UTC (17 years, 9 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +7 -7 lines
Sync with head.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:01:20 2007 UTC (17 years, 9 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, matt-armv6, jmcneill-pm
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +7 -7 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.64.2.1: download - view: text, markup, annotated - select for diffs
Sun Jul 1 21:48:55 2007 UTC (17 years, 10 months ago) by ad
Branches: vmlocking
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +7 -7 lines
Adapt to callout API change.

Revision 1.63.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:56:46 2007 UTC (18 years, 1 month ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +7 -7 lines
Sync with HEAD.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:02:27 2007 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +7 -7 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:49:18 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.57.2.1: preferred, colored
Changes since revision 1.57.2.1: +8 -16 lines
sync with head.

Revision 1.60.10.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:06 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.60.10.1: preferred, colored; branchpoint 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.10.1: +6 -6 lines
sync with head.

Revision 1.60.8.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:43 2006 UTC (18 years, 5 months ago) by ad
Branches: newlock2
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +8 -16 lines
Sync with head.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:20 2006 UTC (18 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, 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, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +6 -6 lines
__unused removal on arguments; approved by core.

Revision 1.60.10.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:39 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +8 -16 lines
sync with head

Revision 1.62: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:50 2006 UTC (18 years, 6 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +7 -15 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Sep 24 03:54:00 2006 UTC (18 years, 7 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -3 lines
Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@

Revision 1.59.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:53:55 2006 UTC (18 years, 7 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +3 -3 lines
sync with head

Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:06:14 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +14 -14 lines
sync with head.

Revision 1.59.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:28 2006 UTC (18 years, 11 months ago) by tron
Branches: peter-altq
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +3 -3 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.59.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:58:13 2006 UTC (18 years, 11 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +3 -3 lines
sync with head.

Revision 1.59.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:24 2006 UTC (19 years ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +3 -3 lines
Sync with head.

Revision 1.59.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:25:59 2006 UTC (19 years ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +3 -3 lines
sync with head.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Apr 14 17:50:27 2006 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, 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.59: preferred, colored
Changes since revision 1.59: +3 -3 lines
Coverity CID 1111: Fix cut'n'paste bug!

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:23:23 2005 UTC (19 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -2 lines
merge ktrace-lwp.

Revision 1.37.2.8: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:07:24 2005 UTC (19 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.37.2.7: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.7: +17 -17 lines
Sync with HEAD. Here we go again...

Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Tue Sep 13 20:56:42 2005 UTC (19 years, 7 months ago) by tron
Branches: netbsd-3
CVS tags: 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
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +13 -13 lines
Pull up following revision(s) (requested by kiyohara in ticket #767):
	sys/dev/pcmcia/if_ray.c: revision 1.58
fix compilation with debugging on.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Thu Sep 8 18:41:50 2005 UTC (19 years, 7 months ago) by christos
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
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +13 -13 lines
fix compilation with debugging on.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon May 30 04:28:49 2005 UTC (19 years, 11 months ago) by christos
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +6 -6 lines
- add const
- avoid variable shadow
- do proper UNCONST with XXXUNCONST

Revision 1.54.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:13 2005 UTC (20 years ago) by kent
Branches: kent-audio2
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +84 -84 lines
sync with -current

Revision 1.54.6.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:35:34 2005 UTC (20 years, 1 month ago) by yamt
Branches: yamt-km
Diff to: previous 1.54.6.1: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.6.1: +21 -21 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.37.2.7: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:49:38 2005 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.37.2.6: preferred, colored
Changes since revision 1.37.2.6: +21 -21 lines
Sync with HEAD.

Hi Perry!

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:43 2005 UTC (20 years, 2 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, kent-audio2-base
Branch point for: netbsd-3
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +21 -21 lines
nuke trailing whitespace

Revision 1.54.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:48 2005 UTC (20 years, 2 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +65 -65 lines
sync with head.

Revision 1.37.2.6: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:47:09 2005 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.37.2.5: preferred, colored
Changes since revision 1.37.2.5: +65 -65 lines
Sync with HEAD.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Feb 4 02:10:45 2005 UTC (20 years, 2 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base2
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +65 -65 lines
de-__P

Revision 1.44.4.1: download - view: text, markup, annotated - select for diffs
Mon Jan 24 21:39:34 2005 UTC (20 years, 3 months ago) by he
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.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +4 -3 lines
Pull up revision 1.54 (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.37.2.5: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:52:45 2004 UTC (20 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.37.2.4: preferred, colored
Changes since revision 1.37.2.4: +4 -3 lines
Sync with HEAD.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Oct 30 18:10:06 2004 UTC (20 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -3 lines
When adding/deleting multicast addresses, only whack the address
filter if the interface is marked RUNNING.

Fixes kern/27678.

Revision 1.37.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:32:20 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.37.2.3: preferred, colored
Changes since revision 1.37.2.3: +2 -2 lines
Fix the sync with head I botched.

Revision 1.37.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:50:23 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.37.2.2: preferred, colored
Changes since revision 1.37.2.2: +2 -2 lines
Sync with HEAD.

Revision 1.37.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 12 11:42:01 2004 UTC (20 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.37.2.1: preferred, colored
Changes since revision 1.37.2.1: +83 -88 lines
Sync with HEAD.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue Aug 10 18:43:49 2004 UTC (20 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -3 lines
Now that all the silly string printing is gone, move the location where we
print a newline so it doesn't have to be done in every driver.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Aug 10 15:29:56 2004 UTC (20 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -7 lines
Print diagnostics in only one place if intr_establish() or function_enable()
fails.

Also, be a little more careful about passing up error values, and consistently
clear our interrupt handler pointer.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Aug 10 08:57:50 2004 UTC (20 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +5 -5 lines
Better fix for the previous.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Aug 10 08:29:27 2004 UTC (20 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -3 lines
Fix a reference count problem I introduced here.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Aug 10 02:54:19 2004 UTC (20 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +49 -50 lines
Use pcmcia_function_{configure,unconfigure}().

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Aug 9 21:30:18 2004 UTC (20 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +59 -61 lines
Adapt to the new world order.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Aug 9 18:51:32 2004 UTC (20 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +11 -10 lines
Correct the intr_establish order here.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Aug 7 05:35:50 2004 UTC (20 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +14 -14 lines
Clean up attach messages.

Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:50:15 2004 UTC (20 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +30 -32 lines
Sync with HEAD

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Jul 7 06:43:22 2004 UTC (20 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -6 lines
More cleanup:
* Print "devinfo" in a canonial place (like we do in the SCSI code).
* Use aprint_{error,normal}() during attach.
* More PCMCIA_STR_* removal.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Nov 2 11:14:22 2003 UTC (21 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: netbsd-2-base, 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
Branch point for: netbsd-2
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -3 lines
Fix some typos. From Tom Cosgrove via jmc@openbsd.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Oct 28 23:24:07 2003 UTC (21 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +7 -7 lines
Eliminate bogus initializer.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Oct 27 07:07:34 2003 UTC (21 years, 6 months ago) by chs
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +4 -4 lines
uninitialized variables

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Oct 25 21:30:03 2003 UTC (21 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +6 -8 lines
Initialize variables sooner, and remove variable that was only used
uninitialized in a debugging printf.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Oct 25 18:29:40 2003 UTC (21 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +5 -3 lines
Fix uninitialized variable warnings

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Oct 22 09:13:17 2003 UTC (21 years, 6 months ago) by mjl
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +14 -14 lines
Typo in comment. From OpenBSD.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Oct 13 06:43:22 2003 UTC (21 years, 6 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -3 lines
Switch to the new 802.11 layer.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Feb 23 04:15:02 2003 UTC (22 years, 2 months ago) by simonb
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -4 lines
Remove assigned-to but not used variable.

Revision 1.27.2.6: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:43:31 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.27.2.5: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.2.5: +4 -7 lines
Catch up to -current.

Revision 1.27.4.5: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:41:26 2002 UTC (22 years, 6 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.27.4.4: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.4.4: +4 -7 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.36: download - view: text, markup, annotated - select for diffs
Wed Oct 2 16:52:14 2002 UTC (22 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3 lines
Add trailing ; to CFATTACH_DECL.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Sep 30 22:27:01 2002 UTC (22 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -7 lines
Use CFATTACH_DECL().

Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Sep 27 20:41:01 2002 UTC (22 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3 lines
Declare all cfattach structures const.

Revision 1.27.4.4: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:48:16 2002 UTC (22 years, 10 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.27.4.3: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.4.3: +3 -3 lines
catch up with -current on kqueue branch

Revision 1.32.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 20 16:33:55 2002 UTC (22 years, 10 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +3 -3 lines
catch up with -current.

Revision 1.27.2.5: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:46:08 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.27.2.4: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.2.4: +3 -3 lines
Catch up to -current.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Jun 1 23:51:01 2002 UTC (22 years, 11 months ago) by lukem
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 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.27.2.4: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:46:51 2002 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.27.2.3: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.2.3: +5 -52 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.27.4.3: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:01:22 2002 UTC (23 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.27.4.2: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.4.2: +5 -52 lines
Catch up with -current.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Mar 10 11:32:18 2002 UTC (23 years, 1 month ago) by martin
Branches: MAIN
CVS tags: 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.31: preferred, colored
Changes since revision 1.31: +5 -52 lines
Remove RAY_USE_AMEM. This option claimed to use attribute memory access
for the registers, which was true, but actually the same as the driver
did without this option.

What it realy did is work around a stupid bug in the driver that did not
use the "offset" result from the pcmcia_mem_map call mapping the CIS memory.

We got away with this for a long time since on i386 and typical pcmcia
bridged the offset returned will be 0. It always failed (without
RAY_USE_AMEM=1) if the check for a different function CCR aliases in pcmcia.c
failed and mapped the CCR base new - this time at the CCR base of this
function (0xf00), so all register acceses (that had 0xf00 added) happened
way off in neverland.

Now we do not hardcode the CCR base to the register definitions, but
instead use the offset returned by pcmcia_mem_map. This makes the driver
work with and without CCR base aliases being found.

Revision 1.27.4.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:57:20 2002 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.27.4.1: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.4.1: +6 -3 lines
Sync kqueue branch with -current.

Revision 1.27.2.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:31:24 2002 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.27.2.2: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.2.2: +4 -4 lines
Catch up to -current.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Dec 15 13:23:22 2001 UTC (23 years, 4 months ago) by soren
Branches: MAIN
CVS tags: newlock-base, newlock, ifpoll-base
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Dec 15 12:01:55 2001 UTC (23 years, 4 months ago) by soren
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
Fix typo in comment.

Revision 1.27.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:15:38 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.27.2.1: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.2.1: +4 -1 lines
Catch up to -current.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Nov 13 07:26:33 2001 UTC (23 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -1 lines
add RCSIDs

Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:10:27 2001 UTC (23 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
Catch up with -current.

Revision 1.27.4.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:13:23 2001 UTC (23 years, 9 months ago) by lukem
Branches: kqueue
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
update to -current

Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Jul 26 22:54:34 2001 UTC (23 years, 9 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.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
aquired -> acquired, issueing -> issuing

Revision 1.20.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 26 00:32:07 2001 UTC (24 years, 3 months ago) by jhawk
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
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: +3 -3 lines
Pull up revision 1.26 (requested by mjacob):
  Cast pktlen to u_long and print with %ld. Now it compiles on the alpha.

Revision 1.23.2.5: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:36:22 2001 UTC (24 years, 3 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.23.2.4: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.4: +7 -6 lines
Sync with HEAD

Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 15 00:15:01 2000 UTC (24 years, 4 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.20.2.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.1: +145 -6 lines
Pull up revisions 1.24-1.25 (requested by thorpej):
  Add a missing return after freeing an mbuf.
  Add support for 802.11 authentication frames, required to
  interoperate with Aviator Pro cards on Windows.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Dec 14 06:29:38 2000 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa, kqueue
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +7 -6 lines
ALTQ'ify.

Revision 1.23.2.4: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:50:11 2000 UTC (24 years, 4 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.23.2.3: preferred, colored
Changes since revision 1.23.2.3: +145 -6 lines
Sync with HEAD (for UBC fixes).

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Dec 13 07:35:49 2000 UTC (24 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3 lines
Make this compile again.  *sigh*

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Dec 12 17:25:34 2000 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -1 lines
Add a missing return after freeing an mbuf.  From Dave Huang <khym@bga.com>.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Dec 11 17:53:19 2000 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +144 -6 lines
Add support for 802.11 authentication frames, required to interoperate
with Aviator Pro cards on Windows.  Written by Steve Weiss for OpenBSD,
ported to NetBSD by me.

Revision 1.23.2.3: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:04:36 2000 UTC (24 years, 5 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.23.2.2: preferred, colored
Changes since revision 1.23.2.2: +2 -7 lines
Sync with HEAD.

Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:42:43 2000 UTC (24 years, 5 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.23.2.1: preferred, colored
Changes since revision 1.23.2.1: +3260 -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.23.2.1
Wed Nov 15 01:02:18 2000 UTC (24 years, 5 months ago) by bouyer
Branches: thorpej_scsipi
FILE REMOVED
Changes since revision 1.23: +0 -3255 lines
file if_ray.c was added on branch thorpej_scsipi on 2000-11-20 11:42:43 +0000

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Nov 15 01:02:18 2000 UTC (24 years, 5 months ago) by thorpej
Branches: MAIN
Branch point for: thorpej_scsipi
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -7 lines
Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach().

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Oct 1 23:32:44 2000 UTC (24 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +11 -3 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.20.2.1: download - view: text, markup, annotated - select for diffs
Fri Jul 21 18:45:46 2000 UTC (24 years, 9 months ago) by onoe
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +43 -24 lines
Pullups 802.11 stuff (approved by jhawk)
- allow non-string nwid settings
	basesrc/sbin/ifconfig/ifconfig.c		1.82-1.86
	basesrc/sbin/ifconfig/ifconfig.8		1.37
	syssrc/sys/dev/ic/awi.c				1.21
	syssrc/sys/dev/pcmcia/if_ray.c			1.21
	syssrc/sys/dev/pcmcia/if_wi.c			1.23
	syssrc/sys/dev/pcmcia/if_wivar.h		1.10
	syssrc/sys/net/if_ieee80211.h			1.4

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jul 5 02:35:54 2000 UTC (24 years, 10 months ago) by onoe
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +43 -24 lines
change the argument of SIOCS80211NWID and SIOCG80211NWID ioctls from
u_int8_t array to struct ieee80211_nwid to prepend length field.
The length field is necessary because IEEE 802.11 spec doesn't prohibit
even '\0' for SSID.
Though the name and the value of SIOC... macro is unchanged, this change
breaks binary compatibility.  The only affected userland program on the
tree is ifconfig(8).
As Jason suggested on tech-net, it is better than live with problems
since there are no releases for this ioctls yet.

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:07:44 2000 UTC (24 years, 10 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +18 -8 lines
Sync w/ netbsd-1-5-base.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon May 29 17:37:16 2000 UTC (24 years, 11 months ago) by jhawk
Branches: MAIN
CVS tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +18 -8 lines
For all network drivers that call ether_ifattach(), and also
have _detach() functions:
  Ensure that softc keeps state about whether the attach succeeded,
  and make the detach function return immediately if the attach did
  not complete.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Apr 22 22:36:14 2000 UTC (25 years ago) by thorpej
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +16 -3 lines
Make sure the payload is aligned when using E2-over-802.11 encapsulation,
as enabled by the LINK0 flag.  Fixes PR kern/9700.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Mar 26 20:25:30 2000 UTC (25 years, 1 month ago) by kleink
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +11 -3 lines
Cast timeval members to types we know the printf conversions of.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Mar 23 07:01:42 2000 UTC (25 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +38 -17 lines
New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Mar 10 05:47:42 2000 UTC (25 years, 1 month ago) by onoe
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -6 lines
Adopt the macro name change of if_ieee80211.h.
also fixed the value for receiving packets in infrastructure mode,
while no one has been tested with.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Feb 28 06:44:52 2000 UTC (25 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -1 lines
Add missing break that hosed multicast.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Feb 27 20:40:42 2000 UTC (25 years, 2 months ago) by augustss
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +65 -2 lines
Add code (off by default) to keep track of the signal strength of the last
few packets received from different MAC addresses.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Feb 22 08:23:22 2000 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +16 -14 lines
Fix printf formats on the Alpha.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Feb 7 09:36:27 2000 UTC (25 years, 2 months ago) by augustss
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -13 lines
Use pcmcia_devinfo().

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Feb 4 08:45:41 2000 UTC (25 years, 3 months ago) by chopps
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +19 -12 lines
enable the card before establishing the interrupt to avoid being called
	with stray interrupts before we are ready.
clear the card interrupt after enabling the card

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Feb 3 21:27:35 2000 UTC (25 years, 3 months ago) by chopps
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +9 -1 lines
wrap optimized copy routines in an ifdef

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Feb 2 18:39:44 2000 UTC (25 years, 3 months ago) by chopps
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +51 -8 lines
manipulate packet counters, support detach, and add commented out code to
	DTRT on suspend

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Feb 2 08:08:50 2000 UTC (25 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -1 lines
Get rid of shutdown hook and attached media on detach.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Feb 2 07:22:06 2000 UTC (25 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +39 -11 lines
Make ray driver detachable.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jan 26 22:28:38 2000 UTC (25 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +9 -8 lines
Make it easy to switch between using attribute memory and not.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jan 26 02:25:47 2000 UTC (25 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +15 -5 lines
Print out what kind of card it is earlier and more accurately.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jan 25 05:32:28 2000 UTC (25 years, 3 months ago) by chopps
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +15 -4 lines
set havenet to 0 when we are switching between operating modes and only
after association in ifrastructure mode.  Also, deal with roam start
and rejoin net commands.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jan 24 22:05:53 2000 UTC (25 years, 3 months ago) by chopps
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +36 -15 lines
support switching to/from adhoc/infrastructure mode with media opt.
fill in 802.11 correctly for 802.11 infrastructure.
code not verified with base station yet.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jan 24 01:32:00 2000 UTC (25 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +7 -2 lines
Add missing \n in attach message, and add a little more information.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jan 23 23:59:21 2000 UTC (25 years, 3 months ago) by chopps
Branches: MAIN
add driver for raylink/aviator wireless 802.11 FH 2Mbps cards, currently only
tested with aviator 2.4

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>