Up to [cvs.netbsd.org] / src / sys / dev / pci
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.49.4.2 / (download) - annotate - [select for diffs], Wed May 23 10:07:57 2012 UTC (2 days, 21 hours ago) by yamt
Branch: yamt-pagecache
Changes since 1.49.4.1: +4 -2
lines
Diff to previous 1.49.4.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)
sync with head.
Revision 1.50.2.2 / (download) - annotate - [select for diffs], Tue May 22 18:36:33 2012 UTC (3 days, 12 hours ago) by riz
Branch: netbsd-6
Changes since 1.50.2.1: +1 -1
lines
Diff to previous 1.50.2.1 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)
Pull up following revision(s) (requested by khorben in ticket #266): sys/dev/pci/if_wpi.c: patch Fix harmless typo which was previously pulled up.
Revision 1.50.2.1 / (download) - annotate - [select for diffs], Sat May 19 15:28:00 2012 UTC (6 days, 15 hours ago) by riz
Branch: netbsd-6
Changes since 1.50: +4 -2
lines
Diff to previous 1.50 (colored)
Pull up following revision(s) (requested by khorben in ticket #266): sys/dev/pci/if_wpi.c: revision 1.51 No longer wrongly advertise ad-hoc (IBSS) mode as being supported. Fixes kern/46101 No objection from current-users@
Revision 1.51 / (download) - annotate - [select for diffs], Sat May 12 13:40:21 2012 UTC (13 days, 17 hours ago) by khorben
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
HEAD
Changes since 1.50: +4 -2
lines
Diff to previous 1.50 (colored)
No longer wrongly advertise ad-hoc (IBSS) mode as being supported. Fixes kern/46101 No objection from current-users@
Revision 1.49.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:50 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.49: +4 -7
lines
Diff to previous 1.49 (colored)
sync with head
Revision 1.49.8.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:43 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.49: +4 -7
lines
Diff to previous 1.49 (colored) next main 1.50 (colored)
merge to -current.
Revision 1.50 / (download) - annotate - [select for diffs], Mon Jan 30 19:41:21 2012 UTC (3 months, 3 weeks ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base4,
netbsd-6-base,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.49: +4 -7
lines
Diff to previous 1.49 (colored)
Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.
Revision 1.48.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:16 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.48: +3 -3
lines
Diff to previous 1.48 (colored) next main 1.49 (colored)
Sync with HEAD.
Revision 1.46.2.3 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:51 2011 UTC (13 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.46.2.2: +1 -1
lines
Diff to previous 1.46.2.2 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)
sync with head
Revision 1.49 / (download) - annotate - [select for diffs], Sat Apr 2 08:11:31 2011 UTC (13 months, 3 weeks ago) by mbalmer
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp
Branch point for: yamt-pagecache,
jmcneill-usbmp
Changes since 1.48: +3 -3
lines
Diff to previous 1.48 (colored)
Fix misplaced parenthesis. From henning.petersen@t-online.de, thanks.
Revision 1.46.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:45 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.46.2.1: +3 -2
lines
Diff to previous 1.46.2.1 (colored) to branchpoint 1.46 (colored)
sync with head
Revision 1.48 / (download) - annotate - [select for diffs], Mon Nov 15 05:57:39 2010 UTC (18 months, 1 week ago) by uebayasi
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.47: +3 -2
lines
Diff to previous 1.47 (colored)
tsleep needs sys/proc.h.
Revision 1.37.4.6 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:49 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.37.4.5: +9 -12
lines
Diff to previous 1.37.4.5 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)
sync with head.
Revision 1.46.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:35 2010 UTC (23 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.46: +9 -12
lines
Diff to previous 1.46 (colored)
sync with head
Revision 1.45.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:38 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.45: +11 -14
lines
Diff to previous 1.45 (colored) next main 1.46 (colored)
Sync with HEAD.
Revision 1.47 / (download) - annotate - [select for diffs], Mon Apr 5 07:20:28 2010 UTC (2 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1
Changes since 1.46: +9 -12
lines
Diff to previous 1.46 (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.37.4.5 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:49 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.37.4.4: +13 -30
lines
Diff to previous 1.37.4.4 (colored) to branchpoint 1.37 (colored)
sync with head
Revision 1.46 / (download) - annotate - [select for diffs], Wed Feb 24 22:38:01 2010 UTC (2 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.45: +4 -4
lines
Diff to previous 1.45 (colored)
A pointer typedef entails trading too much flexibility to declare const and non-const types, and the kernel uses both const and non-const PMF qualifiers and device suspensors, so change the pmf_qual_t and device_suspensor_t typedefs from "pointers to const" to non-pointer, non-const types.
Revision 1.45 / (download) - annotate - [select for diffs], Tue Jan 19 22:07:02 2010 UTC (2 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.44: +11 -28
lines
Diff to previous 1.44 (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.44 / (download) - annotate - [select for diffs], Fri Jan 8 19:56:52 2010 UTC (2 years, 4 months ago) by dyoung
Branch: MAIN
Changes since 1.43: +4 -4
lines
Diff to previous 1.43 (colored)
Expand PMF_FN_* macros.
Revision 1.37.4.4 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:52 2009 UTC (2 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.37.4.3: +5 -5
lines
Diff to previous 1.37.4.3 (colored) to branchpoint 1.37 (colored)
sync with head
Revision 1.43 / (download) - annotate - [select for diffs], Sat Sep 5 14:09:55 2009 UTC (2 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
matt-premerge-20091211,
jym-xensuspend-nbase
Changes since 1.42: +5 -5
lines
Diff to previous 1.42 (colored)
Invert logic around nested pmf(9) registrations for readability.
Revision 1.37.4.3 / (download) - annotate - [select for diffs], Sat May 16 10:41:35 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.37.4.2: +4 -4
lines
Diff to previous 1.37.4.2 (colored) to branchpoint 1.37 (colored)
sync with head
Revision 1.41.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:27 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.41: +4 -4
lines
Diff to previous 1.41 (colored) next main 1.42 (colored)
Sync with HEAD. Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.42 / (download) - annotate - [select for diffs], Wed May 6 09:25:16 2009 UTC (3 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
jymxensuspend-base,
jym-xensuspend-base
Changes since 1.41: +4 -4
lines
Diff to previous 1.41 (colored)
struct cfdata * -> cfdata_t, no functional changes intended.
Revision 1.37.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:58 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.37.4.1: +128 -49
lines
Diff to previous 1.37.4.1 (colored) to branchpoint 1.37 (colored)
sync with head.
Revision 1.39.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:18:26 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.39: +112 -45
lines
Diff to previous 1.39 (colored) next main 1.40 (colored)
Sync with HEAD.
Revision 1.35.6.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:00 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.35.6.3: +110 -43
lines
Diff to previous 1.35.6.3 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)
Sync with HEAD.
Revision 1.39.2.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:36 2008 UTC (3 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.39: +112 -45
lines
Diff to previous 1.39 (colored) next main 1.40 (colored)
Update haad-dm branch to haad-dm-base2.
Revision 1.39.6.1 / (download) - annotate - [select for diffs], Sun Nov 16 07:38:03 2008 UTC (3 years, 6 months ago) by snj
Branch: netbsd-5
CVS Tags: 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,
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
Changes since 1.39: +110 -45
lines
Diff to previous 1.39 (colored) next main 1.40 (colored)
Pull up following revision(s) (requested by joerg in ticket #62): sys/dev/pci/if_wpivar.h: revision 1.13 sys/dev/pci/if_wpi.c: revision 1.41 Cache wpi firmware in memory, free it only on invalid content or when the last user is detached. This stops wpi from accessing the disk on resume.
Revision 1.41 / (download) - annotate - [select for diffs], Wed Nov 12 18:23:08 2008 UTC (3 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
mjf-devfs2-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.40: +110 -45
lines
Diff to previous 1.40 (colored)
Cache wpi firmware in memory, free it only on invalid content or when the last user is detached. This stops wpi from accessing the disk on resume.
Revision 1.40 / (download) - annotate - [select for diffs], Fri Nov 7 00:20:07 2008 UTC (3 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.39: +4 -2
lines
Diff to previous 1.39 (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.38.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:35:07 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.38: +18 -6
lines
Diff to previous 1.38 (colored) next main 1.39 (colored)
Sync with wrstuden-revivesa-base-2.
Revision 1.38.4.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:38:04 2008 UTC (3 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.38: +18 -6
lines
Diff to previous 1.38 (colored) next main 1.39 (colored)
Sync with head.
Revision 1.35.6.3 / (download) - annotate - [select for diffs], Wed Jul 2 19:08:19 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.35.6.2: +16 -4
lines
Diff to previous 1.35.6.2 (colored) to branchpoint 1.35 (colored)
Sync with HEAD.
Revision 1.39 / (download) - annotate - [select for diffs], Wed Jul 2 03:42:55 2008 UTC (3 years, 10 months ago) by cube
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,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
netbsd-5,
haad-dm
Changes since 1.38: +18 -6
lines
Diff to previous 1.38 (colored)
Protect private mbuf external data storage allocater with a mutex, as it was done in nfe(4), sk(4) and msk(4). And maybe some others. Confirmed to fix the usual issue of data corruption by Jared McNeill.
Revision 1.35.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:41 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.35.6.1: +1 -1
lines
Diff to previous 1.35.6.1 (colored) to branchpoint 1.35 (colored)
Sync with HEAD.
Revision 1.37.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:20 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.37: +3 -3
lines
Diff to previous 1.37 (colored) next main 1.38 (colored)
sync with head.
Revision 1.37.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:44 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.37: +3 -3
lines
Diff to previous 1.37 (colored)
sync with head.
Revision 1.38 / (download) - annotate - [select for diffs], Mon Apr 28 18:33:31 2008 UTC (4 years ago) by drochner
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa,
simonb-wapbl
Changes since 1.37: +3 -3
lines
Diff to previous 1.37 (colored)
fix error handling after m_pullup()
Revision 1.35.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:51 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.35: +4 -7
lines
Diff to previous 1.35 (colored)
Sync with HEAD.
Revision 1.35.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:48 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.35: +4 -7
lines
Diff to previous 1.35 (colored) next main 1.36 (colored)
sync with head.
Revision 1.20.2.4 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:48 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.20.2.3: +88 -16
lines
Diff to previous 1.20.2.3 (colored) next main 1.21 (colored)
sync with HEAD
Revision 1.6.4.9 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:11 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.8: +4 -7
lines
Diff to previous 1.6.4.8 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)
sync with head.
Revision 1.37 / (download) - annotate - [select for diffs], Tue Mar 11 20:45:04 2008 UTC (4 years, 2 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp
Changes since 1.36: +2 -5
lines
Diff to previous 1.36 (colored)
pci_disable_retry() is now a no-op, so don't call it any more.
Revision 1.36 / (download) - annotate - [select for diffs], Fri Feb 29 06:13:39 2008 UTC (4 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.35: +4 -4
lines
Diff to previous 1.35 (colored)
Use PMF_FN_ARGS, PMF_FN_PROTO.
Revision 1.26.2.4 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:58 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.26.2.3: +86 -11
lines
Diff to previous 1.26.2.3 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)
Sync with HEAD.
Revision 1.6.4.8 / (download) - annotate - [select for diffs], Mon Jan 21 09:44:04 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.7: +103 -44
lines
Diff to previous 1.6.4.7 (colored) to branchpoint 1.6 (colored)
sync with head
Revision 1.33.2.2 / (download) - annotate - [select for diffs], Sat Jan 19 12:15:11 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.33.2.1: +1 -3
lines
Diff to previous 1.33.2.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)
Sync with HEAD
Revision 1.35 / (download) - annotate - [select for diffs], Sat Jan 19 03:45:08 2008 UTC (4 years, 4 months ago) by simonb
Branch: MAIN
CVS Tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Branch point for: mjf-devfs2,
keiichi-mipv6
Changes since 1.34: +3 -5
lines
Diff to previous 1.34 (colored)
Use M_80211_NODE as malloc type for a 80211 node as rest of net80211 code does, instead of M_DEVBUF. Fixes panics if KMEMSTATS are enabled. Also use M_ZERO instead of memset on malloc()'s results.
Revision 1.33.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 23:44:24 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.33: +85 -8
lines
Diff to previous 1.33 (colored)
Sync with HEAD
Revision 1.34 / (download) - annotate - [select for diffs], Wed Jan 9 20:15:40 2008 UTC (4 years, 4 months ago) by degroote
Branch: MAIN
Changes since 1.33: +85 -8
lines
Diff to previous 1.33 (colored)
Add some sysctl to retrieve the radio state (and the debug level). While here, fixe the return value in case where radio is off (suggested by joerg@).
Revision 1.20.2.3 / (download) - annotate - [select for diffs], Wed Jan 9 01:53:51 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.20.2.2: +135 -185
lines
Diff to previous 1.20.2.2 (colored)
sync with HEAD
Revision 1.26.2.3 / (download) - annotate - [select for diffs], Thu Dec 27 00:45:18 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.26.2.2: +19 -35
lines
Diff to previous 1.26.2.2 (colored) to branchpoint 1.26 (colored)
Sync with HEAD.
Revision 1.32.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:59 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.32: +19 -35
lines
Diff to previous 1.32 (colored) next main 1.33 (colored)
Sync with head.
Revision 1.32.4.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:32:14 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-kmem
Changes since 1.32: +19 -35
lines
Diff to previous 1.32 (colored) next main 1.33 (colored)
sync with head.
Revision 1.33 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:10 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
vmlocking2-base3,
matt-armv6-base,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.32: +19 -35
lines
Diff to previous 1.32 (colored)
Merge jmcneill-pm branch.
Revision 1.26.2.2 / (download) - annotate - [select for diffs], Sat Dec 8 18:19:43 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.26.2.1: +16 -6
lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored)
Sync with HEAD.
Revision 1.17.4.15 / (download) - annotate - [select for diffs], Sat Dec 8 16:21:29 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.17.4.14: +4 -4
lines
Diff to previous 1.17.4.14 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)
Rename pnp(9) -> pmf(9), as requested by many.
Revision 1.6.4.7 / (download) - annotate - [select for diffs], Fri Dec 7 17:30:25 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.6: +119 -153
lines
Diff to previous 1.6.4.6 (colored) to branchpoint 1.6 (colored)
sync with head
Revision 1.17.4.14 / (download) - annotate - [select for diffs], Mon Dec 3 16:14:36 2007 UTC (4 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.17.4.13: +13 -2
lines
Diff to previous 1.17.4.13 (colored) to branchpoint 1.17 (colored)
Sync with HEAD.
Revision 1.17.4.13 / (download) - annotate - [select for diffs], Sat Dec 1 18:03:01 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.17.4.12: +3 -3
lines
Diff to previous 1.17.4.12 (colored) to branchpoint 1.17 (colored)
Sync with HEAD.
Revision 1.32 / (download) - annotate - [select for diffs], Sat Dec 1 18:02:42 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base
Branch point for: yamt-kmem,
vmlocking2
Changes since 1.31: +3 -3
lines
Diff to previous 1.31 (colored)
Prefix the regulatory domain and address output with the device name.
Revision 1.31 / (download) - annotate - [select for diffs], Wed Nov 28 22:51:49 2007 UTC (4 years, 5 months ago) by degroote
Branch: MAIN
Changes since 1.30: +13 -2
lines
Diff to previous 1.30 (colored)
In wpi_init, check for the status of radio switch and print a useful message in this case.
Revision 1.17.4.12 / (download) - annotate - [select for diffs], Tue Nov 27 19:37:11 2007 UTC (4 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.17.4.11: +4 -5
lines
Diff to previous 1.17.4.11 (colored) to branchpoint 1.17 (colored)
Sync with HEAD. amd64 Xen support needs testing.
Revision 1.30 / (download) - annotate - [select for diffs], Fri Nov 23 22:27:02 2007 UTC (4 years, 6 months ago) by plunky
Branch: MAIN
Changes since 1.29: +3 -2
lines
Diff to previous 1.29 (colored)
when using CFATTACH_DECL_NEW(), we must remember to record the device_t if we wish to use it. sc->sc_dev = self;
Revision 1.29 / (download) - annotate - [select for diffs], Fri Nov 23 19:47:27 2007 UTC (4 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.28: +3 -5
lines
Diff to previous 1.28 (colored)
If memory for the firmware image couldn't be allocated, print only one error message.
Revision 1.17.4.11 / (download) - annotate - [select for diffs], Wed Nov 21 21:55:30 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.17.4.10: +102 -147
lines
Diff to previous 1.17.4.10 (colored) to branchpoint 1.17 (colored)
Sync with HEAD.
Revision 1.26.2.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:48:12 2007 UTC (4 years, 6 months ago) by mjf
Branch: mjf-devfs
Changes since 1.26: +108 -156
lines
Diff to previous 1.26 (colored)
Sync with HEAD.
Revision 1.24.4.3 / (download) - annotate - [select for diffs], Sun Nov 18 19:35:34 2007 UTC (4 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.24.4.2: +104 -148
lines
Diff to previous 1.24.4.2 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)
Sync with HEAD
Revision 1.28 / (download) - annotate - [select for diffs], Fri Nov 16 00:13:32 2007 UTC (4 years, 6 months ago) by degroote
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2,
bouyer-xenamd64-base
Changes since 1.27: +106 -150
lines
Diff to previous 1.27 (colored)
Use device_t instead of struct device* and use associated functions Use callout_setfunc and callout_scheduler instead of callout_reset No functionnal change expected
Revision 1.6.4.6 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:23 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.5: +4 -8
lines
Diff to previous 1.6.4.5 (colored) to branchpoint 1.6 (colored)
sync with head.
Revision 1.24.4.2 / (download) - annotate - [select for diffs], Tue Nov 13 16:01:22 2007 UTC (4 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.24.4.1: +2 -6
lines
Diff to previous 1.24.4.1 (colored) to branchpoint 1.24 (colored)
Sync with HEAD
Revision 1.17.4.10 / (download) - annotate - [select for diffs], Sun Nov 11 16:47:42 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.17.4.9: +4 -8
lines
Diff to previous 1.17.4.9 (colored) to branchpoint 1.17 (colored)
Sync with HEAD.
Revision 1.20.2.2 / (download) - annotate - [select for diffs], Thu Nov 8 10:59:55 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.20.2.1: +4 -8
lines
Diff to previous 1.20.2.1 (colored)
sync with -HEAD
Revision 1.27 / (download) - annotate - [select for diffs], Wed Nov 7 00:23:19 2007 UTC (4 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.26: +4 -8
lines
Diff to previous 1.26 (colored)
Merge from vmlocking: - pool_cache changes. - Debugger/procfs locking fixes. - Other minor changes.
Revision 1.20.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:29:11 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.20: +63 -28
lines
Diff to previous 1.20 (colored)
sync with HEAD
Revision 1.17.4.9 / (download) - annotate - [select for diffs], Tue Nov 6 14:27:26 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.17.4.8: +23 -16
lines
Diff to previous 1.17.4.8 (colored) to branchpoint 1.17 (colored)
Refactor PNP API: - Make suspend/resume directly a device functionality. It consists of three layers (class logic, device logic, bus logic), all of them being optional. This replaces D0/D3 transitions. - device_is_active returns true if the device was not disabled and was not suspended (even partially), device_is_enabled returns true if the device was enabled. - Change pnp_global_transition into pnp_system_suspend and pnp_system_resume. Before running any suspend/resume handlers, check that all currently attached devices support power management and bail out otherwise. The latter is not done for the shutdown/panic case. - Make the former bus-specific generic network handlers a class handler. - Make PNP message like volume up/down/toogle PNP events. Each device can register what events they are interested in and whether the handler should be global or not. - Introduce device_active API for devices to mark themselve in use from either the system or the device. Use this to implement the idle handling for audio and input devices. This is intended to replace most ad-hoc watchdogs as well. - Fix somes situations in which audio resume would lose mixer settings. - Make USB host controllers better deal with suspend in the light of shared interrupts. - Flush filesystem cache on suspend. - Flush disk caches on suspend. Put ATA disks into standby on suspend as well. - Adopt drivers to use the new PNP API. - Fix a critical bug in the generic cardbus layer that made D0->D3 break. - Fix ral(4) to set if_stop. - Convert cbb(4) to the new PNP API. - Apply the PCI Express SCI fix on resume again.
Revision 1.6.4.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:33:07 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.4: +10 -10
lines
Diff to previous 1.6.4.4 (colored) to branchpoint 1.6 (colored)
sync with head.
Revision 1.17.4.8 / (download) - annotate - [select for diffs], Fri Oct 26 15:46:27 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.17.4.7: +10 -10
lines
Diff to previous 1.17.4.7 (colored) to branchpoint 1.17 (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.24.4.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:39:07 2007 UTC (4 years, 7 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.24: +10 -10
lines
Diff to previous 1.24 (colored)
Sync with HEAD.
Revision 1.9.2.7 / (download) - annotate - [select for diffs], Tue Oct 23 20:09:05 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.9.2.6: +4 -4
lines
Diff to previous 1.9.2.6 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)
Sync with head.
Revision 1.26 / (download) - annotate - [select for diffs], Sun Oct 21 16:47:27 2007 UTC (4 years, 7 months ago) by degroote
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs
Changes since 1.25: +8 -8
lines
Diff to previous 1.25 (colored)
802.11 header may have different sizes. Deals correctly with this.
Revision 1.25 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:49 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.24: +4 -4
lines
Diff to previous 1.24 (colored)
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
Revision 1.9.2.6 / (download) - annotate - [select for diffs], Tue Oct 9 13:41:48 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.9.2.5: +56 -21
lines
Diff to previous 1.9.2.5 (colored) to branchpoint 1.9 (colored)
Sync with head.
Revision 1.17.4.7 / (download) - annotate - [select for diffs], Mon Oct 1 05:37:46 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.17.4.6: +7 -14
lines
Diff to previous 1.17.4.6 (colored) to branchpoint 1.17 (colored)
Extend device API by device_power_private and device_power_set_private. The latter is a temporary mean until the pnp_register API itself is overhault. This functions allow a generic power handler to store its state independent of the driver. Use this and revamp the PCI power handling. Pretty much all PCI devices had power handlers that did the same thing, generalize this in pci_generic_power_register/deregister and the handler. This interface offers callbacks for the drivers to save and restore state on transistions. After a long discussion with jmcneill@ it was considered to be powerful enough until evidence is shown that devices can handle D1/D2 with less code and higher speed than without the full save/restore. The generic code is carefully written to handle device without PCI-PM support and ensure that the correct registers are written to when D3 loses all state. Reimplement the generic PCI network device handling on top of PCI generic power handling. Introduce pci_disable_retry as used and implemented locally at least by ath(4) and iwi(4). Use it in this drivers to restore behaviour from before the introduction of generic PCI network handling. Convert all PCI drivers that were using pnp_register to the new framework. The only exception is vga(4) as it is commonly used as console device. Add a note therein that this should be fixed later.
Revision 1.6.6.2 / (download) - annotate - [select for diffs], Sun Sep 30 03:39:06 2007 UTC (4 years, 7 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.6.6.1: +70 -8
lines
Diff to previous 1.6.6.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)
Catch up on netbsd-4 as of a few days ago.
Revision 1.6.2.3 / (download) - annotate - [select for diffs], Thu Sep 27 15:02:10 2007 UTC (4 years, 7 months ago) by xtraeme
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
matt-nb4-arm-base,
matt-nb4-arm
Changes since 1.6.2.2: +68 -6
lines
Diff to previous 1.6.2.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)
Pull up following revision(s) (requested by degroote in ticket #860): sys/dev/pci/if_wpivar.h: revision 1.7 (via patch) sys/dev/pci/if_wpi.c: revision 1.18 (via patch) sys/dev/pci/if_wpi.c: revision 1.19 (via patch) sys/dev/pci/if_wpi.c: revision 1.23 (via patch) Call wpi_stop at the beginning of wpi_init so we are sure that wpi is really stopped (in particular interrupt are disabled). Fix possible "packet corruption" which appears on high load Fix scanning code for wpi based on the iwi code. Keep track of the status of the scan. On a transition IEEE80211_S_SCAN -> IEEE80211_S_SCAN, don't stop the previous scan, finish the current scan. When we receive some frames in the IEEE80211_S_SCAN state, set current_channel based on the value advertised in beacons or probre reponse. Moreover, it fixes WPA issues for me.
Revision 1.17.4.6 / (download) - annotate - [select for diffs], Tue Sep 4 20:49:34 2007 UTC (4 years, 8 months ago) by degroote
Branch: jmcneill-pm
Changes since 1.17.4.5: +4 -50
lines
Diff to previous 1.17.4.5 (colored) to branchpoint 1.17 (colored)
Convert wpi_power to use pci_net_generic_power. With this, I can use the card after resume.
Revision 1.17.4.5 / (download) - annotate - [select for diffs], Mon Sep 3 16:48:20 2007 UTC (4 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.17.4.4: +7 -21
lines
Diff to previous 1.17.4.4 (colored) to branchpoint 1.17 (colored)
Sync with HEAD.
Revision 1.6.4.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:37:06 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.3: +729 -419
lines
Diff to previous 1.6.4.3 (colored) to branchpoint 1.6 (colored)
sync with head.
Revision 1.16.2.2 / (download) - annotate - [select for diffs], Mon Sep 3 10:21:04 2007 UTC (4 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.16.2.1: +74 -27
lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)
Sync with HEAD.
Revision 1.6.6.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:04:34 2007 UTC (4 years, 8 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.6: +805 -510
lines
Diff to previous 1.6 (colored)
Sync w/ NetBSD-4-RC_1
Revision 1.17.4.4 / (download) - annotate - [select for diffs], Sun Sep 2 12:50:36 2007 UTC (4 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.17.4.3: +51 -2
lines
Diff to previous 1.17.4.3 (colored) to branchpoint 1.17 (colored)
Sync with HEAD.
Revision 1.24 / (download) - annotate - [select for diffs], Sun Sep 2 12:18:05 2007 UTC (4 years, 8 months ago) by degroote
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
nick-csl-alignment-base5
Branch point for: bouyer-xenamd64
Changes since 1.23: +3 -13
lines
Diff to previous 1.23 (colored)
The service queue isn't used anymore so don't allocate it. It saves a bit of memory and reduces diff with other BSD.
Revision 1.23 / (download) - annotate - [select for diffs], Sun Sep 2 11:37:30 2007 UTC (4 years, 8 months ago) by degroote
Branch: MAIN
Changes since 1.22: +51 -2
lines
Diff to previous 1.22 (colored)
Fix scanning code for wpi based on the iwi code. Keep track of the status of the scan. On a transition IEEE80211_S_SCAN -> IEEE80211_S_SCAN, don't stop the previous scan, finish the current scan. When we receive some frames in the IEEE80211_S_SCAN state, set current_channel based on the value advertised in beacons or probre reponse. Moreover, it fixes WPA issues for me.
Revision 1.9.2.5 / (download) - annotate - [select for diffs], Sat Sep 1 12:56:47 2007 UTC (4 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.9.2.4: +4 -8
lines
Diff to previous 1.9.2.4 (colored) to branchpoint 1.9 (colored)
Update for pool_cache API changes.
Revision 1.22 / (download) - annotate - [select for diffs], Sat Sep 1 07:38:16 2007 UTC (4 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.21: +3 -4
lines
Diff to previous 1.21 (colored)
Instead of IF_POLL()'ing and IF_DEQUEUE()'ing, just IF_DEQUEUE().
Revision 1.21 / (download) - annotate - [select for diffs], Sat Sep 1 07:32:30 2007 UTC (4 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.20: +4 -7
lines
Diff to previous 1.20 (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.20 / (download) - annotate - [select for diffs], Sun Aug 26 22:45:58 2007 UTC (4 years, 9 months ago) by dyoung
Branch: MAIN
Branch point for: matt-armv6
Changes since 1.19: +3 -3
lines
Diff to previous 1.19 (colored)
Constify: LLADDR -> CLLADDR. I'm aiming here to make it easier to identify sockaddr_dl abuse that remains in the kernel, especially the potential for overwriting memory past the end of a sockaddr_dl with, e.g., memcpy(LLADDR(), ...).
Revision 1.9.2.4 / (download) - annotate - [select for diffs], Mon Aug 20 18:37:16 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.9.2.3: +115 -110
lines
Diff to previous 1.9.2.3 (colored) to branchpoint 1.9 (colored)
Sync with HEAD.
Revision 1.17.4.3 / (download) - annotate - [select for diffs], Thu Aug 16 11:03:11 2007 UTC (4 years, 9 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.17.4.2: +20 -8
lines
Diff to previous 1.17.4.2 (colored) to branchpoint 1.17 (colored)
Sync with HEAD.
Revision 1.19 / (download) - annotate - [select for diffs], Wed Aug 15 18:11:14 2007 UTC (4 years, 9 months ago) by degroote
Branch: MAIN
Changes since 1.18: +20 -8
lines
Diff to previous 1.18 (colored)
Fix possible "packet corruption" which appears on high load
Revision 1.16.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:33 2007 UTC (4 years, 9 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.16: +97 -104
lines
Diff to previous 1.16 (colored)
Sync with HEAD.
Revision 1.17.4.2 / (download) - annotate - [select for diffs], Thu Aug 9 02:37:11 2007 UTC (4 years, 9 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.17.4.1: +3 -2
lines
Diff to previous 1.17.4.1 (colored) to branchpoint 1.17 (colored)
Sync with HEAD.
Revision 1.18.2.2 / (download) - annotate - [select for diffs], Sat Aug 4 18:24:25 2007 UTC (4 years, 9 months ago) by degroote
Branch: matt-mips64
Changes since 1.18.2.1: +3146 -0
lines
Diff to previous 1.18.2.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)
Call wpi_stop at the beginning of wpi_init so we are sure that wpi is really stopped (in particular interrupt are disabled).
Revision 1.18.2.1, Sat Aug 4 18:24:24 2007 UTC (4 years, 9 months ago) by degroote
Branch: matt-mips64
Changes since 1.18: +0 -3146
lines
FILE REMOVED
file if_wpi.c was added on branch matt-mips64 on 2007-08-04 18:24:25 +0000
Revision 1.18 / (download) - annotate - [select for diffs], Sat Aug 4 18:24:24 2007 UTC (4 years, 9 months ago) by degroote
Branch: MAIN
CVS Tags: matt-mips64-base
Branch point for: matt-mips64
Changes since 1.17: +3 -2
lines
Diff to previous 1.17 (colored)
Call wpi_stop at the beginning of wpi_init so we are sure that wpi is really stopped (in particular interrupt are disabled).
Revision 1.17.4.1 / (download) - annotate - [select for diffs], Fri Aug 3 22:17:19 2007 UTC (4 years, 9 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.17: +53 -22
lines
Diff to previous 1.17 (colored)
Pull in power management changes from private branch.
Revision 1.6.2.2 / (download) - annotate - [select for diffs], Fri Jul 27 10:12:57 2007 UTC (4 years, 10 months ago) by liamjfoy
Branch: netbsd-4
CVS Tags: netbsd-4-0-RC1
Changes since 1.6.2.1: +805 -510
lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored)
Pullup requested by degroote in ticket 795: Rewrite of the rbuf management Sync with the last OpenBSD driver Use the last firmware available from Intel (2.4.14). Use legal limitations and Tx regulation embedded in the eeprom. Rewrite the way we handle the firmware. Pullup the following revisions of this files sys/dev/pci/if_wpi.c rev 1.7 1.8 1.10 1.12 1.13 1.15 1.16 1.17 via patch sys/dev/pci/if_wpireg.h rev 1.3 1.4 1.5 via patch sys/dev/pci/if_wpivar.h rev 1.3 1.5 1.6 via patch
Revision 1.17 / (download) - annotate - [select for diffs], Wed Jul 18 18:49:16 2007 UTC (4 years, 10 months ago) by degroote
Branch: MAIN
CVS Tags: hpcarm-cleanup
Branch point for: jmcneill-pm
Changes since 1.16: +96 -104
lines
Diff to previous 1.16 (colored)
change firmware loading code to adopt the new 2.14.4 firmware layout (from OpenBSD). While here, remove some dead code I added when I ported the code from OpenBSD. IMPORTANT : You must download the 2.14.4 firmware or update your sysutils/wpi-firmware2 to the last revision (2.14.4) or the driver will stop working.
Revision 1.9.2.3 / (download) - annotate - [select for diffs], Sun Jul 15 15:52:47 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.9.2.2: +4 -4
lines
Diff to previous 1.9.2.2 (colored) to branchpoint 1.9 (colored)
Sync with head.
Revision 1.9.2.2 / (download) - annotate - [select for diffs], Sun Jul 15 13:21:35 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.9.2.1: +678 -408
lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored)
Sync with head.
Revision 1.9.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:07:47 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.9: +678 -408
lines
Diff to previous 1.9 (colored) next main 1.10 (colored)
Sync with head.
Revision 1.16 / (download) - annotate - [select for diffs], Wed Jul 11 17:51:07 2007 UTC (4 years, 10 months ago) by degroote
Branch: MAIN
CVS Tags: nick-csl-alignment-base
Branch point for: nick-csl-alignment
Changes since 1.15: +4 -4
lines
Diff to previous 1.15 (colored)
Fix more build issues on amd64 (exposed by WPI_DEBUG)
Revision 1.15 / (download) - annotate - [select for diffs], Wed Jul 11 17:26:25 2007 UTC (4 years, 10 months ago) by xtraeme
Branch: MAIN
CVS Tags: mjf-ufs-trans-base
Changes since 1.14: +4 -4
lines
Diff to previous 1.14 (colored)
Use %zu to print a size_t, fixes the build on amd64.
Revision 1.14 / (download) - annotate - [select for diffs], Mon Jul 9 21:00:56 2007 UTC (4 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.13: +3 -3
lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Mon Jul 9 20:29:06 2007 UTC (4 years, 10 months ago) by degroote
Branch: MAIN
Changes since 1.12: +2 -67
lines
Diff to previous 1.12 (colored)
Fix some conflicts in my previous commit. Sorry for the bad commit Thanks to dogcow@ for the report.
Revision 1.12 / (download) - annotate - [select for diffs], Mon Jul 9 19:38:51 2007 UTC (4 years, 10 months ago) by degroote
Branch: MAIN
Changes since 1.11: +646 -329
lines
Diff to previous 1.11 (colored)
Sync the driver with the OpenBSD one 1/ Update the driver to use the new firmware images from Intel (2.14.3.) 2/ Read the list of supported channels from the EEPROM instead of having it hard-coded in the driver. 3/ Limit output power to what is specified in EEPROM. 4/ Decrease output power for highest OFDM rates to reduce distortion. 5/ Automatically adjust output power to temperature changes for increased throughput and range. 6/ Attach the adapter's onboard thermal sensor to the sensor framework. 7/ Replace 'magic' fields in structures with their correct definitions. 8/ Rewrite the firmware load in order to reduce the diff with OpenBSD one NOTE2: you must install sysutils/wpi-firmware2 in order to use the new driver NOTE2: if you are using a channel not allowed by the regulatory domain of your adapter, you will no longer be able to associate. Thanks a lot for his hard work to damien@OpenBSD.org
Revision 1.6.2.1 / (download) - annotate - [select for diffs], Fri Jul 6 13:42:02 2007 UTC (4 years, 10 months ago) by liamjfoy
Branch: netbsd-4
Changes since 1.6: +3 -3
lines
Diff to previous 1.6 (colored)
Pull up following revision(s) (requested by pooka in ticket #756) sys/dev/pci/if_wpi.c: revision 1.11 wsize is size_t = unsigned and should be printed with %zu instead of %zd. cosmetics for PR 36591 by khorben.
Revision 1.11 / (download) - annotate - [select for diffs], Wed Jul 4 23:18:49 2007 UTC (4 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored)
wsize is size_t = unsigned and should be printed with %zu instead of %zd. cosmetics for PR 36591 by khorben.
Revision 1.9.2.1 / (download) - annotate - [select for diffs], Sun Jul 1 21:48:14 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.9: +3 -3
lines
Diff to previous 1.9 (colored)
Adapt to callout API change.
Revision 1.10 / (download) - annotate - [select for diffs], Mon Jun 18 19:40:49 2007 UTC (4 years, 11 months ago) by degroote
Branch: MAIN
Changes since 1.9: +37 -19
lines
Diff to previous 1.9 (colored)
Add a workaround in the case where we have low number of rbuf. It seems to fix problem of frozen network with wpi. ok by @joerg.
Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:23 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.8: +14 -14
lines
Diff to previous 1.8 (colored) next main 1.9 (colored)
Sync with HEAD.
Revision 1.9 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:24 2007 UTC (5 years, 2 months 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.8: +14 -14
lines
Diff to previous 1.8 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.6.4.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:29 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.2: +196 -163
lines
Diff to previous 1.6.4.2 (colored) to branchpoint 1.6 (colored)
sync with head.
Revision 1.2.4.2 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:22 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.2.4.1: +196 -163
lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)
Sync with head.
Revision 1.8 / (download) - annotate - [select for diffs], Thu Jan 25 21:17:38 2007 UTC (5 years, 4 months ago) by njoly
Branch: MAIN
CVS Tags: post-newlock2-merge,
newlock2-nbase,
newlock2-base,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.7: +5 -5
lines
Diff to previous 1.7 (colored)
Fix compilation on platforms where sizeof int/size_t differs. Successfully tested on amd64. ok by tron@
Revision 1.7 / (download) - annotate - [select for diffs], Sat Jan 13 09:39:06 2007 UTC (5 years, 4 months ago) by degroote
Branch: MAIN
Changes since 1.6: +195 -162
lines
Diff to previous 1.6 (colored)
Sync the wpi driver with the openbsd one. Thanks to Jean-Baptiste Campesato for his work. Fix PR/34463 ok dyoung@ joerg@
Revision 1.6.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:46 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.1: +2850 -0
lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored)
sync with head.
Revision 1.2.8.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:45 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.2.8.1: +46 -108
lines
Diff to previous 1.2.8.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)
sync with head.
Revision 1.2.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:31 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.2: +44 -105
lines
Diff to previous 1.2 (colored)
Sync with head.
Revision 1.6.4.1, Thu Nov 16 01:33:09 2006 UTC (5 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6: +0 -2850
lines
FILE REMOVED
file if_wpi.c was added on branch yamt-lazymbuf on 2006-12-30 20:48:46 +0000
Revision 1.6 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:09 2006 UTC (5 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
netbsd-4-base
Branch point for: yamt-lazymbuf,
wrstuden-fixsa,
netbsd-4
Changes since 1.5: +7 -7
lines
Diff to previous 1.5 (colored)
__unused removal on arguments; approved by core.
Revision 1.5 / (download) - annotate - [select for diffs], Tue Oct 31 21:53:41 2006 UTC (5 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.4: +41 -103
lines
Diff to previous 1.4 (colored)
Move AMRR code out of wpi(4) and ural(4) into net80211 itself. From OpenBSD.
Revision 1.2.8.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:17 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.2: +10 -9
lines
Diff to previous 1.2 (colored)
sync with head
Revision 1.4 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:31 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.3: +9 -8
lines
Diff to previous 1.3 (colored)
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
Revision 1.3 / (download) - annotate - [select for diffs], Sun Sep 24 03:53:09 2006 UTC (5 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.2: +3 -3
lines
Diff to previous 1.2 (colored)
Add "name" parameter to powerhook_establish, to aid debugging. No objections on tech-kern@
Revision 1.2.6.2 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:18 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.2.6.1: +2911 -0
lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)
sync with head
Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sun Sep 3 15:24:22 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2.2.1: +2911 -0
lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)
sync with head.
Revision 1.2.6.1, Sun Aug 13 03:52:33 2006 UTC (5 years, 9 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.2: +0 -2911
lines
FILE REMOVED
file if_wpi.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:18 +0000
Revision 1.2.2.1, Sun Aug 13 03:52:33 2006 UTC (5 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2: +0 -2911
lines
FILE REMOVED
file if_wpi.c was added on branch yamt-pdpolicy on 2006-09-03 15:24:22 +0000
Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 13 03:52:33 2006 UTC (5 years, 9 months ago) by oster
Branch: MAIN
CVS Tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl,
yamt-pdpolicy,
rpaulo-netinet-merge-pcb,
newlock2
Changes since 1.1: +7 -7
lines
Diff to previous 1.1 (colored)
Apply a change from damien in OpenBSD: fix a use-after-free (read) of a mbuf in wpi_tx_intr().
Revision 1.1 / (download) - annotate - [select for diffs], Sun Aug 13 02:21:45 2006 UTC (5 years, 9 months ago) by simonb
Branch: MAIN
Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by Jean-Baptiste Campesato. From PR kern/33778.