The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.71.8.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:59 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.71: +4 -9 lines
Diff to previous 1.71 (colored) next main 1.72 (colored)

sync with head

Revision 1.71.12.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:56 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.71: +4 -9 lines
Diff to previous 1.71 (colored) next main 1.72 (colored)

merge to -current.

Revision 1.72 / (download) - annotate - [select for diffs], Thu Feb 2 19:43:06 2012 UTC (3 months, 3 weeks ago) by tls
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, HEAD
Changes since 1.71: +4 -9 lines
Diff to previous 1.71 (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.64.4.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:07 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.64.4.3: +4 -6 lines
Diff to previous 1.64.4.3 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

sync with head.

Revision 1.70.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:41 2010 UTC (23 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.70: +4 -6 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

sync with head

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:46 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.70: +4 -6 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

Sync with HEAD.

Revision 1.71 / (download) - annotate - [select for diffs], Mon Apr 5 07:21:47 2010 UTC (2 years, 1 month 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-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.70: +4 -6 lines
Diff to previous 1.70 (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.64.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:00 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.64.4.2: +16 -45 lines
Diff to previous 1.64.4.2 (colored) to branchpoint 1.64 (colored)

sync with head

Revision 1.70 / (download) - annotate - [select for diffs], Tue Jan 19 22:07:43 2010 UTC (2 years, 4 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.69: +4 -11 lines
Diff to previous 1.69 (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.69 / (download) - annotate - [select for diffs], Sun Dec 6 23:05:39 2009 UTC (2 years, 5 months ago) by dyoung
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.68: +11 -11 lines
Diff to previous 1.68 (colored)

device_t/softc split.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Nov 13 01:14:35 2009 UTC (2 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.67: +5 -27 lines
Diff to previous 1.67 (colored)

Don't use com_activate(), it's gone away.  Thanks to Andreas Wrede
for pointing out that these drivers still used com_activate().

Use device_private().  Join some lines.

Remove superfluous activation hooks.

Add child-detachment hooks (not used, yet).

TBD: device_t/softc split.

Revision 1.64.4.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:41 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.64.4.1: +10 -10 lines
Diff to previous 1.64.4.1 (colored) to branchpoint 1.64 (colored)

sync with head

Revision 1.65.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:09 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.65: +29 -63 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Sync with HEAD.

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

Revision 1.67 / (download) - annotate - [select for diffs], Tue May 12 14:42:18 2009 UTC (3 years 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-nbase, jym-xensuspend-base
Changes since 1.66: +10 -10 lines
Diff to previous 1.66 (colored)

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

Revision 1.64.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:13:14 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.64: +41 -72 lines
Diff to previous 1.64 (colored)

sync with head.

Revision 1.64.12.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:36:21 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.64.12.1: +24 -58 lines
Diff to previous 1.64.12.1 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

Sync with HEAD.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:20 2009 UTC (3 years, 2 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.65: +24 -58 lines
Diff to previous 1.65 (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.64.12.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:18:59 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.64: +19 -16 lines
Diff to previous 1.64 (colored)

Sync with HEAD.

Revision 1.63.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:07 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.63.6.1: +17 -14 lines
Diff to previous 1.63.6.1 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

Sync with HEAD.

Revision 1.64.10.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:48 2008 UTC (3 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.64: +19 -16 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

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

Revision 1.65 / (download) - annotate - [select for diffs], Fri Nov 7 00:20:12 2008 UTC (3 years, 6 months ago) by dyoung
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.64: +19 -16 lines
Diff to previous 1.64 (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.63.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:46 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.63: +7 -7 lines
Diff to previous 1.63 (colored)

Sync with HEAD.

Revision 1.64 / (download) - annotate - [select for diffs], Sat Apr 5 21:31:23 2008 UTC (4 years, 1 month ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: yamt-nfs-mp, nick-hppapmap, haad-dm
Changes since 1.63: +7 -7 lines
Diff to previous 1.63 (colored)

use aprint_*_dev and device_xname

Revision 1.60.16.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:51 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.60.16.1: +7 -30 lines
Diff to previous 1.60.16.1 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)

sync with HEAD

Revision 1.62.6.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:20 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.62: +7 -30 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

Sync with HEAD.

Revision 1.52.4.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:44:28 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.52.4.3: +7 -30 lines
Diff to previous 1.52.4.3 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

sync with head

Revision 1.62.12.1 / (download) - annotate - [select for diffs], Sun Jan 20 17:51:40 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.62: +7 -30 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

Sync with HEAD

Revision 1.63 / (download) - annotate - [select for diffs], Sat Jan 19 22:10:21 2008 UTC (4 years, 4 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, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.62: +7 -30 lines
Diff to previous 1.62 (colored)

Make many ethernet drivers share the common code for MII media
handling, ether_mediastatus() and ether_mediachange().  Check for
a non-ENXIO error return from mii_mediachg().  (ENXIO indicates
that a PHY is suspended.)

This patch shrinks the source code size by 979 lines.  There was
a 5100-byte savings on the NetBSD/i386 kernel configuration, ALL.

I have made a few miscellaneous changes, too:

gem(4): use LIST_EMPTY(), LIST_FOREACH().
mtd(4): handle media ioctls, for a change!
axe(4): do not track link status in sc->axe_link any longer
nfe(4), aue(4), axe(4), udav(4), url(4): do not reset all PHYs
        on a change of media

Except for the change to mtd(4), no functional changes are intended.

XXX This patch affects more architectures than I can feasibly
XXX compile and run.  I have compiled macppc, sparc64, i386.  I
XXX have run the patches on i386 boxen with bnx(4) and sip(4).
XXX Compiling and running on evbmips (MERAKI, ADM5120) is in
XXX progress.

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

sync with HEAD

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Tue Oct 9 13:41:59 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.60: +5 -8 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Sync with head.

Revision 1.60.14.1 / (download) - annotate - [select for diffs], Mon Sep 3 16:48:35 2007 UTC (4 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.60: +5 -8 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Sync with HEAD.

Revision 1.52.4.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:38:04 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.52.4.2: +10 -13 lines
Diff to previous 1.52.4.2 (colored) to branchpoint 1.52 (colored)

sync with head.

Revision 1.60.10.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:21:56 2007 UTC (4 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.60: +5 -8 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Sync with HEAD.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Sep 1 07:32:31 2007 UTC (4 years, 8 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-csl-alignment-base5, matt-armv6-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-merge1, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs, bouyer-xeni386
Changes since 1.61: +3 -6 lines
Diff to previous 1.61 (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.61 / (download) - annotate - [select for diffs], Wed Aug 29 22:33:43 2007 UTC (4 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.60: +4 -4 lines
Diff to previous 1.60 (colored)

Constify: LLADDR() -> CLLADDR().

Revision 1.59.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:56:46 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.59: +7 -7 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync with HEAD.

Revision 1.60 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:28 2007 UTC (5 years, 2 months 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, matt-armv6, jmcneill-pm
Changes since 1.59: +7 -7 lines
Diff to previous 1.59 (colored)

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

Revision 1.52.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:49:18 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.52.4.1: +4 -27 lines
Diff to previous 1.52.4.1 (colored) to branchpoint 1.52 (colored)

sync with head.

Revision 1.57.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:06 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.57.4.1: +4 -4 lines
Diff to previous 1.57.4.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

sync with head.

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:43 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.57: +4 -7 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Sync with head.

Revision 1.59 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:20 2006 UTC (5 years, 6 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.58: +4 -4 lines
Diff to previous 1.58 (colored)

__unused removal on arguments; approved by core.

Revision 1.57.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:39 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.57: +4 -7 lines
Diff to previous 1.57 (colored)

sync with head

Revision 1.58 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:50 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.57: +4 -7 lines
Diff to previous 1.57 (colored)

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

Revision 1.55.2.2 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:39 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.55.2.1: +2 -22 lines
Diff to previous 1.55.2.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

sync with head.

Revision 1.54.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:53:55 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.54: +10 -27 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

sync with head

Revision 1.57 / (download) - annotate - [select for diffs], Thu Sep 7 02:40:33 2006 UTC (5 years, 8 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.56: +2 -22 lines
Diff to previous 1.56 (colored)

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

Revision 1.52.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:06:14 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.52: +11 -8 lines
Diff to previous 1.52 (colored)

sync with head.

Revision 1.55.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:29 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.55: +9 -6 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

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

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:13 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.55: +9 -6 lines
Diff to previous 1.55 (colored)

sync with head.

Revision 1.54.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:24 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.54: +10 -7 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

Sync with head.

Revision 1.55.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:59 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.55: +9 -6 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

sync with head.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Apr 14 17:46:29 2006 UTC (6 years, 1 month 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.55: +9 -6 lines
Diff to previous 1.55 (colored)

Coverity CID 1112: If we did not get a packet, bail out early.

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:28 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

sync with head.

Revision 1.55 / (download) - annotate - [select for diffs], Mon Feb 20 16:50:37 2006 UTC (6 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

Use device_is_active() rather than testing dv_flags for DVF_ACTIVE
directly.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Dec 24 20:27:52 2005 UTC (6 years, 5 months ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

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

Revision 1.53 / (download) - annotate - [select for diffs], Sun Dec 11 12:23:23 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

merge ktrace-lwp.

Revision 1.49.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:13 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.49: +39 -37 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with -current

Revision 1.49.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:35:34 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.49.6.1: +13 -13 lines
Diff to previous 1.49.6.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

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

Revision 1.31.2.8 / (download) - annotate - [select for diffs], Fri Mar 4 16:49:38 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.7: +13 -13 lines
Diff to previous 1.31.2.7 (colored) next main 1.32 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.52 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:43 2005 UTC (7 years, 2 months ago) by perry
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, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, 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, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.51: +13 -13 lines
Diff to previous 1.51 (colored)

nuke trailing whitespace

Revision 1.49.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:49 2005 UTC (7 years, 3 months ago) by yamt
Branch: yamt-km
Changes since 1.49: +28 -26 lines
Diff to previous 1.49 (colored)

sync with head.

Revision 1.31.2.7 / (download) - annotate - [select for diffs], Fri Feb 4 11:47:09 2005 UTC (7 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.6: +28 -26 lines
Diff to previous 1.31.2.6 (colored)

Sync with HEAD.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Feb 4 02:10:45 2005 UTC (7 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base2, matt-timespec
Changes since 1.50: +24 -24 lines
Diff to previous 1.50 (colored)

de-__P

Revision 1.50 / (download) - annotate - [select for diffs], Sun Jan 30 19:30:16 2005 UTC (7 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.49: +6 -4 lines
Diff to previous 1.49 (colored)

Eliminate the use of M_HASFCS.

Revision 1.31.2.6 / (download) - annotate - [select for diffs], Tue Nov 2 07:52:46 2004 UTC (7 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.5: +4 -3 lines
Diff to previous 1.31.2.5 (colored)

Sync with HEAD.

Revision 1.49 / (download) - annotate - [select for diffs], Sat Oct 30 18:10:06 2004 UTC (7 years, 6 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.48: +4 -3 lines
Diff to previous 1.48 (colored)

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

Fixes kern/27678.

Revision 1.31.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:32:21 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.4: +2 -2 lines
Diff to previous 1.31.2.4 (colored)

Fix the sync with head I botched.

Revision 1.31.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:50:23 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.3: +2 -2 lines
Diff to previous 1.31.2.3 (colored)

Sync with HEAD.

Revision 1.31.2.3 / (download) - annotate - [select for diffs], Wed Aug 25 06:58:42 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.2: +79 -105 lines
Diff to previous 1.31.2.2 (colored)

Sync with HEAD.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Aug 12 19:42:03 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.47: +70 -91 lines
Diff to previous 1.47 (colored)

Remove sc_offset.  It's always 0, and if we did want to use it, "that's what
bus_space_subregion() is for".

Revision 1.47 / (download) - annotate - [select for diffs], Thu Aug 12 18:23:50 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.46: +11 -16 lines
Diff to previous 1.46 (colored)

Remove the "known bugs" section.  I've fixed both of them.

Use tsleep() rather than delay().  XXX Most of these are probably unnecessary
anyway.  In particular, I believe that what xi_full_reset() does is totally
gratuitous after power-cycling the socket; it should only be necessary if we
want to use power-saving mode.

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Thu Aug 12 11:42:01 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.1: +328 -757 lines
Diff to previous 1.31.2.1 (colored)

Sync with HEAD.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Aug 9 13:30:16 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.45: +21 -3 lines
Diff to previous 1.45 (colored)

Add a hack that makes the address register programming more reliable on my
CE2 cards.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Aug 9 05:11:33 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.44: +5 -10 lines
Diff to previous 1.44 (colored)

The "savedpage" stuff is nonsense.  Every place we touch the device is
protected by splnet(), so there's no reason to even try.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Aug 9 04:47:40 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.43: +14 -19 lines
Diff to previous 1.43 (colored)

Go online in xi_init(), not xi_full_reset().  Enable/disable receive in
xi_init()/xi_stop().

Revision 1.43 / (download) - annotate - [select for diffs], Sun Aug 8 07:48:46 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.42: +7 -5 lines
Diff to previous 1.42 (colored)

Don't try to use the MII media status if we're not using MII.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Aug 8 07:25:20 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.41: +47 -19 lines
Diff to previous 1.41 (colored)

* Some rearrangement of where the power control hooks are called.
* Don't splnet() in xi_init() -- the callers do that.
* Don't do the enable call in xi_init() -- it should be done only in a process
  context so it can sleep.
* Call xi_start() at the end of xi_init() to restart output.
* If the interface is already up, we only need to call xi_set_address() to
  change state on SIOCSIFFLAGS.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Aug 8 06:37:17 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.40: +5 -9 lines
Diff to previous 1.40 (colored)

Hey, my LEDs work now.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Aug 8 05:56:50 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Set xidebug to 0 by default.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Aug 8 05:56:08 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.38: +272 -709 lines
Diff to previous 1.38 (colored)

Split "xi" into a "xirc" frontend (similar to mhzc; it attaches two child
devices) and a "xi" backend.

My CE2 and CEM2 cards are now probed correctly.  However, there are still
some problems with one model of the CE2, and the CEM2 doesn't seem to get
any modem interrupts.

While I'm at it, fix several bugs:

* The tuple scan for the MAC address was broken in multiple ways.
* xi_intr() did not deal well with a shared interrupt.
* We were setting the wrong page number to look at the receive status.  (How
  did this work???)
* Remove the xi_full_reset() from xi_reset().  Move the parts of
  xi_full_reset() needed to undo the effect of xi_stop() into xi_init().  This
  allows a stop/init pair to DTRT, and much quicker, as used by various
  ioctl()s.
* Set the TRS register before reading the TSO register, as the Linux driver
  does.  While I'm at it, fix the name.
* Fix numerous problems with xi_set_address().  "Where do I begin?"  There's a
  chance that multicast works now, but I haven't tested it.
* Explicitly clear the MSR register, and also force SELECT_MII to 0 if we
  didn't find any PHYs.
* Clean up some cruft that appears to be bogus.

Probably needs more work, but it's a start.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Aug 7 01:44:45 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.37: +24 -52 lines
Diff to previous 1.37 (colored)

Simplify the revision matching code.  This is more like what the current
Linux driver does.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Aug 7 01:18:06 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.36: +5 -2 lines
Diff to previous 1.36 (colored)

Oops; forgot a return.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Aug 7 01:09:26 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.35: +22 -25 lines
Diff to previous 1.35 (colored)

Tighten up the CIS parsing code a little.
Fix a double-free in a failure case.
Turn off the card if it doesn't fully attach.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Aug 6 20:38:09 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.34: +16 -14 lines
Diff to previous 1.34 (colored)

Don't call rnd_detach_source() if we never called rnd_attach_source().
Very minor other cleanup.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:50:15 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31: +41 -56 lines
Diff to previous 1.31 (colored)

Sync with HEAD

Revision 1.34 / (download) - annotate - [select for diffs], Wed Jul 7 06:43:22 2004 UTC (7 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.33: +36 -51 lines
Diff to previous 1.33 (colored)

More cleanup:
* Print "devinfo" in a canonial place (like we do in the SCSI code).
* Use aprint_{error,normal}() during attach.
* More PCMCIA_STR_* removal.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Oct 28 23:26:28 2003 UTC (8 years, 6 months ago) by mycroft
Branch: MAIN
CVS Tags: 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
Changes since 1.32: +8 -8 lines
Diff to previous 1.32 (colored)

Eliminate bogus initializer.
We shouldn't be adding the time stamp to the entropy pool if the interrupt
wasn't for us.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Oct 25 18:29:40 2003 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Fix uninitialized variable warnings

Revision 1.21.4.2 / (download) - annotate - [select for diffs], Mon Jun 30 02:49:41 2003 UTC (8 years, 10 months ago) by grant
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.21.4.1: +3 -4 lines
Diff to previous 1.21.4.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Pull up revision 1.28 (requested by bouyer in ticket #1351):

The driver puts the adapter in promisc mode to receive multicast addresses.
At last set the IFF_PROMISC flag so that the upper layer filters frames
that are not for us.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jun 23 11:01:59 2003 UTC (8 years, 11 months ago) by martin
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.30: +3 -2 lines
Diff to previous 1.30 (colored)

Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Feb 27 07:50:57 2003 UTC (9 years, 2 months ago) by martin
Branch: MAIN
Changes since 1.29: +9 -9 lines
Diff to previous 1.29 (colored)

bus_size_t != bus_addr_t, so use bus_size_t where appropriate.
Fixes PR kern/20482 by John Ruschmeyer.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Feb 22 05:06:36 2003 UTC (9 years, 3 months ago) by tsutsui
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

hz -> Hz

Revision 1.9.2.10 / (download) - annotate - [select for diffs], Thu Dec 19 00:48:16 2002 UTC (9 years, 5 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.9.2.9: +3 -4 lines
Diff to previous 1.9.2.9 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Sync with HEAD.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Dec 10 21:50:32 2002 UTC (9 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.27: +3 -4 lines
Diff to previous 1.27 (colored)

Commit patch I sent to tech-net on 29/09/2002:
The driver puts the adapter in promisc mode to receive multicast addresses.
At last set the IFF_PROMISC flag so that the upper layer filters frames
that are not for us.
Sure, the real fix would be to get multicast filters working ...

Revision 1.9.2.9 / (download) - annotate - [select for diffs], Mon Nov 11 22:11:46 2002 UTC (9 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.2.8: +0 -3 lines
Diff to previous 1.9.2.8 (colored) to branchpoint 1.9 (colored)

Catch up to -current

Revision 1.27 / (download) - annotate - [select for diffs], Wed Oct 23 02:06:11 2002 UTC (9 years, 7 months ago) by perry
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-aftermerge
Changes since 1.26: +2 -5 lines
Diff to previous 1.26 (colored)

remove redundant defines caught by lint

Revision 1.9.2.8 / (download) - annotate - [select for diffs], Fri Oct 18 02:43:33 2002 UTC (9 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.2.7: +11 -14 lines
Diff to previous 1.9.2.7 (colored) to branchpoint 1.9 (colored)

Catch up to -current.

Revision 1.14.2.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:41:27 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.14.2.3: +11 -14 lines
Diff to previous 1.14.2.3 (colored) to branchpoint 1.14 (colored) next main 1.15 (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.26 / (download) - annotate - [select for diffs], Wed Oct 2 16:52:17 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Wed Oct 2 02:56:55 2002 UTC (9 years, 7 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.21: +9 -7 lines
Diff to previous 1.21 (colored)

Pull up revision 1.23 (requested by martin in ticket #891):
Apply a patch from Murray Armfield in PR kern/18372: bring in some changes
from FreeBSD to improve receive performance.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Sep 30 22:27:01 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +4 -9 lines
Diff to previous 1.24 (colored)

Use CFATTACH_DECL().

Revision 1.24 / (download) - annotate - [select for diffs], Fri Sep 27 20:41:05 2002 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

Declare all cfattach structures const.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Sep 22 10:13:32 2002 UTC (9 years, 8 months ago) by martin
Branch: MAIN
Changes since 1.22: +9 -7 lines
Diff to previous 1.22 (colored)

Apply a patch from Murray Armfield in PR kern/18372: bring in some changes
from FreeBSD to improve receive performance.

Revision 1.14.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:48:18 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.14.2.2: +5 -5 lines
Diff to previous 1.14.2.2 (colored) to branchpoint 1.14 (colored)

catch up with -current on kqueue branch

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Thu Jun 20 16:33:56 2002 UTC (9 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

catch up with -current.

Revision 1.9.2.7 / (download) - annotate - [select for diffs], Thu Jun 20 03:46:10 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.2.6: +5 -5 lines
Diff to previous 1.9.2.6 (colored) to branchpoint 1.9 (colored)

Catch up to -current.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jun 1 23:51:01 2002 UTC (9 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field).  whilst it's O(n),
  this mirrors the functionality of SLIST_REMOVE() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
  this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups

Revision 1.21 / (download) - annotate - [select for diffs], Sun May 5 03:19:26 2002 UTC (10 years ago) by takemura
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

Added cast '(u_int16_t *)'.
4th arg of bus_space_read_multi_2 and bus_space_write_multi2 shuld be
u_int16_t *.

Revision 1.9.2.6 / (download) - annotate - [select for diffs], Thu Feb 28 04:14:14 2002 UTC (10 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.2.5: +3 -4 lines
Diff to previous 1.9.2.5 (colored) to branchpoint 1.9 (colored)

Catch up to -current.

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Mon Feb 11 20:10:07 2002 UTC (10 years, 3 months ago) by jdolecek
Branch: kqueue
Changes since 1.14.2.1: +3 -4 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored)

Sync w/ -current.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Jan 12 16:25:15 2002 UTC (10 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, ifpoll, eeh-devprop-base, eeh-devprop
Changes since 1.19: +3 -4 lines
Diff to previous 1.19 (colored)

Call malloc(9) with M_ZERO flag instead of memset() after malloc().

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:57:22 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.14: +31 -19 lines
Diff to previous 1.14 (colored)

Sync kqueue branch with -current.

Revision 1.9.2.5 / (download) - annotate - [select for diffs], Tue Jan 8 00:31:26 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.2.4: +4 -4 lines
Diff to previous 1.9.2.4 (colored) to branchpoint 1.9 (colored)

Catch up to -current.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Dec 15 11:45:11 2001 UTC (10 years, 5 months ago) by soren
Branch: MAIN
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

Use bus_size_t's for bus space read/write offsets.

Revision 1.9.2.4 / (download) - annotate - [select for diffs], Wed Nov 14 19:15:38 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.2.3: +20 -8 lines
Diff to previous 1.9.2.3 (colored) to branchpoint 1.9 (colored)

Catch up to -current.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Nov 13 07:26:33 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.17: +4 -1 lines
Diff to previous 1.17 (colored)

add RCSIDs

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:18:24 2001 UTC (10 years, 6 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.15: +17 -8 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Nov 8 17:05:42 2001 UTC (10 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.16: +5 -2 lines
Diff to previous 1.16 (colored)

PR/14503: Cesar Crusius: Add Xircom XE2000.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Oct 25 20:20:24 2001 UTC (10 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.15: +14 -8 lines
Diff to previous 1.15 (colored)

Commit changes I posted to tech-kern on Oct 14, which makes the ethernet part
of my Xircom RealPort Ethernet 10/100 + Modem (REM56G) work.
The modem part is still not usable (this would need some PCMCIA magic that
I don't know how to do; see my message to tech-kern on Oct 07).
Change to pcmcia_cis.c from OpenBSD.
I checked that this doesn't break a 3com 3C562D (ethernet+modem) which I
also have.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:46:09 2001 UTC (10 years, 7 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.14: +10 -10 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Catch up with -current.

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Wed Sep 26 19:54:57 2001 UTC (10 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.2.2: +10 -10 lines
Diff to previous 1.9.2.2 (colored) to branchpoint 1.9 (colored)

Catch up to -current.
Again.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Sep 26 09:01:30 2001 UTC (10 years, 8 months ago) by chris
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2
Branch point for: thorpej-mips-cache
Changes since 1.14: +10 -10 lines
Diff to previous 1.14 (colored)

Move the call to the xi_pcmcia_identify to before the first use of sc->sc_flags.
Doesn't fix my problem with auto negotiate, but it might help others.

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Fri Aug 24 00:10:29 2001 UTC (10 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.2.1: +196 -72 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored)

Catch up with -current.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jul 7 16:51:47 2001 UTC (10 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, kqueue
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

bzero -> memset

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jul 7 16:50:41 2001 UTC (10 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

bcmp -> memcmp

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jul 7 16:50:14 2001 UTC (10 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +2 -3 lines
Diff to previous 1.11 (colored)

bcopy -> memcpy

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jul 1 01:57:29 2001 UTC (10 years, 10 months ago) by gmcgarry
Branch: MAIN
Changes since 1.10: +193 -68 lines
Diff to previous 1.10 (colored)

Jumbo patch:

- data alignment fix
- kludge around broken multicast by using promisc mode
  (IPv6 router solicitation now works)
- add support as random source
- support device power-up and power-down
- vlan support
- misc. comment and style fixes

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 20:05:18 2001 UTC (10 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

Catch up to -current.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Mon Jun 11 19:17:03 2001 UTC (10 years, 11 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.2.2.1: +2 -1 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Pull up revision 1.10 (requested by gmcgarry):
  Packet includes CRC, so mark it in the mbuf header.  Fixes the
  ``discarding oversize frame (len=1518)'' problem.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jun 10 21:53:08 2001 UTC (10 years, 11 months ago) by gmcgarry
Branch: MAIN
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

Packet includes CRC, so mark it in the mbuf header.  Fixes the
"discarding oversize frame (len=1518)" problem.

Revision 1.6.2.6 / (download) - annotate - [select for diffs], Mon Mar 12 13:31:20 2001 UTC (11 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6.2.5: +6 -6 lines
Diff to previous 1.6.2.5 (colored) next main 1.7 (colored)

Sync with HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Feb 21 21:39:55 2001 UTC (11 years, 3 months ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.8: +6 -6 lines
Diff to previous 1.8 (colored)

make some more constant arrays 'const'

Revision 1.6.2.5 / (download) - annotate - [select for diffs], Thu Jan 18 09:23:31 2001 UTC (11 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6.2.4: +3 -3 lines
Diff to previous 1.6.2.4 (colored)

Sync with head (for UBC+NFS fixes, mostly).

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jan 14 17:39:24 2001 UTC (11 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Use splnet() to block network interrupts, not splimp().

Revision 1.6.2.4 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:23 2001 UTC (11 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6.2.3: +5 -5 lines
Diff to previous 1.6.2.3 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Thu Dec 14 06:29:38 2000 UTC (11 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

ALTQ'ify.

Revision 1.6.2.3 / (download) - annotate - [select for diffs], Wed Nov 22 16:04:38 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6.2.2: +2 -8 lines
Diff to previous 1.6.2.2 (colored)

Sync with HEAD.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Mon Nov 20 11:42:45 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6.2.1: +1633 -0 lines
Diff to previous 1.6.2.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.2.1, Wed Nov 15 01:02:18 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6: +0 -1627 lines
FILE REMOVED

file if_xi.c was added on branch thorpej_scsipi on 2000-11-20 11:42:45 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Wed Nov 15 01:02:18 2000 UTC (11 years, 6 months ago) by thorpej
Branch: MAIN
Branch point for: thorpej_scsipi
Changes since 1.5: +2 -8 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Sun Oct 1 23:32:44 2000 UTC (11 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +6 -1 lines
Diff to previous 1.4 (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.2.2.1 / (download) - annotate - [select for diffs], Wed Aug 9 23:14:52 2000 UTC (11 years, 9 months ago) by gmcgarry
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.2: +111 -40 lines
Diff to previous 1.2 (colored)

Pull up rev 1.3-1.4: (approved by thorpej)

  revision 1.3:
  Improve the model identification and match.  Addresses PR-10485.

  revision 1.4:
  XIDEBUG_CONFIG -> XID_CONFIG.  From R.Massar@Fh-Worms.DE

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jul 31 21:49:47 2000 UTC (11 years, 9 months ago) by gmcgarry
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

XIDEBUG_CONFIG -> XID_CONFIG.  From R.Massar@Fh-Worms.DE

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jul 24 21:50:10 2000 UTC (11 years, 10 months ago) by gmcgarry
Branch: MAIN
Changes since 1.2: +111 -40 lines
Diff to previous 1.2 (colored)

Improve the model identification and match.  Addresses PR-10485.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Thu Jun 22 17:07:46 2000 UTC (11 years, 11 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.2.4.1: +1557 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.2.4.1, Fri Jun 9 08:22:13 2000 UTC (11 years, 11 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.2: +0 -1557 lines
FILE REMOVED

file if_xi.c was added on branch minoura-xpg4dl on 2000-06-22 17:07:46 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jun 9 08:22:13 2000 UTC (11 years, 11 months ago) by gmcgarry
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5, minoura-xpg4dl
Changes since 1.1: +31 -36 lines
Diff to previous 1.1 (colored)

Rename remaining references from xe to xi.  Clean up debug messages.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jun 5 23:14:22 2000 UTC (11 years, 11 months ago) by gmcgarry
Branch: MAIN

New driver for Xircom CreditCard PCMCIA Ethernet.  Replaces xe driver which
didn't work.  Renamed to avoid clash with next68k network 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>