The NetBSD Project

CVS log for src/sys/arch/amiga/dev/if_es.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun Aug 27 22:09:55 2023 UTC (15 months, 2 weeks ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +5 -3 lines
amiga/es(4): start_ptr/end_ptr are initialized with USEPKTBUF option only,
thus add this option check, when they are defined/used under ESDEBUG.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Aug 26 20:23:23 2023 UTC (15 months, 2 weeks ago) by andvar
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -4 lines
amiga/es(4): constify es_dump_smcregs char* argument to fix ESDEBUG build.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Sep 17 19:03:31 2022 UTC (2 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +8 -8 lines
Eliminate use of IFF_OACTIVE.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Aug 20 16:47:01 2022 UTC (2 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -5 lines
esstart(): Replace "IF_DEQUEUE() -> IF_PREPEND() on failure" with
"IF_POLL() -> IF_DEQUEUE() on success".

Revision 1.66: download - view: text, markup, annotated - select for diffs
Tue May 24 20:50:18 2022 UTC (2 years, 6 months ago) by andvar
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3 lines
fix various typos in comment, documentation and log messages.

Revision 1.59.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:26 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.59.2.1: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.2.1: +11 -10 lines
Merge changes from current as of 20200406

Revision 1.64.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:16 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +11 -10 lines
Sync with head.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Wed Jan 29 05:23:16 2020 UTC (4 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +11 -10 lines
Adopt <net/if_stats.h>.

Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:48 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +10 -15 lines
Sync with HEAD

Revision 1.64: download - view: text, markup, annotated - select for diffs
Wed May 29 10:07:28 2019 UTC (5 years, 6 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +4 -8 lines
Even if we don't use MII(4), use the common path of SIOC[GS]IFMEDIA in
sys/net/if_ethersubr.c if we can.
 - Add ec_ifmedia into struct ethercom.
 - ec_mii in struct ethercom is kept and used as it is. It might be used in
   future. Note that some Ethernet drivers which _DOESN'T_ use mii(4) use
   ec_mii for keeping the if_media. Those should be changed in future.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Wed May 29 06:21:56 2019 UTC (5 years, 6 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +4 -4 lines
 KNF. No functional change.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed May 29 05:06:39 2019 UTC (5 years, 6 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +4 -4 lines
 Whitespace fix. No functional change.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Feb 5 06:17:00 2019 UTC (5 years, 10 months ago) by msaitoh
Branches: MAIN
CVS tags: isaki-audio2-base, isaki-audio2
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -4 lines
 Remove very old IFF_NOTRAILERS flag.

Revision 1.57.12.3: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:24 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.57.12.2: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.12.2: +3 -3 lines
Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:22 2018 UTC (6 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3 lines
Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

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

Revision 1.57.6.1: download - view: text, markup, annotated - select for diffs
Thu Jul 26 23:55:28 2018 UTC (6 years, 4 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +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.59: download - view: text, markup, annotated - select for diffs
Tue Jun 26 06:47:57 2018 UTC (6 years, 5 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0728
Branch point for: phil-wifi
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -3 lines
 Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward
compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same
as FreeBSD.

 This change also fixes a bug that the direction is misunderstand on some
environment by passing the direction to bpf_mtap*() instead of checking
m->m_pkthdr.rcvif.

Revision 1.57.12.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:38 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -5 lines
Sync with HEAD

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

Revision 1.50.18.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:48 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.50.18.2: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.18.2: +4 -26 lines
update from HEAD

Revision 1.52.6.5: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:28 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.52.6.4: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.6.4: +4 -3 lines
Sync with HEAD

Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:22 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +4 -3 lines
Sync with HEAD

Revision 1.55.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:10 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.55.2.1: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.2.1: +4 -3 lines
Sync with HEAD

Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Feb 22 09:45:15 2017 UTC (7 years, 9 months ago) by nonaka
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-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
Branch point for: pgoyette-compat, netbsd-8
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -3 lines
Apply deferred if_start to more MD drivers.

Revision 1.52.6.4: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:02 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.52.6.3: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.6.3: +2 -4 lines
Sync with HEAD

Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:10 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -4 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Dec 15 09:28:02 2016 UTC (8 years ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-20170107, nick-nhusb-base-20170204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -4 lines
Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input

The benefits of the change are:
- We can reduce codes
- We can provide the same behavior between drivers
  - Where/When if_ipackets is counted up
  - Note that some drivers still update packet statistics in their own
    way (periodical update)
- Moved bpf_mtap run in softint
  - This makes it easy to MP-ify bpf

Proposed on tech-kern and tech-net

Revision 1.52.6.3: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:24:49 2016 UTC (8 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.52.6.2: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.6.2: +3 -3 lines
Sync with HEAD

Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Jun 10 13:27:10 2016 UTC (8 years, 6 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +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.52.6.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:29:55 2016 UTC (8 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.52.6.1: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.6.1: +3 -3 lines
Sync with HEAD

Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Feb 9 08:32:07 2016 UTC (8 years, 10 months ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +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.52.6.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:39:54 2015 UTC (9 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -23 lines
Sync with HEAD

Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed May 20 09:17:17 2015 UTC (9 years, 6 months ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -23 lines
Remove leftover use of AF_NS and NS option

Unnecessary NETISR_NS is also removed.

Revision 1.50.18.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:43 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.50.18.1: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.18.1: +3 -2 lines
Rebase to HEAD as of a few days ago.

Revision 1.50.8.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:28 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.50.8.1: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.8.1: +3 -2 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:44:55 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +3 -2 lines
sync with head

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Jan 22 00:25:16 2014 UTC (10 years, 10 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -2 lines
gcc-4.8.x unused variable fixes

Revision 1.50.18.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:00:58 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +46 -45 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.50.8.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:18:49 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +46 -45 lines
sync with head

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Oct 27 17:17:29 2012 UTC (12 years, 1 month ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +46 -45 lines
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.42.20.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:51:36 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.42.20.3: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.20.3: +4 -6 lines
sync with head.

Revision 1.49.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:16:37 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +4 -6 lines
sync with head

Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:39:05 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +4 -6 lines
Sync with HEAD.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Apr 5 07:19:29 2010 UTC (14 years, 8 months 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-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, 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
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -6 lines
Push the bpf_ops usage back into bpf.h. Push the common ifp->if_bpf
check into the inline functions as well the fourth argument for
bpf_attach.

Revision 1.42.20.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:01 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.42.20.2: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.20.2: +6 -18 lines
sync with head

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Jan 19 22:06:19 2010 UTC (14 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +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.48: download - view: text, markup, annotated - select for diffs
Mon Oct 26 19:16:54 2009 UTC (15 years, 1 month ago) by cegger
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -4 lines
kill extra whitespaces
reviewed by tsutsui@

Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Oct 21 23:53:38 2009 UTC (15 years, 1 month ago) by snj
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -7 lines
Drop 3rd and 4th clauses (except on files where copyright is shared
with UC, in which case only the ad clause has been removed). Approved
by mhitch@ (copyright holder).

Revision 1.42.20.2: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:00 2009 UTC (15 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.42.20.1: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.20.1: +2 -3 lines
sync with head

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue May 19 18:39:26 2009 UTC (15 years, 6 months ago) by phx
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, jymxensuspend-base, MI-softints
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -3 lines
Removed old Amiga-specific "sicallback" software interrupts and replaced
them by MI softints. Approved by "is".

Revision 1.43.4.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:16:10 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +5 -5 lines
Sync with HEAD.

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

Revision 1.42.20.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:10:34 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +12 -8 lines
sync with head.

Revision 1.42.28.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:33:40 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.42.28.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.28.1: +5 -5 lines
Sync with HEAD.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Mar 19 23:09:13 2009 UTC (15 years, 8 months ago) by he
Branches: MAIN
CVS tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, pre-softints, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3 lines
Correct one more bungled bcopy() -> memcpy() conversion.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Mar 18 17:06:42 2009 UTC (15 years, 9 months ago) by cegger
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +5 -5 lines
bcopy -> memcpy

Revision 1.42.28.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:15:55 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +9 -5 lines
Sync with HEAD.

Revision 1.42.16.1: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:27:50 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +9 -5 lines
Sync with HEAD.

Revision 1.42.26.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:00 2008 UTC (16 years ago) by haad
Branches: haad-dm
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +9 -5 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Nov 7 00:20:01 2008 UTC (16 years, 1 month ago) by dyoung
Branches: MAIN
CVS tags: nick-hppapmap-base2, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +9 -5 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.39.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:14:38 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +6 -10 lines
sync with HEAD

Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:53:16 2007 UTC (17 years, 2 months ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs-base, mjf-devfs, 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, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-dm-base1, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: yamt-nfs-mp, nick-hppapmap, mjf-devfs2, haad-dm
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2 lines
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:37:23 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +9 -13 lines
Sync with head.

Revision 1.38.10.1: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:22:24 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +9 -13 lines
Sync with HEAD

Revision 1.38.14.2: download - view: text, markup, annotated - select for diffs
Mon Sep 10 10:54:17 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.38.14.1: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.14.1: +5 -5 lines
Sync with HEAD.

Revision 1.38.18.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:47:11 2007 UTC (17 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +9 -13 lines
Sync with HEAD.

Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:22:52 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +12 -16 lines
sync with head.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Sep 3 11:29:43 2007 UTC (17 years, 3 months ago) by he
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, bouyer-xenamd64
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +5 -5 lines
Rename function argument from command to cmd, to make the code
actually build after the previous change.

Revision 1.38.14.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:18:21 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +6 -10 lines
Sync with HEAD.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Sep 1 07:32:22 2007 UTC (17 years, 3 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +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.39: download - view: text, markup, annotated - select for diffs
Sun Aug 26 22:29:28 2007 UTC (17 years, 3 months ago) by dyoung
Branches: MAIN
Branch point for: matt-armv6
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -5 lines
Constify.

Revision 1.37.26.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:46:42 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +6 -6 lines
Sync with HEAD.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Mar 4 05:59:20 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: vmlocking, ppcoea-renovation, nick-csl-alignment, jmcneill-pm
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -6 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:16:28 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
merge ktrace-lwp.

Revision 1.34.2.2: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:51:36 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.34.2.1: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.1: +4 -4 lines
Sync with HEAD. Here we go again...

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Jun 13 21:34:17 2005 UTC (19 years, 6 months ago) by jmc
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -4 lines
Fix a ton of const/volatile issues shown with new warning flags

Revision 1.34.6.1: download - view: text, markup, annotated - select for diffs
Mon Jan 24 21:39:01 2005 UTC (19 years, 10 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.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +5 -3 lines
Pull up revision 1.35 (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.34.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:50:22 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +5 -3 lines
Sync with HEAD.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Oct 30 18:08:34 2004 UTC (20 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +5 -3 lines
When adding/deleting multicast addresses, only whack the address
filter if the interface is marked RUNNING.

Fixes kern/27678.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Jan 28 22:35:04 2003 UTC (21 years, 10 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, ktrace-lwp
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -4 lines
success, not sucess. Noted by mjl.

Revision 1.26.8.3: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:34:58 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.26.8.2: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.8.2: +2 -3 lines
Catch up to -current.

Revision 1.26.4.3: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:31:28 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.26.4.2: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.4.2: +4 -5 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.33: download - view: text, markup, annotated - select for diffs
Wed Oct 2 04:55:51 2002 UTC (22 years, 2 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.32: preferred, colored
Changes since revision 1.32: +4 -5 lines
Use CFATTACH_DECL().

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

Revision 1.26.8.2: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:38:58 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.26.8.1: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.8.1: +58 -3 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.26.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 16 15:55:51 2002 UTC (22 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.26.4.1: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.4.1: +60 -5 lines
Catch up with -current.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Mar 6 22:07:39 2002 UTC (22 years, 9 months ago) by mhitch
Branches: MAIN
CVS tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +26 -2 lines
Add media support (such as it is), manual is all you get.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Mar 3 18:21:37 2002 UTC (22 years, 9 months ago) by mhitch
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +8 -4 lines
Enable transmit error and EPH interrupt, and reset NIC on EPH interrupt.
Fixes a source of lost interrupts.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Mar 2 21:08:04 2002 UTC (22 years, 9 months ago) by mhitch
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +30 -3 lines
Make reset actually do something and enable the use of the watchdog timer.
Losing interrupts no longer will hang the network.

Revision 1.26.8.1: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:06:46 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +28 -43 lines
Catch up to -current.

Revision 1.26.4.1: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:06:59 2002 UTC (22 years, 10 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +28 -43 lines
Sync w/ -current.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Jan 28 09:56:58 2002 UTC (22 years, 10 months ago) by aymeric
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -1 lines
add __KERNEL_RCSID as suggested by Luke Mewburn

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Jan 26 13:40:56 2002 UTC (22 years, 10 months ago) by aymeric
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +25 -43 lines
- ANSIfy
- remove some trailing spaces/tabs
- minor style nits

Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 22 15:59:48 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.23.2.1: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.1: +1 -5 lines
Sync with HEAD.

Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 19:58:36 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +6 -22 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.

I updated the amiga SCSI drivers, but completely untested yet (may not even
compile)

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Nov 15 01:02:12 2000 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: nathanw_sa, kqueue
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -5 lines
Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach().

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Oct 1 23:32:39 2000 UTC (24 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -18 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.23.8.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:31:34 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +5 -5 lines
Pull up to last week's -current.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Dec 10 05:44:58 1999 UTC (25 years ago) by mhitch
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -5 lines
Add multicast capability to the A4066 (es) driver;  now it will do IPv6.

Revision 1.22.10.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 00:46:40 1999 UTC (25 years, 6 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +2 -7 lines
Sync w/ -current.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue May 18 23:52:52 1999 UTC (25 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -7 lines
Rework layer 2 protocol input routines.  Instead of calling e.g. ether_input()
directly, call the function pointer (*if_input)(ifp, m).  The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary.  Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.

Revision 1.22.6.1: download - view: text, markup, annotated - select for diffs
Fri Dec 11 04:52:55 1998 UTC (26 years ago) by kenh
Branches: kenh-if-detach
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +19 -15 lines
The beginnings of interface detach support.  Still some bugs, but mostly
works for me.

This work was originally by Bill Studenmund, and cleaned up by me.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Jul 5 06:49:03 1998 UTC (26 years, 5 months ago) by jonathan
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Branch point for: kenh-if-detach, chs-ubc2
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -1 lines
defopt NS, NSIP.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Jul 5 00:51:06 1998 UTC (26 years, 5 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -1 lines
defopt INET, NETATALK.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Jul 4 22:18:16 1998 UTC (26 years, 5 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -1 lines
defopt DDB.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Jan 12 10:39:51 1998 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -5 lines
Adjust for changes to config.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Mar 17 17:55:54 1997 UTC (27 years, 9 months ago) by is
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, bouyer-scsipi
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -1 lines
if_es.c

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Mar 15 18:09:25 1997 UTC (27 years, 9 months ago) by is
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +45 -45 lines
New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.

Revision 1.16.6.2: download - view: text, markup, annotated - select for diffs
Mon Mar 10 16:00:42 1997 UTC (27 years, 9 months ago) by is
Branches: is-newarp
Diff to: previous 1.16.6.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.6.1: +2 -2 lines
netinet/if_ether.h => netinet/if_inarp.h

Revision 1.16.6.1: download - view: text, markup, annotated - select for diffs
Thu Mar 6 19:50:13 1997 UTC (27 years, 9 months ago) by is
Branches: is-newarp
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +44 -44 lines
Convert to new ARP style.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Dec 23 09:10:17 1996 UTC (27 years, 11 months ago) by veego
Branches: MAIN
CVS tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base
Branch point for: is-newarp
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -4 lines
Get rid of __BROKEN_INDIRECT_CONFIG.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Oct 13 03:07:17 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +60 -60 lines
backout previous kprintf change

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Oct 10 23:56:07 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +60 -60 lines
printf -> kprintf, sprintf -> ksprintf

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue May 7 00:46:44 1996 UTC (28 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +9 -9 lines
Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed May 1 15:55:28 1996 UTC (28 years, 7 months ago) by mhitch
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +63 -38 lines
Define BSR_MASK and use BSR_MASK to get the current bank select register.
Clean up the debugging code a bit and the warnings from -Wall.
Don't define ESDEBUG - it can now be set from the config file.

If the Ethernet chip gets reset during the copy of the transmit buffer,
requeue the current packet and reinitialize the controller.  This recovers
from an apparent hardware bug when running on my A2000/Zeus system.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Apr 21 21:11:46 1996 UTC (28 years, 7 months ago) by veego
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +18 -11 lines
- Cleanup for -Wall and -Wstrict-prototypes
- Added support for multiple floppy drives
- CyberVision64:
        - has now a real console mode
        - another bugfix for boards with the new S3 chip
- Ariadne:
        - fixed crashes with aeput (mbuf failure)

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Mar 17 05:58:45 1996 UTC (28 years, 9 months ago) by mhitch
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Clean up typos and other errors from new device attachment changes.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Mar 17 01:17:33 1996 UTC (28 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +11 -7 lines
New device attachment scheme:

	- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Dec 24 02:29:59 1995 UTC (28 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -5 lines
The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Aug 18 15:27:57 1995 UTC (29 years, 4 months ago) by chopps
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +344 -80 lines
SCSI disconnects: siop from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
and sbic from "Eduardo E. Horvath eeh@btr.com" <eeh@btr.btr.com>

Other cleanup (remove cpu040) and enabling IVS A500 support
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jul 2 00:16:04 1995 UTC (29 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -4 lines
Remove references to if_addrlist.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Jun 27 13:13:41 1995 UTC (29 years, 5 months ago) by chopps
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
udpate to match ifnets new use of sys/queue.h

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Apr 14 17:29:50 1995 UTC (29 years, 8 months ago) by chopps
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -2 lines
bring up-to-date with recent chages (arpwhohas->arp_ifinit
and int xx_start->void xx_start)

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Apr 11 05:58:58 1995 UTC (29 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +95 -126 lines
Sync with the rest of the world.  Define BSR_BANK[0-3] constants and use them.
Various other cleanup.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Apr 2 20:38:45 1995 UTC (29 years, 8 months ago) by chopps
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +35 -18 lines
cleanup SG4_, fix magnum interrupts, gvp hack for ziii, new gvp configs, 4066
4066 interrupt fix, add baudrate gen and don't clear other port lines for mfc
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Feb 13 00:27:08 1995 UTC (29 years, 10 months ago) by chopps
Branches: MAIN
add ethernet driver (from Michael)

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>