The NetBSD Project

CVS log for src/sys/dev/isa/if_iy.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.114 / (download) - annotate - [select for diffs], Sat Sep 17 17:21:52 2022 UTC (18 months, 1 week ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, 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, HEAD
Changes since 1.113: +19 -14 lines
Diff to previous 1.113 (colored) to selected 1.99 (colored)

Eliminate use of IFF_OACTIVE.

Revision 1.102.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:22 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.102.2.2: +2 -1 lines
Diff to previous 1.102.2.2 (colored) to branchpoint 1.102 (colored) next main 1.103 (colored) to selected 1.99 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.102.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:07 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.102.2.1: +10 -10 lines
Diff to previous 1.102.2.1 (colored) to branchpoint 1.102 (colored) to selected 1.99 (colored)

Merge changes from current as of 20200406

Revision 1.112.2.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:19:09 2020 UTC (4 years ago) by ad
Branch: ad-namecache
Changes since 1.112: +9 -9 lines
Diff to previous 1.112 (colored) next main 1.113 (colored) to selected 1.99 (colored)

Sync with head.

Revision 1.113 / (download) - annotate - [select for diffs], Wed Jan 29 06:21:40 2020 UTC (4 years, 1 month ago) by thorpej
Branch: 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
Changes since 1.112: +9 -9 lines
Diff to previous 1.112 (colored) to selected 1.99 (colored)

Adopt <net/if_stats.h>.

Revision 1.109.2.2 / (download) - annotate - [select for diffs], Tue Jan 28 11:01:37 2020 UTC (4 years, 2 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Changes since 1.109.2.1: +3 -3 lines
Diff to previous 1.109.2.1 (colored) to branchpoint 1.109 (colored) next main 1.110 (colored) to selected 1.99 (colored)

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.112 / (download) - annotate - [select for diffs], Mon Jan 6 07:15:03 2020 UTC (4 years, 2 months ago) by msaitoh
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.111: +3 -3 lines
Diff to previous 1.111 (colored) to selected 1.99 (colored)

Protect ec_multicnt.

Revision 1.100.6.2 / (download) - annotate - [select for diffs], Thu Nov 14 16:04:31 2019 UTC (4 years, 4 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.100.6.1: +3 -2 lines
Diff to previous 1.100.6.1 (colored) to branchpoint 1.100 (colored) next main 1.101 (colored) to selected 1.99 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1439):

	sys/dev/sbus/sio16.c: revision 1.25
	sys/dev/gpib/mt.c: revision 1.33
	sys/arch/mvme68k/dev/wdsc.c: revision 1.33
	sys/dev/gpib/ct.c: revision 1.31
	sys/dev/isa/mcd.c: revision 1.119
	sys/dev/pci/if_stge.c: revision 1.73
	sys/dev/gpib/ppi.c: revision 1.25
	sys/dev/pcmcia/if_tr_pcmcia.c: revision 1.29
	sys/arch/amiga/dev/zssc.c: revision 1.46
	sys/arch/mac68k/obio/iwm_fd.c: revision 1.57
	sys/arch/amiga/dev/if_qn.c: revision 1.48
	sys/dev/isa/tcic2_isa.c: revision 1.28
	sys/dev/isa/uha_isa.c: revision 1.42
	sys/dev/pci/neo.c: revision 1.55
	sys/arch/next68k/dev/nextdisplay.c: revision 1.22
	sys/dev/isa/if_iy.c: revision 1.111

 Add missing initialization of sc_dev.


 Initialize sc_dev correctly to avoid null pointer dereference when
bus_space_map() failed.


 Add missing initialization of sc_dev.

Revision 1.109.2.1 / (download) - annotate - [select for diffs], Thu Nov 14 15:38:02 2019 UTC (4 years, 4 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-0-RC1
Changes since 1.109: +3 -2 lines
Diff to previous 1.109 (colored) to selected 1.99 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #425):

	sys/dev/sbus/sio16.c: revision 1.25
	sys/dev/gpib/mt.c: revision 1.33
	sys/arch/mvme68k/dev/wdsc.c: revision 1.33
	sys/dev/gpib/ct.c: revision 1.31
	sys/dev/isa/mcd.c: revision 1.119
	sys/dev/pci/if_stge.c: revision 1.73
	sys/dev/gpib/ppi.c: revision 1.25
	sys/dev/pcmcia/if_tr_pcmcia.c: revision 1.29
	sys/arch/amiga/dev/zssc.c: revision 1.46
	sys/arch/mac68k/obio/iwm_fd.c: revision 1.57
	sys/arch/amiga/dev/if_qn.c: revision 1.48
	sys/dev/isa/tcic2_isa.c: revision 1.28
	sys/dev/isa/uha_isa.c: revision 1.42
	sys/dev/pci/neo.c: revision 1.55
	sys/arch/next68k/dev/nextdisplay.c: revision 1.22
	sys/dev/isa/if_iy.c: revision 1.111

 Add missing initialization of sc_dev.

 Initialize sc_dev correctly to avoid null pointer dereference when
bus_space_map() failed.

 Add missing initialization of sc_dev.

Revision 1.111 / (download) - annotate - [select for diffs], Tue Nov 12 13:17:44 2019 UTC (4 years, 4 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.110: +3 -2 lines
Diff to previous 1.110 (colored) to selected 1.99 (colored)

 Add missing initialization of sc_dev.

Revision 1.110 / (download) - annotate - [select for diffs], Fri Sep 13 07:55:06 2019 UTC (4 years, 6 months ago) by msaitoh
Branch: MAIN
Changes since 1.109: +3 -3 lines
Diff to previous 1.109 (colored) to selected 1.99 (colored)

 if_flags is neither int nor short. It's unsigned short.

Revision 1.102.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:12 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.102: +73 -75 lines
Diff to previous 1.102 (colored) to selected 1.99 (colored)

Sync with HEAD

Revision 1.109 / (download) - annotate - [select for diffs], Wed May 29 10:07:29 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base
Branch point for: netbsd-9
Changes since 1.108: +4 -8 lines
Diff to previous 1.108 (colored) to selected 1.99 (colored)

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.108 / (download) - annotate - [select for diffs], Tue May 28 07:41:49 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.107: +7 -2 lines
Diff to previous 1.107 (colored) to selected 1.99 (colored)

 Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.

Revision 1.107 / (download) - annotate - [select for diffs], Thu May 23 13:10:51 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.106: +19 -19 lines
Diff to previous 1.106 (colored) to selected 1.99 (colored)

 Whitespace fix (mainly tabify).

Revision 1.106 / (download) - annotate - [select for diffs], Thu May 23 10:57:28 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.105: +46 -44 lines
Diff to previous 1.105 (colored) to selected 1.99 (colored)

-No functional change:
  - KNF
  - u_int*_t -> uint*_t.

Revision 1.105 / (download) - annotate - [select for diffs], Wed Apr 24 09:35:54 2019 UTC (4 years, 11 months ago) by msaitoh
Branch: MAIN
Changes since 1.104: +3 -7 lines
Diff to previous 1.104 (colored) to selected 1.99 (colored)

 Remove extra test for SIOCSIFMEDIA.

Revision 1.104 / (download) - annotate - [select for diffs], Tue Feb 5 06:17:02 2019 UTC (5 years, 1 month ago) by msaitoh
Branch: MAIN
CVS Tags: isaki-audio2-base, isaki-audio2
Changes since 1.103: +3 -4 lines
Diff to previous 1.103 (colored) to selected 1.99 (colored)

 Remove very old IFF_NOTRAILERS flag.

Revision 1.100.12.3 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:50 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.100.12.2: +3 -3 lines
Diff to previous 1.100.12.2 (colored) to branchpoint 1.100 (colored) next main 1.101 (colored) to selected 1.99 (colored)

Sync with HEAD

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

Revision 1.103 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:31 2018 UTC (5 years, 6 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored) to selected 1.99 (colored)

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.100.12.2 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:45 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.100.12.1: +3 -3 lines
Diff to previous 1.100.12.1 (colored) to branchpoint 1.100 (colored) to selected 1.99 (colored)

Sync with HEAD

Revision 1.100.6.1 / (download) - annotate - [select for diffs], Thu Jul 26 23:55:30 2018 UTC (5 years, 8 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.100: +3 -5 lines
Diff to previous 1.100 (colored) to selected 1.99 (colored)

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.102 / (download) - annotate - [select for diffs], Tue Jun 26 06:48:01 2018 UTC (5 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0728, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Changes since 1.101: +3 -3 lines
Diff to previous 1.101 (colored) to selected 1.99 (colored)

 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.100.12.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:50 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.100: +3 -5 lines
Diff to previous 1.100 (colored) to selected 1.99 (colored)

Sync with HEAD

Revision 1.101 / (download) - annotate - [select for diffs], Fri Jun 22 04:17:42 2018 UTC (5 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-0625
Changes since 1.100: +3 -5 lines
Diff to previous 1.100 (colored) to selected 1.99 (colored)

 It's not required to include net/bpfdesc.h. Remove it.

Revision 1.90.6.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:05 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.90.6.2: +35 -33 lines
Diff to previous 1.90.6.2 (colored) to branchpoint 1.90 (colored) next main 1.91 (colored) to selected 1.99 (colored)

update from HEAD

Revision 1.93.4.6 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:04 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.93.4.5: +7 -7 lines
Diff to previous 1.93.4.5 (colored) to branchpoint 1.93 (colored) next main 1.94 (colored) to selected 1.99 (colored)

Sync with HEAD

Revision 1.97.2.3 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:12 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.97.2.2: +7 -7 lines
Diff to previous 1.97.2.2 (colored) to branchpoint 1.97 (colored) next main 1.98 (colored) to selected 1.99 (colored)

Sync with HEAD

Revision 1.99.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:46 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.99: +7 -7 lines
Diff to previous 1.99 (colored) next main 1.100 (colored)

Sync with HEAD

Revision 1.100 / (download) - annotate - [select for diffs], Fri Mar 31 08:38:13 2017 UTC (6 years, 11 months ago) by msaitoh
Branch: 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-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
Changes since 1.99: +7 -7 lines
Diff to previous 1.99 (colored)

 Remove extra 0x. This bug was added when replacing bitmask_snprintf(9) with
snprintb(3) (in between NetBSD 5 and 6). Old bitmask_snprint(9) didn't add
0x" automatically for hexadecimal value, so old code used it with "0x%s".

Revision 1.93.4.5 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:28 2017 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.93.4.4: +2 -7 lines
Diff to previous 1.93.4.4 (colored) to branchpoint 1.93 (colored) to selected 1.99 (colored)

Sync with HEAD

Revision 1.97.2.2 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:32 2017 UTC (7 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.97.2.1: +2 -7 lines
Diff to previous 1.97.2.1 (colored) to branchpoint 1.97 (colored) to selected 1.99 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.99 / (download) - annotate - [selected], Thu Dec 15 09:28:05 2016 UTC (7 years, 3 months ago) by ozaki-r
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320, pgoyette-localcount-20170107, nick-nhusb-base-20170204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.98: +2 -7 lines
Diff to previous 1.98 (colored)

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.97.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:09 2016 UTC (7 years, 4 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.97: +3 -3 lines
Diff to previous 1.97 (colored) to selected 1.99 (colored)

Sync with HEAD

Revision 1.93.4.4 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:42 2016 UTC (7 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.93.4.3: +30 -23 lines
Diff to previous 1.93.4.3 (colored) to branchpoint 1.93 (colored) to selected 1.99 (colored)

Sync with HEAD

Revision 1.98 / (download) - annotate - [select for diffs], Sun Oct 2 14:16:02 2016 UTC (7 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104, nick-nhusb-base-20161204, nick-nhusb-base-20161004
Changes since 1.97: +3 -3 lines
Diff to previous 1.97 (colored) to selected 1.99 (colored)

MFREE -> m_free

Revision 1.97 / (download) - annotate - [select for diffs], Thu Jul 14 10:19:06 2016 UTC (7 years, 8 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.96: +29 -22 lines
Diff to previous 1.96 (colored) to selected 1.99 (colored)

- Use aprint*() more in xxx_attach().
- Add missing aprint_naive("\n").
- Remove extra spaces and tabs.
- KNF.

Revision 1.93.4.3 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:03 2016 UTC (7 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.93.4.2: +3 -3 lines
Diff to previous 1.93.4.2 (colored) to branchpoint 1.93 (colored) to selected 1.99 (colored)

Sync with HEAD

Revision 1.96 / (download) - annotate - [select for diffs], Fri Jun 10 13:27:14 2016 UTC (7 years, 9 months ago) by ozaki-r
Branch: MAIN
CVS Tags: nick-nhusb-base-20160907
Changes since 1.95: +3 -3 lines
Diff to previous 1.95 (colored) to selected 1.99 (colored)

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.93.4.2 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:10 2016 UTC (8 years ago) by skrll
Branch: nick-nhusb
Changes since 1.93.4.1: +3 -3 lines
Diff to previous 1.93.4.1 (colored) to branchpoint 1.93 (colored) to selected 1.99 (colored)

Sync with HEAD

Revision 1.95 / (download) - annotate - [select for diffs], Tue Feb 9 08:32:11 2016 UTC (8 years, 1 month ago) by ozaki-r
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored) to selected 1.99 (colored)

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.93.4.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:08 2015 UTC (8 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored) to selected 1.99 (colored)

Sync with HEAD

Revision 1.94 / (download) - annotate - [select for diffs], Mon Apr 13 16:33:24 2015 UTC (8 years, 11 months ago) by riastradh
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored) to selected 1.99 (colored)

Convert sys/dev to use <sys/rndsource.h>.

Revision 1.90.6.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:39 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.90.6.1: +6 -3 lines
Diff to previous 1.90.6.1 (colored) to branchpoint 1.90 (colored) to selected 1.99 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.93 / (download) - annotate - [select for diffs], Sun Aug 10 16:44:35 2014 UTC (9 years, 7 months ago) by tls
Branch: MAIN
CVS Tags: tls-maxphys-base, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.92: +3 -3 lines
Diff to previous 1.92 (colored) to selected 1.99 (colored)

Merge tls-earlyentropy branch into HEAD.

Revision 1.88.8.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:23 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.88.8.2: +5 -2 lines
Diff to previous 1.88.8.2 (colored) to branchpoint 1.88 (colored) next main 1.89 (colored) to selected 1.99 (colored)

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.91.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:38 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.91: +5 -2 lines
Diff to previous 1.91 (colored) next main 1.92 (colored) to selected 1.99 (colored)

sync with head

Revision 1.92.2.1 / (download) - annotate - [select for diffs], Mon Apr 7 03:37:32 2014 UTC (9 years, 11 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.92: +3 -3 lines
Diff to previous 1.92 (colored) next main 1.93 (colored) to selected 1.99 (colored)

Be a little more clear and consistent about harvesting entropy from devices:

1) deprecate RND_FLAG_NO_ESTIMATE

2) define RND_FLAG_COLLECT_TIME, RND_FLAG_COLLECT_VALUE

3) define RND_FLAG_ESTIMATE_TIME, RND_FLAG_ESTIMATE_VALUE

4) define RND_FLAG_DEFAULT: RND_FLAG_COLLECT_TIME|
   RND_FLAG_COLLECT_VALUE|RND_FLAG_ESTIMATE_TIME

5) Make entropy harvesting from environmental sensors a little more generic
   and remove it from individual sensor drivers.

6) Remove individual open-coded delta-estimators for values from a few
   places in the tree (uvm, environmental drivers).

7) 0 -> RND_FLAG_DEFAULT, actually gather entropy from various drivers
   that had stubbed out code, other minor cleanups.

Revision 1.92 / (download) - annotate - [select for diffs], Fri Nov 8 03:12:17 2013 UTC (10 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.91: +5 -2 lines
Diff to previous 1.91 (colored) to selected 1.99 (colored)

fix unused variable warnings

Revision 1.90.6.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:10 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.90: +35 -35 lines
Diff to previous 1.90 (colored) to selected 1.99 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.88.8.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:21:14 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.88.8.1: +35 -35 lines
Diff to previous 1.88.8.1 (colored) to branchpoint 1.88 (colored) to selected 1.99 (colored)

sync with head

Revision 1.91 / (download) - annotate - [select for diffs], Sat Oct 27 17:18:24 2012 UTC (11 years, 5 months ago) by chs
Branch: 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
Changes since 1.90: +35 -35 lines
Diff to previous 1.90 (colored) to selected 1.99 (colored)

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.88.8.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:39 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.88: +3 -12 lines
Diff to previous 1.88 (colored) to selected 1.99 (colored)

sync with head

Revision 1.89.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:28 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.89: +2 -11 lines
Diff to previous 1.89 (colored) next main 1.90 (colored) to selected 1.99 (colored)

merge to -current.

Revision 1.90 / (download) - annotate - [select for diffs], Thu Feb 2 19:43:04 2012 UTC (12 years, 1 month ago) by tls
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.89: +2 -11 lines
Diff to previous 1.89 (colored) to selected 1.99 (colored)

Entropy-pool implementation move and cleanup.

1) Move core entropy-pool code and source/sink/sample management code
   to sys/kern from sys/dev.

2) Remove use of NRND as test for presence of entropy-pool code throughout
   source tree.

3) Remove use of RND_ENABLED in device drivers as microoptimization to
   avoid expensive operations on disabled entropy sources; make the
   rnd_add calls do this directly so all callers benefit.

4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
   have lead to slight entropy overestimation for some sources.

5) Add new source types for environmental sensors, power sensors, VM
   system events, and skew between clocks, with a sample implementation
   for each.

ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files).  Tested with release
builds on amd64 and evbarm and live testing on amd64.

Revision 1.89 / (download) - annotate - [select for diffs], Sat Nov 19 22:51:23 2011 UTC (12 years, 4 months ago) by tls
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.88: +3 -3 lines
Diff to previous 1.88 (colored) to selected 1.99 (colored)

First step of random number subsystem rework described in
<20111022023242.BA26F14A158@mail.netbsd.org>.  This change includes
the following:

	An initial cleanup and minor reorganization of the entropy pool
	code in sys/dev/rnd.c and sys/dev/rndpool.c.  Several bugs are
	fixed.  Some effort is made to accumulate entropy more quickly at
	boot time.

	A generic interface, "rndsink", is added, for stream generators to
	request that they be re-keyed with good quality entropy from the pool
	as soon as it is available.

	The arc4random()/arc4randbytes() implementation in libkern is
	adjusted to use the rndsink interface for rekeying, which helps
	address the problem of low-quality keys at boot time.

	An implementation of the FIPS 140-2 statistical tests for random
	number generator quality is provided (libkern/rngtest.c).  This
	is based on Greg Rose's implementation from Qualcomm.

	A new random stream generator, nist_ctr_drbg, is provided.  It is
	based on an implementation of the NIST SP800-90 CTR_DRBG by
	Henric Jungheim.  This generator users AES in a modified counter
	mode to generate a backtracking-resistant random stream.

	An abstraction layer, "cprng", is provided for in-kernel consumers
	of randomness.  The arc4random/arc4randbytes API is deprecated for
	in-kernel use.  It is replaced by "cprng_strong".  The current
	cprng_fast implementation wraps the existing arc4random
	implementation.  The current cprng_strong implementation wraps the
	new CTR_DRBG implementation.  Both interfaces are rekeyed from
	the entropy pool automatically at intervals justifiable from best
	current cryptographic practice.

	In some quick tests, cprng_fast() is about the same speed as
	the old arc4randbytes(), and cprng_strong() is about 20% faster
	than rnd_extract_data().  Performance is expected to improve.

	The AES code in src/crypto/rijndael is no longer an optional
	kernel component, as it is required by cprng_strong, which is
	not an optional kernel component.

	The entropy pool output is subjected to the rngtest tests at
	startup time; if it fails, the system will reboot.  There is
	approximately a 3/10000 chance of a false positive from these
	tests.  Entropy pool _input_ from hardware random numbers is
	subjected to the rngtest tests at attach time, as well as the
	FIPS continuous-output test, to detect bad or stuck hardware
	RNGs; if any are detected, they are detached, but the system
	continues to run.

	A problem with rndctl(8) is fixed -- datastructures with
	pointers in arrays are no longer passed to userspace (this
	was not a security problem, but rather a major issue for
	compat32).  A new kernel will require a new rndctl.

	The sysctl kern.arandom() and kern.urandom() nodes are hooked
	up to the new generators, but the /dev/*random pseudodevices
	are not, yet.

	Manual pages for the new kernel interfaces are forthcoming.

Revision 1.79.4.5 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:36 2010 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.79.4.4: +4 -6 lines
Diff to previous 1.79.4.4 (colored) to branchpoint 1.79 (colored) next main 1.80 (colored) to selected 1.99 (colored)

sync with head.

Revision 1.87.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:28 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.87: +4 -6 lines
Diff to previous 1.87 (colored) next main 1.88 (colored) to selected 1.99 (colored)

sync with head

Revision 1.87.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:26 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.87: +4 -6 lines
Diff to previous 1.87 (colored) next main 1.88 (colored) to selected 1.99 (colored)

Sync with HEAD.

Revision 1.88 / (download) - annotate - [select for diffs], Mon Apr 5 07:20:24 2010 UTC (13 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: 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, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.87: +4 -6 lines
Diff to previous 1.87 (colored) to selected 1.99 (colored)

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.79.4.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:37 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.79.4.3: +4 -11 lines
Diff to previous 1.79.4.3 (colored) to branchpoint 1.79 (colored) to selected 1.99 (colored)

sync with head

Revision 1.87 / (download) - annotate - [select for diffs], Tue Jan 19 22:06:59 2010 UTC (14 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.86: +4 -11 lines
Diff to previous 1.86 (colored) to selected 1.99 (colored)

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.79.4.3 / (download) - annotate - [select for diffs], Sat May 16 10:41:25 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.79.4.2: +6 -7 lines
Diff to previous 1.79.4.2 (colored) to branchpoint 1.79 (colored) to selected 1.99 (colored)

sync with head

Revision 1.83.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:19:53 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.83: +25 -57 lines
Diff to previous 1.83 (colored) next main 1.84 (colored) to selected 1.99 (colored)

Sync with HEAD.

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

Revision 1.86 / (download) - annotate - [select for diffs], Tue May 12 09:10:15 2009 UTC (14 years, 10 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.85: +6 -7 lines
Diff to previous 1.85 (colored) to selected 1.99 (colored)

struct device * -> device_t, no functional changes intended.

Revision 1.85 / (download) - annotate - [select for diffs], Tue May 12 08:44:19 2009 UTC (14 years, 10 months ago) by cegger
Branch: MAIN
Changes since 1.84: +4 -4 lines
Diff to previous 1.84 (colored) to selected 1.99 (colored)

struct cfdata * -> cfdata_t, no functional changes intended.

Revision 1.79.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:48 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.79.4.1: +73 -91 lines
Diff to previous 1.79.4.1 (colored) to branchpoint 1.79 (colored) to selected 1.99 (colored)

sync with head.

Revision 1.80.8.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:45 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.80.8.1: +21 -52 lines
Diff to previous 1.80.8.1 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored) to selected 1.99 (colored)

Sync with HEAD.

Revision 1.84 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:18 2009 UTC (15 years ago) by dsl
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.83: +21 -52 lines
Diff to previous 1.83 (colored) to selected 1.99 (colored)

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.80.8.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:18:13 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.80: +54 -41 lines
Diff to previous 1.80 (colored) to selected 1.99 (colored)

Sync with HEAD.

Revision 1.78.16.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:57 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.78.16.1: +52 -39 lines
Diff to previous 1.78.16.1 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored) to selected 1.99 (colored)

Sync with HEAD.

Revision 1.83 / (download) - annotate - [select for diffs], Wed Dec 17 15:41:24 2008 UTC (15 years, 3 months ago) by cegger
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.82: +5 -4 lines
Diff to previous 1.82 (colored) to selected 1.99 (colored)

make this compile with IYDEBUG

Revision 1.82 / (download) - annotate - [select for diffs], Tue Dec 16 22:35:32 2008 UTC (15 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.81: +39 -28 lines
Diff to previous 1.81 (colored) to selected 1.99 (colored)

replace bitmask_snprintf(9) with snprintb(3)

Revision 1.80.6.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:26 2008 UTC (15 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.80: +16 -15 lines
Diff to previous 1.80 (colored) next main 1.81 (colored) to selected 1.99 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.81 / (download) - annotate - [select for diffs], Fri Nov 7 00:20:07 2008 UTC (15 years, 4 months ago) by dyoung
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.80: +16 -15 lines
Diff to previous 1.80 (colored) to selected 1.99 (colored)

*** 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.78.16.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:31 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.78: +33 -40 lines
Diff to previous 1.78 (colored) to selected 1.99 (colored)

Sync with HEAD.

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:03 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.79: +2 -9 lines
Diff to previous 1.79 (colored) next main 1.80 (colored) to selected 1.99 (colored)

sync with head.

Revision 1.79.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:27 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.79: +2 -9 lines
Diff to previous 1.79 (colored) to selected 1.99 (colored)

sync with head.

Revision 1.80 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:52 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, 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: nick-hppapmap, haad-dm
Changes since 1.79: +2 -9 lines
Diff to previous 1.79 (colored) to selected 1.99 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.79 / (download) - annotate - [select for diffs], Tue Apr 8 20:08:50 2008 UTC (15 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.78: +33 -33 lines
Diff to previous 1.78 (colored) to selected 1.99 (colored)

use aprint_*_dev and device_xname

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:27:42 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.76: +6 -10 lines
Diff to previous 1.76 (colored) next main 1.77 (colored) to selected 1.99 (colored)

sync with HEAD

Revision 1.68.2.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:31:39 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.68.2.3: +5 -5 lines
Diff to previous 1.68.2.3 (colored) to branchpoint 1.68 (colored) next main 1.69 (colored) to selected 1.99 (colored)

sync with head.

Revision 1.75.14.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:45:19 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.75.14.1: +5 -5 lines
Diff to previous 1.75.14.1 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored) to selected 1.99 (colored)

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.77.4.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:38:15 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.77: +5 -5 lines
Diff to previous 1.77 (colored) next main 1.78 (colored) to selected 1.99 (colored)

Sync with HEAD.

Revision 1.75.2.2 / (download) - annotate - [select for diffs], Tue Oct 23 20:08:08 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.75.2.1: +5 -5 lines
Diff to previous 1.75.2.1 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored) to selected 1.99 (colored)

Sync with head.

Revision 1.78 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:18 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, 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: mjf-devfs2
Changes since 1.77: +5 -5 lines
Diff to previous 1.77 (colored) to selected 1.99 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.75.2.1 / (download) - annotate - [select for diffs], Tue Oct 9 13:41:37 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.75: +4 -8 lines
Diff to previous 1.75 (colored) to selected 1.99 (colored)

Sync with head.

Revision 1.75.14.1 / (download) - annotate - [select for diffs], Mon Sep 3 16:48:11 2007 UTC (16 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.75: +4 -8 lines
Diff to previous 1.75 (colored) to selected 1.99 (colored)

Sync with HEAD.

Revision 1.68.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:35:38 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.68.2.2: +9 -13 lines
Diff to previous 1.68.2.2 (colored) to branchpoint 1.68 (colored) to selected 1.99 (colored)

sync with head.

Revision 1.75.10.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:20:55 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.75: +4 -8 lines
Diff to previous 1.75 (colored) next main 1.76 (colored) to selected 1.99 (colored)

Sync with HEAD.

Revision 1.77 / (download) - annotate - [select for diffs], Sat Sep 1 07:32:28 2007 UTC (16 years, 7 months ago) by dyoung
Branch: 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
Changes since 1.76: +3 -7 lines
Diff to previous 1.76 (colored) to selected 1.99 (colored)

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.76 / (download) - annotate - [select for diffs], Sun Aug 26 22:45:57 2007 UTC (16 years, 7 months ago) by dyoung
Branch: MAIN
Branch point for: matt-armv6
Changes since 1.75: +3 -3 lines
Diff to previous 1.75 (colored) to selected 1.99 (colored)

Constify: LLADDR -> CLLADDR.  I'm aiming here to make it easier to
identify sockaddr_dl abuse that remains in the kernel, especially
the potential for overwriting memory past the end of a sockaddr_dl
with, e.g., memcpy(LLADDR(), ...).

Revision 1.74.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:54:49 2007 UTC (17 years ago) by rmind
Branch: yamt-idlelwp
Changes since 1.74: +7 -7 lines
Diff to previous 1.74 (colored) next main 1.75 (colored) to selected 1.99 (colored)

Sync with HEAD.

Revision 1.75 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:12 2007 UTC (17 years ago) by christos
Branch: 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, nick-csl-alignment, jmcneill-pm
Changes since 1.74: +7 -7 lines
Diff to previous 1.74 (colored) to selected 1.99 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.68.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:26 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.68.2.1: +5 -31 lines
Diff to previous 1.68.2.1 (colored) to branchpoint 1.68 (colored) to selected 1.99 (colored)

sync with head.

Revision 1.72.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:27 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.72.4.1: +4 -4 lines
Diff to previous 1.72.4.1 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored) to selected 1.99 (colored)

sync with head.

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:21 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.72: +5 -9 lines
Diff to previous 1.72 (colored) next main 1.73 (colored) to selected 1.99 (colored)

Sync with head.

Revision 1.74 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:00 2006 UTC (17 years, 4 months ago) by christos
Branch: 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
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored) to selected 1.99 (colored)

__unused removal on arguments; approved by core.

Revision 1.72.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:03 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.72: +5 -9 lines
Diff to previous 1.72 (colored) to selected 1.99 (colored)

sync with head

Revision 1.73 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:16 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.72: +5 -9 lines
Diff to previous 1.72 (colored) to selected 1.99 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.70.8.2 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:32 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.70.8.1: +2 -24 lines
Diff to previous 1.70.8.1 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored) to selected 1.99 (colored)

sync with head.

Revision 1.70.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:51:26 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.70: +7 -24 lines
Diff to previous 1.70 (colored) next main 1.71 (colored) to selected 1.99 (colored)

sync with head

Revision 1.72 / (download) - annotate - [select for diffs], Thu Sep 7 02:40:32 2006 UTC (17 years, 6 months ago) by dogcow
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.71: +2 -24 lines
Diff to previous 1.71 (colored) to selected 1.99 (colored)

remove more vestiges of CCITT, LLC, HDLC, NS, and NSIP.

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:04:21 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.68: +11 -6 lines
Diff to previous 1.68 (colored) to selected 1.99 (colored)

sync with head.

Revision 1.70.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:26 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.70: +7 -2 lines
Diff to previous 1.70 (colored) next main 1.71 (colored) to selected 1.99 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.70.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:57:52 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.70: +7 -2 lines
Diff to previous 1.70 (colored) to selected 1.99 (colored)

sync with head.

Revision 1.70.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:06 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.70: +7 -2 lines
Diff to previous 1.70 (colored) next main 1.71 (colored) to selected 1.99 (colored)

Sync with head.

Revision 1.70.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:09 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.70: +7 -2 lines
Diff to previous 1.70 (colored) next main 1.71 (colored) to selected 1.99 (colored)

sync with head.

Revision 1.71 / (download) - annotate - [select for diffs], Fri Apr 14 21:49:08 2006 UTC (17 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.70: +7 -2 lines
Diff to previous 1.70 (colored) to selected 1.99 (colored)

Coverity CID 1104: Return early if no mbuf.

Revision 1.70 / (download) - annotate - [select for diffs], Sat Dec 24 20:27:41 2005 UTC (18 years, 3 months ago) by perry
Branch: 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
Changes since 1.69: +6 -6 lines
Diff to previous 1.69 (colored) to selected 1.99 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.69 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:02 2005 UTC (18 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored) to selected 1.99 (colored)

merge ktrace-lwp.

Revision 1.62.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:05:37 2005 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.6: +3 -3 lines
Diff to previous 1.62.2.6 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored) to selected 1.99 (colored)

Sync with HEAD. Here we go again...

Revision 1.68 / (download) - annotate - [select for diffs], Sun May 22 15:54:46 2005 UTC (18 years, 10 months ago) by christos
Branch: 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
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored) to selected 1.99 (colored)

No 0x in front of %p...

Revision 1.65.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:54 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.65: +91 -92 lines
Diff to previous 1.65 (colored) next main 1.66 (colored) to selected 1.99 (colored)

sync with -current

Revision 1.65.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:34:33 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.65.6.1: +60 -60 lines
Diff to previous 1.65.6.1 (colored) to branchpoint 1.65 (colored) next main 1.66 (colored) to selected 1.99 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.62.2.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:43:14 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.5: +60 -60 lines
Diff to previous 1.62.2.5 (colored) to branchpoint 1.62 (colored) to selected 1.99 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.67 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:17 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, 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
Changes since 1.66: +60 -60 lines
Diff to previous 1.66 (colored) to selected 1.99 (colored)

nuke trailing whitespace

Revision 1.65.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:45 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.65: +33 -34 lines
Diff to previous 1.65 (colored) to selected 1.99 (colored)

sync with head.

Revision 1.62.2.5 / (download) - annotate - [select for diffs], Fri Feb 4 11:46:08 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.4: +33 -34 lines
Diff to previous 1.62.2.4 (colored) to branchpoint 1.62 (colored) to selected 1.99 (colored)

Sync with HEAD.

Revision 1.66 / (download) - annotate - [select for diffs], Fri Feb 4 02:10:40 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base2
Changes since 1.65: +33 -34 lines
Diff to previous 1.65 (colored) to selected 1.99 (colored)

de-__P

Revision 1.63.4.1 / (download) - annotate - [select for diffs], Sun Jan 30 13:02:12 2005 UTC (19 years, 2 months ago) by he
Branch: 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
Changes since 1.63: +20 -7 lines
Diff to previous 1.63 (colored) next main 1.64 (colored) to selected 1.99 (colored)

Pull up revision 1.65 (requested by thorpej in ticket #941):
  When adding or deleting multicast addresses, only change
  the address filter if the interface is marked RUNNING.
  Fixes PR#37678.

Revision 1.62.2.4 / (download) - annotate - [select for diffs], Tue Nov 2 07:51:55 2004 UTC (19 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.3: +20 -7 lines
Diff to previous 1.62.2.3 (colored) to branchpoint 1.62 (colored) to selected 1.99 (colored)

Sync with HEAD.

Revision 1.65 / (download) - annotate - [select for diffs], Sat Oct 30 23:34:23 2004 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.64: +20 -7 lines
Diff to previous 1.64 (colored) to selected 1.99 (colored)

When adding/deleting multicast addresses, only whack the address
filter if the interface is marked RUNNING.

Fixes kern/27678.

Revision 1.62.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:29:44 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.2: +2 -2 lines
Diff to previous 1.62.2.2 (colored) to branchpoint 1.62 (colored) to selected 1.99 (colored)

Fix the sync with head I botched.

Revision 1.62.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:47:46 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.1: +4 -4 lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (colored) to selected 1.99 (colored)

Sync with HEAD.

Revision 1.64 / (download) - annotate - [select for diffs], Tue Sep 14 20:20:47 2004 UTC (19 years, 6 months ago) by drochner
Branch: MAIN
Changes since 1.63: +4 -4 lines
Diff to previous 1.63 (colored) to selected 1.99 (colored)

Separate the namespace for default (ie unspecified) locators used
by the isa.c bus driver and the "address/whatever not specified"
argument passed to leaf device drivers.
The former is "ISACF_XXX_DEFAULT" as generaterd by config(8), the latter
"ISA_UNKNOWN_XXX", defined in isavar.h.
This way we save a dependency of every ISA device driver on "locators.h".

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:47:58 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62: +2 -4 lines
Diff to previous 1.62 (colored) to selected 1.99 (colored)

Sync with HEAD

Revision 1.63 / (download) - annotate - [select for diffs], Thu Oct 30 01:58:17 2003 UTC (20 years, 5 months ago) by simonb
Branch: 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
Changes since 1.62: +2 -4 lines
Diff to previous 1.62 (colored) to selected 1.99 (colored)

Remove some assigned-to but otherwise unused variables.

Revision 1.45.2.9 / (download) - annotate - [select for diffs], Tue Jan 7 21:34:33 2003 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.45.2.8: +3 -3 lines
Diff to previous 1.45.2.8 (colored) next main 1.46 (colored) to selected 1.99 (colored)

Sync with HEAD.

Revision 1.62 / (download) - annotate - [select for diffs], Mon Jan 6 13:05:14 2003 UTC (21 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Branch point for: ktrace-lwp
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored) to selected 1.99 (colored)

interrupt with two rs.

Revision 1.45.2.8 / (download) - annotate - [select for diffs], Fri Oct 18 02:42:18 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.2.7: +2 -3 lines
Diff to previous 1.45.2.7 (colored) to selected 1.99 (colored)

Catch up to -current.

Revision 1.53.2.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:39:38 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.53.2.3: +4 -5 lines
Diff to previous 1.53.2.3 (colored) next main 1.54 (colored) to selected 1.99 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.61 / (download) - annotate - [select for diffs], Wed Oct 2 03:10:48 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored) to selected 1.99 (colored)

Fix sizeof and whitespace bug from the script I'm using to do the
CFATTACH_DECL conversion.  (Grumble.)

Revision 1.60 / (download) - annotate - [select for diffs], Wed Oct 2 02:09:18 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.59: +4 -5 lines
Diff to previous 1.59 (colored) to selected 1.99 (colored)

Use CFATTACH_DECL().

Revision 1.59 / (download) - annotate - [select for diffs], Fri Sep 27 20:38:33 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored) to selected 1.99 (colored)

Declare all cfattach structures const.

Revision 1.45.2.7 / (download) - annotate - [select for diffs], Mon Apr 1 07:45:53 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.2.6: +3 -3 lines
Diff to previous 1.45.2.6 (colored) to selected 1.99 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.53.2.3 / (download) - annotate - [select for diffs], Sat Mar 16 16:01:07 2002 UTC (22 years ago) by jdolecek
Branch: kqueue
Changes since 1.53.2.2: +3 -3 lines
Diff to previous 1.53.2.2 (colored) to selected 1.99 (colored)

Catch up with -current.

Revision 1.58 / (download) - annotate - [select for diffs], Tue Mar 5 04:12:58 2002 UTC (22 years ago) by itojun
Branch: 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
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored) to selected 1.99 (colored)

bring in latest ALTQ from kjc.  ALTQify some of the drivers.

Revision 1.45.2.6 / (download) - annotate - [select for diffs], Thu Feb 28 04:13:43 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.2.5: +2 -2 lines
Diff to previous 1.45.2.5 (colored) to selected 1.99 (colored)

Catch up to -current.

Revision 1.45.2.5 / (download) - annotate - [select for diffs], Fri Jan 11 23:39:07 2002 UTC (22 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.2.4: +32 -16 lines
Diff to previous 1.45.2.4 (colored) to selected 1.99 (colored)

More catchup.

Revision 1.53.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:55:30 2002 UTC (22 years, 2 months ago) by thorpej
Branch: kqueue
Changes since 1.53.2.1: +34 -15 lines
Diff to previous 1.53.2.1 (colored) to selected 1.99 (colored)

Sync kqueue branch with -current.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Jan 7 21:47:08 2002 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.56: +32 -16 lines
Diff to previous 1.56 (colored) to selected 1.99 (colored)

Overhaul of the ISA autoconfiguration code to support direct
configuration of devices logically attached to the ISA bus:

* Change the isa_attach_args to have arrays of io, mem, irq, drq
  resources.
* Add a "pnpnames" and a linked list of "pnpcompatnames" to the
  isa_attach_args.  If either of these members are non-NULL,
  direct configuration of the bus is being performed.  Add an
  ISA_DIRECT_CONFIG() macro to test for this.
* Drivers are not allowed to modify the isa_attach_args unless
  direct configuration is not being performed and the probe fucntion
  is returning success.
* Adapt device drivers -- currently, all driver probe routines return
  "no match" if ISA_DIRECT_CONFIG() evaluates to true.

Revision 1.45.2.4 / (download) - annotate - [select for diffs], Wed Nov 14 19:14:49 2001 UTC (22 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.2.3: +4 -1 lines
Diff to previous 1.45.2.3 (colored) to selected 1.99 (colored)

Catch up to -current.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Nov 13 08:01:19 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.55: +4 -1 lines
Diff to previous 1.55 (colored) to selected 1.99 (colored)

add RCSID

Revision 1.45.2.3 / (download) - annotate - [select for diffs], Fri Aug 24 00:09:48 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.2.2: +4 -4 lines
Diff to previous 1.45.2.2 (colored) to selected 1.99 (colored)

Catch up with -current.

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:13:09 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored) to selected 1.99 (colored)

update to -current

Revision 1.55 / (download) - annotate - [select for diffs], Wed Jul 18 20:52:48 2001 UTC (22 years, 8 months ago) by thorpej
Branch: 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
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored) to selected 1.99 (colored)

bcopy -> memcpy

Revision 1.54 / (download) - annotate - [select for diffs], Wed Jul 18 20:42:54 2001 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored) to selected 1.99 (colored)

bcmp -> memcmp

Revision 1.45.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:03:48 2001 UTC (22 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.2.1: +2 -1 lines
Diff to previous 1.45.2.1 (colored) to selected 1.99 (colored)

Catch up to -current.

Revision 1.53 / (download) - annotate - [select for diffs], Tue May 15 14:57:49 2001 UTC (22 years, 10 months ago) by lukem
Branch: MAIN
Branch point for: kqueue
Changes since 1.52: +2 -1 lines
Diff to previous 1.52 (colored) to selected 1.99 (colored)

delint: need ; between case label and }

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:56:41 2001 UTC (22 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45: +47 -23 lines
Diff to previous 1.45 (colored) to selected 1.99 (colored)

Catch up with -current.

Revision 1.35.2.4 / (download) - annotate - [select for diffs], Tue Mar 27 15:32:04 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.35.2.3: +46 -22 lines
Diff to previous 1.35.2.3 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored) to selected 1.99 (colored)

Sync with HEAD.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Mar 23 13:15:27 2001 UTC (23 years ago) by is
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.51: +32 -9 lines
Diff to previous 1.51 (colored) to selected 1.99 (colored)

Move tx chain result handling into iystart(). This way, ww normally only
need an interupt when the hardware hits tx chain end. We switch on one
int per packet sent when we fill up and go into OACTIVE mode.
Measured total interupt savings on large NFS writes: 20%.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Mar 22 14:30:47 2001 UTC (23 years ago) by is
Branch: MAIN
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored) to selected 1.99 (colored)

Oops. We _do_ need to receive broadcasts. At least as long as we want ARP.

Revision 1.36.4.5 / (download) - annotate - [select for diffs], Fri Mar 16 19:44:04 2001 UTC (23 years ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.36.4.4: +29 -9 lines
Diff to previous 1.36.4.4 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored) to selected 1.99 (colored)

Pull up revisions 1.46-1.48 (requested by is):
  Fix bug which causes freezes in the Intel Etherexpress PRO (ISA)
  driver.  Fixes PR#8263.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Mar 16 13:43:32 2001 UTC (23 years ago) by is
Branch: MAIN
Changes since 1.49: +5 -10 lines
Diff to previous 1.49 (colored) to selected 1.99 (colored)

Don't need to use the hash filter for a single individual address; make
sure concurrent receive processing is disabled.

Revision 1.49 / (download) - annotate - [select for diffs], Fri Mar 16 13:02:51 2001 UTC (23 years ago) by is
Branch: MAIN
Changes since 1.48: +3 -17 lines
Diff to previous 1.48 (colored) to selected 1.99 (colored)

Don't abort chain processing on error.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Mar 16 12:01:30 2001 UTC (23 years ago) by is
Branch: MAIN
Changes since 1.47: +24 -7 lines
Diff to previous 1.47 (colored) to selected 1.99 (colored)

Full documentation helps. Among other bugs, remove off-by-one-error when
initializing tx upper limit register.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Mar 15 13:27:31 2001 UTC (23 years ago) by is
Branch: MAIN
Changes since 1.46: +6 -3 lines
Diff to previous 1.46 (colored) to selected 1.99 (colored)

It's one more if the max. coll. bit is set.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Mar 15 13:23:23 2001 UTC (23 years ago) by is
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored) to selected 1.99 (colored)

Thats collisions, not errors!

Revision 1.35.2.3 / (download) - annotate - [select for diffs], Fri Jan 5 17:35:52 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.35.2.2: +7 -2 lines
Diff to previous 1.35.2.2 (colored) to branchpoint 1.35 (colored) to selected 1.99 (colored)

Sync with HEAD

Revision 1.45 / (download) - annotate - [select for diffs], Thu Dec 14 06:59:02 2000 UTC (23 years, 3 months ago) by thorpej
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.44: +8 -3 lines
Diff to previous 1.44 (colored) to selected 1.99 (colored)

ALTQ'ify.

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:03:46 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.35.2.1: +1 -5 lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored) to selected 1.99 (colored)

Sync with HEAD.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:41:16 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.35: +175 -98 lines
Diff to previous 1.35 (colored) to selected 1.99 (colored)

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.44 / (download) - annotate - [select for diffs], Wed Nov 15 01:02:18 2000 UTC (23 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.43: +1 -5 lines
Diff to previous 1.43 (colored) to selected 1.99 (colored)

Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach().

Revision 1.43 / (download) - annotate - [select for diffs], Sun Oct 1 23:32:43 2000 UTC (23 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.42: +2 -14 lines
Diff to previous 1.42 (colored) to selected 1.99 (colored)

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.42 / (download) - annotate - [select for diffs], Wed Aug 9 01:56:33 2000 UTC (23 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.41: +92 -39 lines
Diff to previous 1.41 (colored) to selected 1.99 (colored)

%b -> bitmask_snprintf()

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Sun Jul 23 16:23:19 2000 UTC (23 years, 8 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003
Changes since 1.33: +3 -1 lines
Diff to previous 1.33 (colored) next main 1.34 (colored) to selected 1.99 (colored)

Pull up revision 1.40 (requested by is):
  Flush memory pipeline before installing the multicast list.
  Fixes a problem causing a random address to be installed as
  the last one in the multicast filter list.

Revision 1.36.4.4 / (download) - annotate - [select for diffs], Fri Jul 21 14:30:54 2000 UTC (23 years, 8 months ago) by is
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.36.4.3: +68 -33 lines
Diff to previous 1.36.4.3 (colored) to branchpoint 1.36 (colored) to selected 1.99 (colored)

Pullup from trunk:
big-endian-machine support for if_iy.c (would only work on little endian
machines before).

Revision 1.41 / (download) - annotate - [select for diffs], Fri Jul 21 13:54:38 2000 UTC (23 years, 8 months ago) by is
Branch: MAIN
Changes since 1.40: +68 -33 lines
Diff to previous 1.40 (colored) to selected 1.99 (colored)

- Big endianness cleanup:

a) use stream methods when transferring data via the MEMPORT into/out of
the chips buffer memory
b) use htole16/le16toh when interpreting 16bit values in the chips memory

Both where NOPs on i386 machines, which is why this worked before on the
test machine(s), but would break when on a big-endian machine.

Revision 1.36.4.3 / (download) - annotate - [select for diffs], Fri Jul 14 17:34:01 2000 UTC (23 years, 8 months ago) by is
Branch: netbsd-1-5
Changes since 1.36.4.2: +3 -1 lines
Diff to previous 1.36.4.2 (colored) to branchpoint 1.36 (colored) to selected 1.99 (colored)

Pullup from trunk:
Do a dummy read after writing through the memory access pipeline, to flush
it, before starting the command to install the multicast list.
Without this, the last multicast address installed won't be made active.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Jul 14 10:50:50 2000 UTC (23 years, 8 months ago) by is
Branch: MAIN
Changes since 1.39: +3 -1 lines
Diff to previous 1.39 (colored) to selected 1.99 (colored)

Do a dummy read after writing through the memory access pipeline, to flush
it, before starting the command to install the multicast list.
(We did it right for writing data packets, but failed here.)
Without this, the last multicast address installed won't be made active.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Jun 28 16:27:54 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.38: +1 -3 lines
Diff to previous 1.38 (colored) to selected 1.99 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.36.4.2 / (download) - annotate - [select for diffs], Tue Jun 27 21:46:01 2000 UTC (23 years, 9 months ago) by thorpej
Branch: netbsd-1-5
Changes since 1.36.4.1: +5 -7 lines
Diff to previous 1.36.4.1 (colored) to branchpoint 1.36 (colored) to selected 1.99 (colored)

Pull up rev. 1.38:
s/sc->sc_ethercom.ec_if./ifp->/ where appropriate and formerly forgotten,
for better readability.

Revision 1.36.4.1 / (download) - annotate - [select for diffs], Tue Jun 27 21:45:17 2000 UTC (23 years, 9 months ago) by thorpej
Branch: netbsd-1-5
Changes since 1.36: +7 -4 lines
Diff to previous 1.36 (colored) to selected 1.99 (colored)

Pull up rev. 1.37:
Only "complain" about successful multicast setup if IFF_DEBUG was set.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Jun 23 14:07:03 2000 UTC (23 years, 9 months ago) by is
Branch: MAIN
Changes since 1.37: +5 -7 lines
Diff to previous 1.37 (colored) to selected 1.99 (colored)

s/sc->sc_ethercom.ec_if./ifp->/ where appropriate and formerly forgotten,
for better readability.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jun 23 13:54:50 2000 UTC (23 years, 9 months ago) by is
Branch: MAIN
Changes since 1.36: +7 -4 lines
Diff to previous 1.36 (colored) to selected 1.99 (colored)

Only "complain" about successful multicast setup if IFF_DEBUG was set.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Mar 30 12:45:33 2000 UTC (24 years ago) by augustss
Branch: MAIN
CVS Tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored) to selected 1.99 (colored)

Remove register declarations.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Aug 25 22:46:16 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: thorpej_scsipi
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored) to selected 1.99 (colored)

When padding short packets on transmit, don't include the CRC length
in the computation.  kern/8194.

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:18:03 1999 UTC (24 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored) next main 1.34 (colored) to selected 1.99 (colored)

Sync w/ -current.

Revision 1.34 / (download) - annotate - [select for diffs], Tue May 18 23:52:57 1999 UTC (24 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored) to selected 1.99 (colored)

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.33 / (download) - annotate - [select for diffs], Thu Mar 25 23:21:38 1999 UTC (25 years ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: netbsd-1-4, chs-ubc2
Changes since 1.32: +1 -4 lines
Diff to previous 1.32 (colored) to selected 1.99 (colored)

Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
ourselves.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Feb 28 17:09:26 1999 UTC (25 years, 1 month ago) by explorer
Branch: MAIN
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored) to selected 1.99 (colored)

Update to slightly altered rnd_attach_source() api

Revision 1.31 / (download) - annotate - [select for diffs], Tue Feb 16 23:34:13 1999 UTC (25 years, 1 month ago) by is
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored) to selected 1.99 (colored)

Fix Copyright dates

Revision 1.30 / (download) - annotate - [select for diffs], Tue Feb 16 22:46:58 1999 UTC (25 years, 1 month ago) by is
Branch: MAIN
Changes since 1.29: +22 -17 lines
Diff to previous 1.29 (colored) to selected 1.99 (colored)

Assign my files to The NetBSD Foundation, Inc.

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Fri Dec 11 04:53:01 1998 UTC (25 years, 3 months ago) by kenh
Branch: kenh-if-detach
Changes since 1.29: +21 -17 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.99 (colored)

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.29 / (download) - annotate - [select for diffs], Sat Aug 8 23:51:41 1998 UTC (25 years, 7 months ago) by mycroft
Branch: MAIN
CVS Tags: kenh-if-detach-base, chs-ubc-base, chs-ubc
Branch point for: kenh-if-detach
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored) to selected 1.99 (colored)

Use splnet, not splimp.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Sat Aug 8 03:06:47 1998 UTC (25 years, 7 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.25: +153 -45 lines
Diff to previous 1.25 (colored) next main 1.26 (colored) to selected 1.99 (colored)

Revert cdevsw mmap routines to return int.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jul 31 01:10:13 1998 UTC (25 years, 8 months ago) by rvb
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored) to selected 1.99 (colored)

Flush spurious #endif after ADDMULTI

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jul 30 21:28:15 1998 UTC (25 years, 8 months ago) by is
Branch: MAIN
Changes since 1.26: +8 -1 lines
Diff to previous 1.26 (colored) to selected 1.99 (colored)

Document supported boards near the top of the driver source code.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jul 30 16:40:19 1998 UTC (25 years, 8 months ago) by is
Branch: MAIN
Changes since 1.25: +145 -44 lines
Diff to previous 1.25 (colored) to selected 1.99 (colored)

Multicast support.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Jul 28 16:02:34 1998 UTC (25 years, 8 months ago) by is
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.24: +51 -19 lines
Diff to previous 1.24 (colored) to selected 1.99 (colored)

ic/i82595reg.h

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jul 28 14:44:46 1998 UTC (25 years, 8 months ago) by is
Branch: MAIN
Changes since 1.23: +1 -134 lines
Diff to previous 1.23 (colored) to selected 1.99 (colored)

Remove dead code.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Jul 5 06:49:13 1998 UTC (25 years, 8 months ago) by jonathan
Branch: MAIN
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored) to selected 1.99 (colored)

defopt NS, NSIP.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Jul 5 00:51:21 1998 UTC (25 years, 9 months ago) by jonathan
Branch: MAIN
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored) to selected 1.99 (colored)

defopt INET, NETATALK.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jun 9 07:25:02 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +1 -9 lines
Diff to previous 1.20 (colored) to selected 1.99 (colored)

Nuke __BROKEN_INDIRECT_CONFIG.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Feb 3 16:22:01 1998 UTC (26 years, 1 month ago) by is
Branch: MAIN
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored) to selected 1.99 (colored)

Put a debugging printf inside #ifdef IYDEBUG ... #endif.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Tue Feb 3 16:00:48 1998 UTC (26 years, 1 month ago) by is
Branch: netbsd-1-3
CVS Tags: 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
Changes since 1.16: +3 -1 lines
Diff to previous 1.16 (colored) next main 1.17 (colored) to selected 1.99 (colored)

Put a debugging printf (which was missed on earlier cleanup actions) into
a #ifdef IYDEBUG ... #endif bracket.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jan 12 09:43:39 1998 UTC (26 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +1 -5 lines
Diff to previous 1.18 (colored) to selected 1.99 (colored)

Update for config changes.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Dec 2 09:34:06 1997 UTC (26 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.17: +68 -7 lines
Diff to previous 1.17 (colored) to selected 1.99 (colored)

The iy driver now uses if_media (it was the last one, at last for i386, to use
the historical link? flags for media select)
XXX No pullup request for this. But if sysinst supports explicit media
XXX selection in 1.3, this should be in 1.3 as well.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Nov 30 15:31:26 1997 UTC (26 years, 4 months ago) by drochner
Branch: MAIN
Changes since 1.16: +11 -2 lines
Diff to previous 1.16 (colored) to selected 1.99 (colored)

make it compile without "__BROKEN_INDIRECT_CONFIG"

Revision 1.16 / (download) - annotate - [select for diffs], Mon Oct 20 18:43:14 1997 UTC (26 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-BETA
Branch point for: netbsd-1-3
Changes since 1.15: +5 -3 lines
Diff to previous 1.15 (colored) to selected 1.99 (colored)

Don't panic if we fail to remap i/o or mem space in the attach function.
Instead, print a diagnostic and return.  (Some drivers do this already.)

Also, normalize the diagnostic message, and fix some places where the
printfs were getting ugly.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Oct 18 14:09:52 1997 UTC (26 years, 5 months ago) by drochner
Branch: MAIN
Changes since 1.14: +5 -2 lines
Diff to previous 1.14 (colored) to selected 1.99 (colored)

This driver can't handle wildcarded iobase.
(This is really a config file error.)

Revision 1.14 / (download) - annotate - [select for diffs], Wed Oct 15 06:00:26 1997 UTC (26 years, 5 months ago) by explorer
Branch: MAIN
Changes since 1.13: +18 -1 lines
Diff to previous 1.13 (colored) to selected 1.99 (colored)

Add and/or update rnd_*() hooks

Revision 1.13 / (download) - annotate - [select for diffs], Mon Apr 28 18:30:20 1997 UTC (26 years, 11 months ago) by mycroft
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, bouyer-scsipi
Changes since 1.12: +8 -74 lines
Diff to previous 1.12 (colored) to selected 1.99 (colored)

Oops; forgot to GC the last mbuf allocated when out of clusters.
Also, remove the internal mbuf queue, which is not needed by this driver.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Apr 24 08:05:23 1997 UTC (26 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) to selected 1.99 (colored)

Fix typo in previous.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Apr 24 02:04:39 1997 UTC (26 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +6 -3 lines
Diff to previous 1.10 (colored) to selected 1.99 (colored)

If we fail to allocate a cluster to hold a large packet, simply
drop it rather than using a chain of tiny mbufs.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Mar 15 18:11:47 1997 UTC (27 years ago) by is
Branch: MAIN
Changes since 1.9: +169 -129 lines
Diff to previous 1.9 (colored) to selected 1.99 (colored)

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.9.4.7 / (download) - annotate - [select for diffs], Mon Mar 10 13:46:15 1997 UTC (27 years ago) by is
Branch: is-newarp
Changes since 1.9.4.6: +2 -2 lines
Diff to previous 1.9.4.6 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.99 (colored)

netinet/if_ether.h => netinet/if_inarp.h

Revision 1.9.4.6 / (download) - annotate - [select for diffs], Thu Feb 27 19:17:37 1997 UTC (27 years, 1 month ago) by is
Branch: is-newarp
Changes since 1.9.4.5: +5 -3 lines
Diff to previous 1.9.4.5 (colored) to branchpoint 1.9 (colored) to selected 1.99 (colored)

Removed #include <route.h> and #include <netisr.h>. They're not needed, and
the latter will go away soon.

Revision 1.9.4.5 / (download) - annotate - [select for diffs], Wed Feb 26 21:59:52 1997 UTC (27 years, 1 month ago) by is
Branch: is-newarp
Changes since 1.9.4.4: +9 -2 lines
Diff to previous 1.9.4.4 (colored) to branchpoint 1.9 (colored) to selected 1.99 (colored)

Warn operator when we use the configured IRQ, rather than the one from the
EEPROM.

Revision 1.9.4.4 / (download) - annotate - [select for diffs], Wed Feb 26 21:39:59 1997 UTC (27 years, 1 month ago) by is
Branch: is-newarp
Changes since 1.9.4.3: +110 -91 lines
Diff to previous 1.9.4.3 (colored) to branchpoint 1.9 (colored) to selected 1.99 (colored)

Eliminate use of softc in iyprobe().

Revision 1.9.4.3 / (download) - annotate - [select for diffs], Wed Feb 26 20:01:25 1997 UTC (27 years, 1 month ago) by is
Branch: is-newarp
Changes since 1.9.4.2: +4 -5 lines
Diff to previous 1.9.4.2 (colored) to branchpoint 1.9 (colored) to selected 1.99 (colored)

Fix an edito. While we're here, small cleanup.

Revision 1.9.4.2 / (download) - annotate - [select for diffs], Mon Feb 17 20:05:17 1997 UTC (27 years, 1 month ago) by is
Branch: is-newarp
Changes since 1.9.4.1: +15 -9 lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored) to selected 1.99 (colored)

Prevent lota compiler warnings introduced with the -1.2C Makefile.

Revision 1.9.4.1 / (download) - annotate - [select for diffs], Fri Feb 7 18:03:59 1997 UTC (27 years, 1 month ago) by is
Branch: is-newarp
Changes since 1.9: +43 -38 lines
Diff to previous 1.9 (colored) to selected 1.99 (colored)

Snapshot of new ARP code.

Our old ARP code was hardwired for 6-byte length medium
addresses, while the protocol is designed for any size.

This snapshot contains a first hack at getting rid of
Ethernet specific data structures. The ep driver is updated
(and tested on the PCI bus), the iy and fpa drivers have been
updated, but not real life tested yet.

If you want to test this with other drivers, you have to update
them first yourself, and probably tag the relevant directories.
Better contact me if you want to do this.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Oct 21 22:41:03 1996 UTC (27 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base
Branch point for: is-newarp
Changes since 1.8: +170 -170 lines
Diff to previous 1.8 (colored) to selected 1.99 (colored)

New bus.h implementation/interface:
	- No more distinction between i/o-mapped and memory-mapped
	  devices.  It's all "bus space" now, and space tags
	  differentiate the space with finer grain than the
	  bus chipset tag.
	- Add memory barrier methods.
	- Implement space alloc/free methods.
	- Implement region read/write methods (like memcpy to/from
	  bus space).
This interface provides a better abstraction for dealing with
machine-independent chipset drivers.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Oct 13 01:37:51 1996 UTC (27 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.7: +41 -41 lines
Diff to previous 1.7 (colored) to selected 1.99 (colored)

backout kprintf changes

Revision 1.7 / (download) - annotate - [select for diffs], Thu Oct 10 22:05:04 1996 UTC (27 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.6: +41 -41 lines
Diff to previous 1.6 (colored) to selected 1.99 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jul 25 18:59:12 1996 UTC (27 years, 8 months ago) by is
Branch: MAIN
Changes since 1.5: +232 -179 lines
Diff to previous 1.5 (colored) to selected 1.99 (colored)

Changed the driver to use bus_xxx().

Revision 1.5 / (download) - annotate - [select for diffs], Wed May 22 15:39:43 1996 UTC (27 years, 10 months ago) by is
Branch: MAIN
Changes since 1.4: +20 -3 lines
Diff to previous 1.4 (colored) to selected 1.99 (colored)

Added flags to the iy driver to override the media autodetect mechanism, if
necessary. Added a manpage to document the flags.

Revision 1.4 / (download) - annotate - [select for diffs], Sun May 12 23:52:53 1996 UTC (27 years, 10 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored) to selected 1.99 (colored)

Use intr.h.

Revision 1.3 / (download) - annotate - [select for diffs], Wed May 8 17:29:40 1996 UTC (27 years, 10 months ago) by is
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.99 (colored)

Fix a typo.

Revision 1.2 / (download) - annotate - [select for diffs], Tue May 7 01:55:28 1996 UTC (27 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +11 -11 lines
Diff to previous 1.1 (colored) to selected 1.99 (colored)

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_reset)()
to take a struct ifnet *, rather than a unit number.

Revision 1.1 / (download) - annotate - [select for diffs], Mon May 6 21:36:59 1996 UTC (27 years, 10 months ago) by is
Branch: MAIN
Diff to selected 1.99 (colored)

Add "iy" driver for Ethernet ISA boards using the Intel i82595 chip, e.g.
(and only tested on) Intel Etherexpress PRO. Should work on any i82595 ISA
board which uses an EEPROM for config information; NETBLKID not yet supported.
TODO: change to BUS interface, add multicast support.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>