The NetBSD Project

CVS log for src/sys/dev/pci/Attic/if_lmc.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.66.2.1, Mon Jun 10 22:07:16 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.66: +2 -2 lines
FILE REMOVED

Sync with HEAD

Revision 1.64.2.3, Wed Dec 26 14:01:50 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.64.2.2: +2 -2 lines
FILE REMOVED

Sync with HEAD, resolve a few conflicts

Revision 1.69, Wed Dec 12 07:04:06 2018 UTC (5 years, 4 months ago) by maxv
Branch: MAIN
CVS Tags: thorpej-futex-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, isaki-audio2-base, isaki-audio2, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Changes since 1.68: +2 -2 lines
FILE REMOVED

Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.

Revision 1.68 / (download) - annotate - [select for diffs], Sun Dec 9 11:14:02 2018 UTC (5 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.67: +5 -5 lines
Diff to previous 1.67 (colored)

use pci_intr_establish_xname() everywhere

Revision 1.64.2.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:51 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.64.2.1: +3 -3 lines
Diff to previous 1.64.2.1 (colored) to branchpoint 1.64 (colored)

Sync with HEAD

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

Revision 1.67 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:32 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (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.63.6.1 / (download) - annotate - [select for diffs], Tue Aug 7 13:02:31 2018 UTC (5 years, 8 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.63: +43 -10 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

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

	sys/dev/pci/if_lmc.h: revision 1.25
	sys/dev/pci/if_lmc.c: revision 1.65
	doc/TODO.smpnet: revision 1.20

Move txintr_setup() stuff from lmc_interrupt() and do it in ifnet_start().
Now we can use bpf_mtap() in the TX path. Not tested.

Revision 1.64.2.1 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:46 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.64: +43 -10 lines
Diff to previous 1.64 (colored)

Sync with HEAD

Revision 1.66 / (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.65: +3 -3 lines
Diff to previous 1.65 (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.65 / (download) - annotate - [select for diffs], Mon Jun 25 09:32:28 2018 UTC (5 years, 9 months ago) by msaitoh
Branch: MAIN
Changes since 1.64: +43 -10 lines
Diff to previous 1.64 (colored)

 Move txintr_setup() stuff from lmc_interrupt() and do it in ifnet_start().
Now we can use bpf_mtap() in the TX path. Not tested.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Feb 7 06:18:11 2018 UTC (6 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored)

avoid an indentation issue by adding "if (1)".

Revision 1.50.18.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:08 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.50.18.3: +6 -8 lines
Diff to previous 1.50.18.3 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

update from HEAD

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

Sync with HEAD

Revision 1.61.2.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:29 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.61.2.1: +4 -4 lines
Diff to previous 1.61.2.1 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)

Sync with HEAD

Revision 1.63 / (download) - annotate - [select for diffs], Tue Jan 24 09:05:28 2017 UTC (7 years, 2 months ago) by ozaki-r
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-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: netbsd-8
Changes since 1.62: +4 -4 lines
Diff to previous 1.62 (colored)

Defer bpf_mtap in Rx interrupt context to softint

bpf_mtap of some drivers is still called in hardware interrupt context.
We want to run them in softint as well as bpf_mtap of most drivers
(see if_percpuq_softint and if_input).

To this end, bpf_mtap_softint mechanism is implemented; it defers
bpf_mtap processing to a dedicated softint for a target driver.
By using the machanism, we can move bpf_mtap processing to softint
without changing target drivers much while it adds some overhead
on CPU and memory. Once target drivers are changed to softint-based,
we should return to normal bpf_mtap.

Proposed on tech-kern and tech-net

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:33 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 (colored)

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

Revision 1.62 / (download) - annotate - [select for diffs], Thu Dec 15 09:35:24 2016 UTC (7 years, 4 months ago) by ozaki-r
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 (colored)

Annotate bpf_mtap still running in Rx hardware interrupt with "XXX not in softint"

Revision 1.56.2.4 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:04 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.56.2.3: +5 -5 lines
Diff to previous 1.56.2.3 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored)

Sync with HEAD

Revision 1.61 / (download) - annotate - [select for diffs], Fri Jun 10 13:31:43 2016 UTC (7 years, 10 months ago) by ozaki-r
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

Avoid storing a pointer of an interface in a mbuf

Having a pointer of an interface in a mbuf isn't safe if we remove big
kernel locks; an interface object (ifnet) can be destroyed anytime in any
packet processing and accessing such object via a pointer is racy. Instead
we have to get an object from the interface collection (ifindex2ifnet) via
an interface index (if_index) that is stored to a mbuf instead of an
pointer.

The change provides two APIs: m_{get,put}_rcvif_psref that use psref(9)
for sleep-able critical sections and m_{get,put}_rcvif that use
pserialize(9) for other critical sections. The change also adds another
API called m_get_rcvif_NOMPSAFE, that is NOT MP-safe and for transition
moratorium, i.e., it is intended to be used for places where are not
planned to be MP-ified soon.

The change adds some overhead due to psref to performance sensitive paths,
however the overhead is not serious, 2% down at worst.

Proposed on tech-kern and tech-net.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jun 10 13:27:14 2016 UTC (7 years, 10 months ago) by ozaki-r
Branch: MAIN
Changes since 1.59: +5 -5 lines
Diff to previous 1.59 (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.56.2.3 / (download) - annotate - [select for diffs], Sun May 29 08:44:21 2016 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.56.2.2: +3 -3 lines
Diff to previous 1.56.2.2 (colored) to branchpoint 1.56 (colored)

Sync with HEAD

Revision 1.59 / (download) - annotate - [select for diffs], Thu Apr 28 00:16:56 2016 UTC (7 years, 11 months ago) by ozaki-r
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored)

Constify rtentry of if_output

We no longer need to change rtentry below if_output.

The change makes it clear where rtentries are changed (or not)
and helps forthcoming locking (os psrefing) rtentries.

Revision 1.56.2.2 / (download) - annotate - [select for diffs], Fri Apr 22 15:44:13 2016 UTC (7 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.56.2.1: +3 -3 lines
Diff to previous 1.56.2.1 (colored) to branchpoint 1.56 (colored)

Sync with HEAD

Revision 1.58 / (download) - annotate - [select for diffs], Wed Apr 20 09:01:03 2016 UTC (8 years ago) by knakahara
Branch: MAIN
CVS Tags: nick-nhusb-base-20160422
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

IFQ_ENQUEUE refactor (3/3) : eliminate pktattr argument from IFQ_ENQUEUE caller

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:10 2016 UTC (8 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

Sync with HEAD

Revision 1.57 / (download) - annotate - [select for diffs], Tue Feb 9 08:32:11 2016 UTC (8 years, 2 months ago) by ozaki-r
Branch: MAIN
CVS Tags: nick-nhusb-base-20160319
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (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.56 / (download) - annotate - [select for diffs], Fri Nov 28 08:03:46 2014 UTC (9 years, 4 months ago) by ozaki-r
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.55: +2 -4 lines
Diff to previous 1.55 (colored)

Don't call if_free_sadl in ifnet_detach

It'll be called in if_detach below.

Revision 1.50.18.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:42 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.50.18.2: +15 -33 lines
Diff to previous 1.50.18.2 (colored) to branchpoint 1.50 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:54 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.54: +15 -34 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

Rebase.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Jun 5 23:48:16 2014 UTC (9 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-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
Changes since 1.54: +15 -34 lines
Diff to previous 1.54 (colored)

- Implement pktqueue interface for lockless IP input queue.
- Replace ipintrq and ip6intrq with the pktqueue mechanism.
- Eliminate kernel-lock from ipintr() and ip6intr().
- Some preparation work to push softnet_lock out of ipintr().

Discussed on tech-net.

Revision 1.50.8.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:25 2014 UTC (9 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.50.8.1: +7 -6 lines
Diff to previous 1.50.8.1 (colored) to branchpoint 1.50 (colored) next main 1.51 (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.53.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:40 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.53: +4 -3 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

sync with head

Revision 1.54 / (download) - annotate - [select for diffs], Sat Mar 29 19:28:25 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.53: +4 -3 lines
Diff to previous 1.53 (colored)

make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.

Revision 1.50.18.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:18 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.50.18.1: +5 -5 lines
Diff to previous 1.50.18.1 (colored) to branchpoint 1.50 (colored)

resync from head

Revision 1.53 / (download) - annotate - [select for diffs], Sat Mar 30 03:21:06 2013 UTC (11 years ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900
Branch point for: rmind-smpnet
Changes since 1.52: +5 -5 lines
Diff to previous 1.52 (colored)

remove trailing whitespace

Revision 1.50.18.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:16 2012 UTC (11 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.50: +10 -14 lines
Diff to previous 1.50 (colored)

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

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

sync with head

Revision 1.52 / (download) - annotate - [select for diffs], Mon Oct 29 12:51:39 2012 UTC (11 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, agc-symver-base, agc-symver
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

fix device/softc split errors.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Oct 27 17:18:33 2012 UTC (11 years, 5 months ago) by chs
Branch: MAIN
Changes since 1.50: +9 -13 lines
Diff to previous 1.50 (colored)

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

Revision 1.49.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:42 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.49: +2 -3 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with head

Revision 1.50 / (download) - annotate - [select for diffs], Sat Nov 13 13:52:06 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.49: +2 -3 lines
Diff to previous 1.49 (colored)

Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants.  These are provided by sys/param.h now.

Revision 1.41.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:46 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.41.4.2: +569 -2848 lines
Diff to previous 1.41.4.2 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

sync with head

Revision 1.49 / (download) - annotate - [select for diffs], Tue Jan 19 22:07:01 2010 UTC (14 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip
Branch point for: rmind-uvmplock
Changes since 1.48: +3 -6 lines
Diff to previous 1.48 (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.48 / (download) - annotate - [select for diffs], Wed Sep 16 21:14:15 2009 UTC (14 years, 7 months ago) by dyoung
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase
Changes since 1.47: +444 -2720 lines
Diff to previous 1.47 (colored)

Pass lmc(4) through 'unifdef -U__FreeBSD__ -U__bsdi__ -U__OpenBSD__
-U__linux__ -D__NetBSD__ -UNETGRAPH' to shorten this driver by
>2500 lines.  objdump -D does not reveal any differences in the
compiled code.

Revision 1.41.4.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:34 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.41.4.1: +4 -4 lines
Diff to previous 1.41.4.1 (colored) to branchpoint 1.41 (colored)

sync with head

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:25 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with HEAD.

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

Revision 1.47 / (download) - annotate - [select for diffs], Wed May 6 09:25:15 2009 UTC (14 years, 11 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, jymxensuspend-base, jym-xensuspend-base
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored)

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

Revision 1.41.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:57 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.41: +17 -36 lines
Diff to previous 1.41 (colored)

sync with head.

Revision 1.43.4.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:31:07 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.43.4.1: +2 -26 lines
Diff to previous 1.43.4.1 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

Sync with HEAD.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Feb 2 15:57:51 2009 UTC (15 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base
Branch point for: jym-xensuspend
Changes since 1.45: +2 -26 lines
Diff to previous 1.45 (colored)

Remove obsolete #if defined(LKM) block.  PR kern/40513

Revision 1.43.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:18:25 2009 UTC (15 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.43: +10 -8 lines
Diff to previous 1.43 (colored)

Sync with HEAD.

Revision 1.40.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:00 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.40.6.2: +8 -6 lines
Diff to previous 1.40.6.2 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Sync with HEAD.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:35 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.43: +10 -8 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

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

Revision 1.45 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:12 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.44: +6 -6 lines
Diff to previous 1.44 (colored)

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Nov 7 00:20:07 2008 UTC (15 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.43: +6 -4 lines
Diff to previous 1.43 (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.41.6.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:35:06 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.41.6.1: +6 -3 lines
Diff to previous 1.41.6.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.40.6.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:09 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.40.6.1: +7 -4 lines
Diff to previous 1.40.6.1 (colored) to branchpoint 1.40 (colored)

Sync with HEAD.

Revision 1.41.8.2 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:22 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.41.8.1: +6 -3 lines
Diff to previous 1.41.8.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

Sync with head.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Jun 27 00:53:41 2008 UTC (15 years, 9 months ago) by gmcgarry
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, 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, haad-dm-base1
Branch point for: nick-hppapmap, haad-dm
Changes since 1.42: +6 -3 lines
Diff to previous 1.42 (colored)

Convert lmc(4) to mutexes, removing ({ }) gcc extension along the way.

Revision 1.41.6.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:11 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.41: +5 -5 lines
Diff to previous 1.41 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.41.8.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:33:18 2008 UTC (15 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.41: +5 -5 lines
Diff to previous 1.41 (colored)

Sync with head.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:41 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.41: +5 -5 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

sync with head.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jun 12 22:44:47 2008 UTC (15 years, 10 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Changes since 1.41: +5 -5 lines
Diff to previous 1.41 (colored)

use device_lookup_private to get softc

Revision 1.40.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:39 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.40: +5 -5 lines
Diff to previous 1.40 (colored)

Sync with HEAD.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Apr 10 19:13:37 2008 UTC (16 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, hpcarm-cleanup-nbase
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl
Changes since 1.40: +5 -5 lines
Diff to previous 1.40 (colored)

use aprint_*_dev and device_xname

Revision 1.35.8.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:47 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.35.8.2: +7 -7 lines
Diff to previous 1.35.8.2 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

sync with HEAD

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:57 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.36: +8 -8 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync with HEAD.

Revision 1.22.2.7 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:38 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.6: +4 -4 lines
Diff to previous 1.22.2.6 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

sync with head.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Feb 7 01:21:56 2008 UTC (16 years, 2 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)

Start patching up the kernel so that a network driver always has
the opportunity to handle an ioctl before generic ifioctl handling
occurs.  This will ease extending the kernel and sharing of code
between drivers.

First steps:  Make the signature of ifioctl_common() match struct
ifinet->if_ioctl.  Convert SIOCSIFCAP and SIOCSIFMTU to the new
ifioctl() regime, throughout the kernel.

Revision 1.22.2.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:43:56 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.5: +6 -6 lines
Diff to previous 1.22.2.5 (colored) to branchpoint 1.22 (colored)

sync with head

Revision 1.36.8.3 / (download) - annotate - [select for diffs], Thu Jan 10 23:44:20 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.36.8.2: +3 -3 lines
Diff to previous 1.36.8.2 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

Sync with HEAD

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jan 10 08:50:52 2008 UTC (16 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.38: +5 -5 lines
Diff to previous 1.38 (colored)

Straggler: change generic ifmedia_X names to lmc_ifmedia_X.

Revision 1.35.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:53:47 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.35.8.1: +3 -3 lines
Diff to previous 1.35.8.1 (colored) to branchpoint 1.35 (colored)

sync with HEAD

Revision 1.36.8.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:11:12 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.36.8.1: +0 -2 lines
Diff to previous 1.36.8.1 (colored) to branchpoint 1.36 (colored)

Sync with HEAD

Revision 1.38 / (download) - annotate - [select for diffs], Fri Jan 4 21:18:01 2008 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.37: +2 -4 lines
Diff to previous 1.37 (colored)

Start detangling lock.h from intr.h. This is likely to cause short term
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.

Revision 1.36.4.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:52 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.36: +3 -1 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync with head.

Revision 1.36.8.1 / (download) - annotate - [select for diffs], Thu Dec 13 21:55:46 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.36: +3 -1 lines
Diff to previous 1.36 (colored)

Sync with HEAD

Revision 1.36.6.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:32:08 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-kmem
Changes since 1.36: +3 -1 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Dec 11 11:25:51 2007 UTC (16 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, cube-autoconf-base, cube-autoconf
Changes since 1.36: +3 -1 lines
Diff to previous 1.36 (colored)

use __KERNEL_RCSID()

Revision 1.35.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:29:01 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.35: +6 -6 lines
Diff to previous 1.35 (colored)

sync with HEAD

Revision 1.22.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:32:55 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.4: +6 -6 lines
Diff to previous 1.22.2.4 (colored) to branchpoint 1.22 (colored)

sync with head.

Revision 1.35.6.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:46:11 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.35: +6 -6 lines
Diff to previous 1.35 (colored) next main 1.36 (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.35.12.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:39:01 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.35: +6 -6 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Sync with HEAD.

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Tue Oct 23 20:08:59 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.34.2.1: +6 -6 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Sync with head.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:46 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-kmem, vmlocking2, mjf-devfs, bouyer-xeni386
Changes since 1.35: +6 -6 lines
Diff to previous 1.35 (colored)

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

Revision 1.22.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:36:57 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.3: +11 -10 lines
Diff to previous 1.22.2.3 (colored) to branchpoint 1.22 (colored)

sync with head.

Revision 1.34.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:07:36 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Sync with head.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jul 9 21:00:54 2007 UTC (16 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:57:45 2007 UTC (17 years ago) by ad
Branch: vmlocking
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored)

Compile fixes.

Revision 1.32.4.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:18 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.32.4.1: +10 -10 lines
Diff to previous 1.32.4.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Sync with HEAD.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:20 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.33: +10 -10 lines
Diff to previous 1.33 (colored)

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

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:59 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:25 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.2: +2 -2 lines
Diff to previous 1.22.2.2 (colored) to branchpoint 1.22 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Feb 17 22:34:07 2007 UTC (17 years, 2 months ago) by dyoung
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

KNF: de-__P, bzero -> memset, bcmp -> memcmp.  Remove extraneous
   parentheses in return statements.

Cosmetic: don't open-code TAILQ_FOREACH().

Cosmetic: change types of variables to avoid oodles of casts: in
   in6_src.c, avoid casts by changing several route_in6 pointers
   to struct route pointers.  Remove unnecessary casts to caddr_t
   elsewhere.

Pave the way for eliminating address family-specific route caches:
   soon, struct route will not embed a sockaddr, but it will hold
   a reference to an external sockaddr, instead.  We will set the
   destination sockaddr using rtcache_setdst().  (I created a stub
   for it, but it isn't used anywhere, yet.)  rtcache_free() will
   free the sockaddr.  I have extracted from rtcache_free() a helper
   subroutine, rtcache_clear().  rtcache_clear() will "forget" a
   cached route, but it will not forget the destination by releasing
   the sockaddr.  I use rtcache_clear() instead of rtcache_free()
   in rtcache_update(), because rtcache_update() is not supposed
   to forget the destination.

Constify:

   1 Introduce const accessor for route->ro_dst, rtcache_getdst().

   2 Constify the 'dst' argument to ifnet->if_output().  This
     led me to constify a lot of code called by output routines.

   3 Constify the sockaddr argument to protosw->pr_ctlinput.  This
     led me to constify a lot of code called by ctlinput routines.

   4 Introduce const macros for converting from a generic sockaddr
     to family-specific sockaddrs, e.g., sockaddr_in: satocsin6,
     satocsin, et cetera.

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:44 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.1: +6 -4 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored)

sync with head.

Revision 1.30.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:44 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.30.4.1: +11 -11 lines
Diff to previous 1.30.4.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

sync with head.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:30 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.30: +3 -2 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:09 2006 UTC (17 years, 5 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
Branch point for: yamt-idlelwp
Changes since 1.31: +11 -11 lines
Diff to previous 1.31 (colored)

__unused removal on arguments; approved by core.

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:17 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.30: +12 -11 lines
Diff to previous 1.30 (colored)

sync with head

Revision 1.31 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:30 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.30: +12 -11 lines
Diff to previous 1.30 (colored)

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

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:17 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.23: +4642 -3912 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

sync with head

Revision 1.25.2.3 / (download) - annotate - [select for diffs], Sun Sep 3 15:24:22 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.25.2.2: +4 -3 lines
Diff to previous 1.25.2.2 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

sync with head.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Aug 30 16:49:07 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.29: +4 -3 lines
Diff to previous 1.29 (colored)

complete initializers.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:05:04 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22: +7722 -1610 lines
Diff to previous 1.22 (colored)

sync with head.

Revision 1.23.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:36:44 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.23.6.1: +2 -1 lines
Diff to previous 1.23.6.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Sync with head.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:27 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.26: +1203 -1195 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

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

Revision 1.25.2.2 / (download) - annotate - [select for diffs], Wed May 24 10:58:00 2006 UTC (17 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.25.2.1: +1203 -1195 lines
Diff to previous 1.25.2.1 (colored) to branchpoint 1.25 (colored)

sync with head.

Revision 1.29 / (download) - annotate - [select for diffs], Sun May 14 21:45:00 2006 UTC (17 years, 11 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.28: +1 -0 lines
Diff to previous 1.28 (colored)

integrate kauth.

Revision 1.25.4.3 / (download) - annotate - [select for diffs], Thu May 11 23:28:47 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.25.4.2: +1201 -1195 lines
Diff to previous 1.25.4.2 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

sync with head

Revision 1.25.4.2 / (download) - annotate - [select for diffs], Sat May 6 23:31:28 2006 UTC (17 years, 11 months ago) by christos
Branch: elad-kernelauth
Changes since 1.25.4.1: +2 -1 lines
Diff to previous 1.25.4.1 (colored) to branchpoint 1.25 (colored)

- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.23.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:14 2006 UTC (18 years ago) by simonb
Branch: simonb-timecounters
Changes since 1.23: +4640 -3912 lines
Diff to previous 1.23 (colored)

Sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Apr 20 16:51:57 2006 UTC (18 years ago) by christos
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.27: +1172 -1166 lines
Diff to previous 1.27 (colored)

New version from David Boggs.

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:34 2006 UTC (18 years ago) by elad
Branch: elad-kernelauth
Changes since 1.25: +3 -1 lines
Diff to previous 1.25 (colored)

sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Apr 14 22:23:52 2006 UTC (18 years ago) by christos
Branch: MAIN
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

Coverity CID 1122: Add KASSERT to clarify this NULL deref can't happen.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:26 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored)

sync with head.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Mar 10 15:53:55 2006 UTC (18 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, peter-altq-base
Branch point for: peter-altq
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored)

PR/33049: OKANO Takayoshi: Fix the spelling of NetBSD RCS tags.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:07 2006 UTC (18 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.23: +5480 -4760 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Feb 13 14:25:05 2006 UTC (18 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, elad-kernelauth
Changes since 1.24: +4 -0 lines
Diff to previous 1.24 (colored)

Protect parts inside #ifdef _LKM that are only supposed to be there
when building an LKM.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Feb 11 23:00:06 2006 UTC (18 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.23: +5487 -4771 lines
Diff to previous 1.23 (colored)

new version from David Boggs.

Revision 1.20.2.3 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:58 2005 UTC (18 years, 4 months ago) by christos
Branch: ktrace-lwp
Changes since 1.20.2.2: +6998 -1615 lines
Diff to previous 1.20.2.2 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Dec 6 03:01:45 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: ktrace-lwp-base
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.22: +6997 -1614 lines
Diff to previous 1.22 (colored)

New lmc driver from David Boggs

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:01 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.20.2.1: +33 -33 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored)

Sync with HEAD. Here we go again...

Revision 1.22 / (download) - annotate - [select for diffs], Mon May 30 04:35:22 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
Branch point for: yamt-lazymbuf
Changes since 1.21: +33 -33 lines
Diff to previous 1.21 (colored)

- const poisoning
- avoid variable shadowing.

Revision 1.20.10.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:06 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.20: +21 -21 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

sync with -current

Revision 1.20.12.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:35:11 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.20: +21 -21 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

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

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Fri Mar 4 16:45:18 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.20: +21 -21 lines
Diff to previous 1.20 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.21 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:33 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.20: +21 -21 lines
Diff to previous 1.20 (colored)

nuke trailing whitespace

Revision 1.20 / (download) - annotate - [select for diffs], Sat May 3 18:11:36 2003 UTC (20 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, ktrace-lwp, kent-audio2
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

DMA, not dma nor Dma.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jan 20 04:25:46 2003 UTC (21 years, 3 months ago) by simonb
Branch: MAIN
Changes since 1.18: +2 -5 lines
Diff to previous 1.18 (colored)

Remove variable that is only assigned too but not referenced.

Revision 1.6.2.6 / (download) - annotate - [select for diffs], Thu Feb 28 04:14:00 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.6.2.5: +2 -2 lines
Diff to previous 1.6.2.5 (colored) next main 1.7 (colored)

Catch up to -current.

Revision 1.6.2.5 / (download) - annotate - [select for diffs], Fri Jan 11 23:39:20 2002 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.6.2.4: +5 -3 lines
Diff to previous 1.6.2.4 (colored)

More catchup.

Revision 1.12.2.3 / (download) - annotate - [select for diffs], Thu Jan 10 19:56:40 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.12.2.2: +7 -2 lines
Diff to previous 1.12.2.2 (colored) next main 1.13 (colored)

Sync kqueue branch with -current.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jan 4 12:21:24 2002 UTC (22 years, 3 months ago) by martin
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, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Changes since 1.17: +5 -3 lines
Diff to previous 1.17 (colored)

Move net/if_sppp.h to net/if_spppvar.h, create a new net/if_sppp.h
containing the userland visible thinks (i.e. ioctl definitions).

Remove all (both) old ioctls, as they had a brain dead API and made keeping
binary compatibility more or less impossible.

Replace by several new ioctls. While there, remove any arbitrary limits
(resulting from the old, broken ioctls) and allow any length of names
and passwords.

Revision 1.6.2.4 / (download) - annotate - [select for diffs], Wed Nov 14 19:15:16 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.6.2.3: +4 -1 lines
Diff to previous 1.6.2.3 (colored)

Catch up to -current.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Nov 13 07:48:43 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.16: +4 -1 lines
Diff to previous 1.16 (colored)

add RCSID

Revision 1.6.2.3 / (download) - annotate - [select for diffs], Fri Sep 21 22:35:55 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.6.2.2: +271 -30 lines
Diff to previous 1.6.2.2 (colored)

Catch up to -current.

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Thu Sep 13 01:15:53 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.12.2.1: +271 -30 lines
Diff to previous 1.12.2.1 (colored)

Update the kqueue branch to HEAD.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Aug 27 17:47:35 2001 UTC (22 years, 7 months ago) by eeh
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.15: +271 -30 lines
Diff to previous 1.15 (colored)

Make the LMC driver bus_dma and endian clean (big-endian mode does not appear
to work on LMC cards).

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Fri Aug 24 00:10:04 2001 UTC (22 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.6.2.1: +29 -6 lines
Diff to previous 1.6.2.1 (colored)

Catch up with -current.

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

update to -current

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jul 19 19:15:13 2001 UTC (22 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.14: +18 -17 lines
Diff to previous 1.14 (colored)

it seems that pp_{up,down} code does not really help, since (1) sppp_ioctl
calls lcp.{Up,Down} by itself, and (2) as lmc driver uses interrupt to
get the card initialization callback lcp calls from sppp_ioctl
does not really work.  for chdlc pp_{up,down} are not really necessary so
don't bother (#if 0'ed).

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jul 19 16:30:52 2001 UTC (22 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.13: +5 -3 lines
Diff to previous 1.13 (colored)

do not call pp_{up,down} on cisco HDLC mode, it seems that
sys/net/if_spppsubr.c does not like it.
XXX api clarification needed...

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jul 19 15:38:17 2001 UTC (22 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.12: +23 -3 lines
Diff to previous 1.12 (colored)

- on IFF_UP change, inform sys/net/if_spppsubr.c of the change so that
  we can run LCP and subsequent PPP negotiation.
- suppress too noisy printf() for about AIS event (if you remove the cable,
  it will bark forever).
- sppp_dequeue() can return NULL even when sppp_isempty() is false, so check
  it and do not deref NULL pointer.
- sppp_flush() on LMC interface shutdown.
- prepare to change BPF type on the fly (bpf_change_type).

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jul 7 16:46:35 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
Branch point for: kqueue
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

bzero -> memset

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jul 7 16:37:38 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

bcopy -> memcpy

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 20:04:44 2001 UTC (22 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.6: +77 -10 lines
Diff to previous 1.6 (colored)

Catch up to -current.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 13 10:46:04 2001 UTC (22 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

withough -> without

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jun 12 15:17:25 2001 UTC (22 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

receive, not recieve

Revision 1.1.8.3 / (download) - annotate - [select for diffs], Sat Apr 21 17:49:13 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1.8.2: +76 -9 lines
Diff to previous 1.1.8.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Thu Apr 12 07:50:54 2001 UTC (23 years ago) by itojun
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.7: +75 -9 lines
Diff to previous 1.7 (colored)

support T1 card (LMC1200) properly. PR 12331 (patch from openbsd).

change DLT type to cisco HDLC, as lmc driver is hardwired to cisco HDLC
on driver attach.  XXX we may need to revisit this, as if_spppsubr may want
to alter this later.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 9 19:34:40 2001 UTC (23 years ago) by martin
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

Specify the size of the framing added to packets, so if_sppsubr.c can
calculate correct statistics.

Revision 1.1.8.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:04:05 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1.8.1: +3 -3 lines
Diff to previous 1.1.8.1 (colored) to branchpoint 1.1 (colored)

Sync with HEAD.

Revision 1.1.8.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:42:22 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1: +18 -15 lines
Diff to previous 1.1 (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.6 / (download) - annotate - [select for diffs], Tue Nov 14 18:42:56 2000 UTC (23 years, 5 months ago) by thorpej
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

NBPG -> PAGE_SIZE

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jun 28 16:08:44 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.4: +7 -2 lines
Diff to previous 1.4 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jun 26 14:21:12 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.3: +1 -3 lines
Diff to previous 1.3 (colored)

remove/move more mach vm header files:

	<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.

Revision 1.3 / (download) - annotate - [select for diffs], Wed May 3 21:08:02 2000 UTC (23 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.2: +10 -10 lines
Diff to previous 1.2 (colored)

`typedef void ifnet_ret_t;' isn't valid C -- use #define, instead.  Also,
don't abuse the C preprocessor.

Revision 1.1.14.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:35:17 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Pull up to last week's -current.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Dec 4 12:11:13 1999 UTC (24 years, 4 months ago) by ragge
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, chs-ubc2-newbase
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

CL* discarding.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Mar 25 03:32:43 1999 UTC (25 years, 1 month ago) by explorer
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base, chs-ubc2
Branch point for: wrstuden-devbsize, thorpej_scsipi

Commit files for the LAN Media Corporation high speed serial/HSSI/DS3 driver

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>