Up to [cvs.netbsd.org] / src / sys / dev / pci
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.87.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:47 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.87: +18 -16
lines
Diff to previous 1.87 (colored) next main 1.88 (colored)
sync with head
Revision 1.88.2.2 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:26 2012 UTC (7 weeks, 1 day ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.88.2.1: +13 -10
lines
Diff to previous 1.88.2.1 (colored) to branchpoint 1.88 (colored) next main 1.89 (colored)
sync to latest -current.
Revision 1.89.2.1 / (download) - annotate - [select for diffs], Thu Mar 22 22:55:18 2012 UTC (2 months ago) by riz
Branch: netbsd-6
Changes since 1.89: +13 -10
lines
Diff to previous 1.89 (colored) next main 1.90 (colored)
Pull up following revision(s) (requested by nisimura in ticket #134): sys/dev/pci/if_iwi.c: revision 1.90 Unbreak the endian issue in firmware header decoding. Comfirmed good and running by a powerpc machine.
Revision 1.90 / (download) - annotate - [select for diffs], Wed Mar 21 00:29:39 2012 UTC (2 months ago) by nisimura
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
HEAD
Changes since 1.89: +13 -10
lines
Diff to previous 1.89 (colored)
Unbreak the endian issue in firmware header decoding. Comfirmed good and running by a powerpc machine.
Revision 1.88.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:39 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.88: +4 -7
lines
Diff to previous 1.88 (colored)
merge to -current.
Revision 1.89 / (download) - annotate - [select for diffs], Mon Jan 30 19:41:20 2012 UTC (3 months, 3 weeks ago) by drochner
Branch: MAIN
CVS Tags: netbsd-6-base,
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.88: +4 -7
lines
Diff to previous 1.88 (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.88 / (download) - annotate - [select for diffs], Sat Nov 19 22:51:23 2011 UTC (6 months ago) by tls
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.87: +5 -3
lines
Diff to previous 1.87 (colored)
First step of random number subsystem rework described in <20111022023242.BA26F14A158@mail.netbsd.org>. This change includes the following: An initial cleanup and minor reorganization of the entropy pool code in sys/dev/rnd.c and sys/dev/rndpool.c. Several bugs are fixed. Some effort is made to accumulate entropy more quickly at boot time. A generic interface, "rndsink", is added, for stream generators to request that they be re-keyed with good quality entropy from the pool as soon as it is available. The arc4random()/arc4randbytes() implementation in libkern is adjusted to use the rndsink interface for rekeying, which helps address the problem of low-quality keys at boot time. An implementation of the FIPS 140-2 statistical tests for random number generator quality is provided (libkern/rngtest.c). This is based on Greg Rose's implementation from Qualcomm. A new random stream generator, nist_ctr_drbg, is provided. It is based on an implementation of the NIST SP800-90 CTR_DRBG by Henric Jungheim. This generator users AES in a modified counter mode to generate a backtracking-resistant random stream. An abstraction layer, "cprng", is provided for in-kernel consumers of randomness. The arc4random/arc4randbytes API is deprecated for in-kernel use. It is replaced by "cprng_strong". The current cprng_fast implementation wraps the existing arc4random implementation. The current cprng_strong implementation wraps the new CTR_DRBG implementation. Both interfaces are rekeyed from the entropy pool automatically at intervals justifiable from best current cryptographic practice. In some quick tests, cprng_fast() is about the same speed as the old arc4randbytes(), and cprng_strong() is about 20% faster than rnd_extract_data(). Performance is expected to improve. The AES code in src/crypto/rijndael is no longer an optional kernel component, as it is required by cprng_strong, which is not an optional kernel component. The entropy pool output is subjected to the rngtest tests at startup time; if it fails, the system will reboot. There is approximately a 3/10000 chance of a false positive from these tests. Entropy pool _input_ from hardware random numbers is subjected to the rngtest tests at attach time, as well as the FIPS continuous-output test, to detect bad or stuck hardware RNGs; if any are detected, they are detached, but the system continues to run. A problem with rndctl(8) is fixed -- datastructures with pointers in arrays are no longer passed to userspace (this was not a security problem, but rather a major issue for compat32). A new kernel will require a new rndctl. The sysctl kern.arandom() and kern.urandom() nodes are hooked up to the new generators, but the /dev/*random pseudodevices are not, yet. Manual pages for the new kernel interfaces are forthcoming.
Revision 1.85.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:13 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.85: +20 -25
lines
Diff to previous 1.85 (colored) next main 1.86 (colored)
Sync with HEAD.
Revision 1.83.4.3 / (download) - annotate - [select for diffs], Tue May 31 03:04:40 2011 UTC (11 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.83.4.2: +0 -2
lines
Diff to previous 1.83.4.2 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored)
sync with head
Revision 1.87 / (download) - annotate - [select for diffs], Mon May 23 15:37:36 2011 UTC (12 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp
Branch point for: yamt-pagecache
Changes since 1.86: +2 -4
lines
Diff to previous 1.86 (colored)
-remove references to crypto/arc4/arc4.* -- the code isn't used anywhere afaics (The confusion comes probably from use of arc4random() at various places, but this lives in libkern and doesn't share code with the former.) -g/c non-implementation of arc4 encryption in swcrypto(4) -remove special casing of ARC4 in crypto(4) -- the point is that it doesn't use an IV, and this fact is made explicit by the new "ivsize" property of xforms
Revision 1.83.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:41 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.83.4.1: +21 -23
lines
Diff to previous 1.83.4.1 (colored) to branchpoint 1.83 (colored)
sync with head
Revision 1.85.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:50 2011 UTC (15 months, 2 weeks ago) by bouyer
Branch: bouyer-quota2
Changes since 1.85: +20 -23
lines
Diff to previous 1.85 (colored) next main 1.86 (colored)
Sync with HEAD
Revision 1.86 / (download) - annotate - [select for diffs], Mon Jan 31 00:01:07 2011 UTC (15 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: bouyer-quota2-nbase,
bouyer-quota2-base
Changes since 1.85: +20 -23
lines
Diff to previous 1.85 (colored)
clear register 0x41 as FreeBSD and OpenBSD do. Update copyright to the latest.
Revision 1.85 / (download) - annotate - [select for diffs], Mon Nov 15 05:57:24 2010 UTC (18 months, 1 week ago) by uebayasi
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: jruoho-x86intr,
bouyer-quota2
Changes since 1.84: +3 -2
lines
Diff to previous 1.84 (colored)
tsleep needs sys/proc.h.
Revision 1.72.4.5 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:46 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.72.4.4: +7 -9
lines
Diff to previous 1.72.4.4 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored)
sync with head.
Revision 1.83.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:33 2010 UTC (23 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.83: +7 -9
lines
Diff to previous 1.83 (colored)
sync with head
Revision 1.83.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:35 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.83: +7 -9
lines
Diff to previous 1.83 (colored) next main 1.84 (colored)
Sync with HEAD.
Revision 1.74.2.3.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:41 2010 UTC (2 years, 1 month ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Changes since 1.74.2.3: +4 -4
lines
Diff to previous 1.74.2.3 (colored) next main 1.74.2.4 (colored)
sync to netbsd-5
Revision 1.84 / (download) - annotate - [select for diffs], Mon Apr 5 07:20:25 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.83: +7 -9
lines
Diff to previous 1.83 (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.72.4.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:46 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.72.4.3: +8 -21
lines
Diff to previous 1.72.4.3 (colored) to branchpoint 1.72 (colored)
sync with head
Revision 1.83 / (download) - annotate - [select for diffs], Tue Jan 19 22:07:00 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.82: +8 -21
lines
Diff to previous 1.82 (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.74.2.4 / (download) - annotate - [select for diffs], Tue Sep 29 23:57:41 2009 UTC (2 years, 7 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,
matt-nb5-pq3-base,
matt-nb5-pq3
Changes since 1.74.2.3: +4 -4
lines
Diff to previous 1.74.2.3 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)
Pull up following revision(s) (requested by bouyer in ticket #1040): sys/dev/pci/if_iwi.c: revision 1.79 make iwi_alloc_tx_ring() prototype match function declaration (shows up when bus_addr_t != bus_size_t). Fix cast for 64bit paddr_t on i386.
Revision 1.72.4.3 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:51 2009 UTC (2 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.72.4.2: +5 -5
lines
Diff to previous 1.72.4.2 (colored) to branchpoint 1.72 (colored)
sync with head
Revision 1.82 / (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.81: +5 -5
lines
Diff to previous 1.81 (colored)
Invert logic around nested pmf(9) registrations for readability.
Revision 1.72.4.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:34 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.72.4.1: +4 -4
lines
Diff to previous 1.72.4.1 (colored) to branchpoint 1.72 (colored)
sync with head
Revision 1.78.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:25 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.78: +89 -66
lines
Diff to previous 1.78 (colored) next main 1.79 (colored)
Sync with HEAD. Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.81 / (download) - annotate - [select for diffs], Wed May 6 09:25:15 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.80: +4 -4
lines
Diff to previous 1.80 (colored)
struct cfdata * -> cfdata_t, no functional changes intended.
Revision 1.72.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:56 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.72: +132 -68
lines
Diff to previous 1.72 (colored)
sync with head.
Revision 1.73.4.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:56 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.73.4.2: +85 -62
lines
Diff to previous 1.73.4.2 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)
Sync with HEAD.
Revision 1.80 / (download) - annotate - [select for diffs], Fri Mar 13 21:57:07 2009 UTC (3 years, 2 months ago) by jym
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base
Changes since 1.79: +85 -62
lines
Diff to previous 1.79 (colored)
Fixes in the iwi(4) driver to better handle errors: - bus_dmamap fixes, with checks against NULL - move the rings' allocation code later in iwi_attach() to avoid NULL pointer dereference if allocation fails - avoid double free() in case of failure during attach. If an allocation fails, do not free the ring directly, as it is handled by iwi_detach() - only set ring->count for RX/TX rings when ring allocation is successful, or else the for loop during detach will fail with a NULL dereference. - call pci_intr_disestablish() if iwi_reset() fails during attach; driver is in an incoherent state, interrupt handler should not be used. Proposed by me on tech-net@, approved by christos@. Compiled and tested with GENERIC and XEN3_DOM0 kernels.
Revision 1.73.4.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:31:07 2009 UTC (3 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.73.4.1: +4 -4
lines
Diff to previous 1.73.4.1 (colored) to branchpoint 1.73 (colored)
Sync with HEAD.
Revision 1.79 / (download) - annotate - [select for diffs], Fri Feb 13 21:11:47 2009 UTC (3 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.78: +4 -4
lines
Diff to previous 1.78 (colored)
make iwi_alloc_tx_ring() prototype match function declaration (shows up when bus_addr_t != bus_size_t). Fix cast for 64bit paddr_t on i386.
Revision 1.73.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:18:25 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.73: +47 -6
lines
Diff to previous 1.73 (colored)
Sync with HEAD.
Revision 1.68.10.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:59 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.68.10.2: +45 -4
lines
Diff to previous 1.68.10.2 (colored) to branchpoint 1.68 (colored) next main 1.69 (colored)
Sync with HEAD.
Revision 1.74.2.3 / (download) - annotate - [select for diffs], Wed Jan 14 17:57:39 2009 UTC (3 years, 4 months ago) by snj
Branch: netbsd-5
CVS Tags: 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-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.74.2.2: +3 -3
lines
Diff to previous 1.74.2.2 (colored) to branchpoint 1.74 (colored)
Pull up following revision(s) (requested by jmcneill in ticket #250): sys/dev/pci/if_iwi.c: revision 1.78 sys/dev/pci/if_ipw.c: revision 1.45 Make the "EULA not accepted" message a bit more informative, now reads: EULA not accepted; please see the <driver>(4) man page.
Revision 1.78 / (download) - annotate - [select for diffs], Fri Jan 9 21:14:36 2009 UTC (3 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.77: +3 -3
lines
Diff to previous 1.77 (colored)
Make the "EULA not accepted" message a bit more informative, now reads: EULA not accepted; please see the <driver>(4) man page.
Revision 1.73.2.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:35 2008 UTC (3 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.73: +47 -6
lines
Diff to previous 1.73 (colored) next main 1.74 (colored)
Update haad-dm branch to haad-dm-base2.
Revision 1.74.2.2 / (download) - annotate - [select for diffs], Mon Nov 10 18:39:59 2008 UTC (3 years, 6 months ago) by snj
Branch: netbsd-5
Changes since 1.74.2.1: +3 -3
lines
Diff to previous 1.74.2.1 (colored) to branchpoint 1.74 (colored)
Pull up following revision(s) (requested by joerg in ticket #43): sys/dev/pci/if_iwi.c: revision 1.77 Fix typo in fw name.
Revision 1.77 / (download) - annotate - [select for diffs], Mon Nov 10 18:05:12 2008 UTC (3 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Changes since 1.76: +3 -3
lines
Diff to previous 1.76 (colored)
Fix typo in fw name.
Revision 1.74.2.1 / (download) - annotate - [select for diffs], Sun Nov 9 04:00:06 2008 UTC (3 years, 6 months ago) by snj
Branch: netbsd-5
Changes since 1.74: +6 -6
lines
Diff to previous 1.74 (colored)
Pull up following revision(s) (requested by joerg in ticket #25): sys/dev/pci/if_ipw.c: revision 1.44 sys/dev/pci/if_ipwvar.h: revision 1.14 sys/dev/pci/if_iwi.c: revision 1.76 sys/dev/pci/if_iwn.c: revision 1.26 Match image name with upstream distfiles.
Revision 1.76 / (download) - annotate - [select for diffs], Fri Nov 7 14:58:27 2008 UTC (3 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.75: +6 -6
lines
Diff to previous 1.75 (colored)
Match image name with upstream distfiles.
Revision 1.75 / (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.74: +4 -2
lines
Diff to previous 1.74 (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.74 / (download) - annotate - [select for diffs], Thu Oct 30 00:27:32 2008 UTC (3 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: netbsd-5-base
Branch point for: netbsd-5
Changes since 1.73: +41 -2
lines
Diff to previous 1.73 (colored)
Add glue to ship Intel firmware images. For ipw and iwi require user to accept the EULA via sysctl as discussed with core@.
Revision 1.68.10.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:09 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.68.10.1: +1 -1
lines
Diff to previous 1.68.10.1 (colored) to branchpoint 1.68 (colored)
Sync with HEAD.
Revision 1.72.6.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:11 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.72: +3 -3
lines
Diff to previous 1.72 (colored) next main 1.73 (colored)
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.72.8.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:33:18 2008 UTC (3 years, 11 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.72: +3 -3
lines
Diff to previous 1.72 (colored) next main 1.73 (colored)
Sync with head.
Revision 1.72.2.1 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:41 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.72: +3 -3
lines
Diff to previous 1.72 (colored) next main 1.73 (colored)
sync with head.
Revision 1.73 / (download) - annotate - [select for diffs], Mon Jun 16 06:19:24 2008 UTC (3 years, 11 months ago) by mlelstv
Branch: MAIN
CVS Tags: yamt-pf42-base4,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
haad-dm
Changes since 1.72: +3 -3
lines
Diff to previous 1.72 (colored)
Compute the correct number of pages spanned by the firmware. The old code just uses the firmware size and rounds up to full pages. However, if the firmware isn't loaded aligned to a page boundary (which it isn't), then one more page (and thus DMA segment) might be necessary.
Revision 1.68.10.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:50 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.68: +4 -16
lines
Diff to previous 1.68 (colored)
Sync with HEAD.
Revision 1.10.2.8 / (download) - annotate - [select for diffs], Mon Mar 24 09:38:51 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.7: +3 -3
lines
Diff to previous 1.10.2.7 (colored) next main 1.11 (colored)
sync with head.
Revision 1.68.6.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.68: +4 -16
lines
Diff to previous 1.68 (colored) next main 1.69 (colored)
sync with head.
Revision 1.63.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:47 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.63.2.2: +4 -16
lines
Diff to previous 1.63.2.2 (colored) next main 1.64 (colored)
sync with HEAD
Revision 1.72 / (download) - annotate - [select for diffs], Fri Mar 21 07:47:43 2008 UTC (4 years, 2 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
hpcarm-cleanup-nbase,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
wrstuden-revivesa,
simonb-wapbl
Changes since 1.71: +3 -3
lines
Diff to previous 1.71 (colored)
pci_activate() expects for its void * argument to be a device_t, so change the type of the argument to device_t. Update each use of pci_activate(). Use device_t and accessors. Use aprint_*_dev().
Revision 1.10.2.7 / (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.10.2.6: +3 -15
lines
Diff to previous 1.10.2.6 (colored)
sync with head.
Revision 1.71 / (download) - annotate - [select for diffs], Tue Mar 11 20:41:35 2008 UTC (4 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.70: +2 -4
lines
Diff to previous 1.70 (colored)
Finish the job: pci_disable_retry() is now a no-op, so don't call it any more.
Revision 1.70 / (download) - annotate - [select for diffs], Tue Mar 11 20:40:51 2008 UTC (4 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.69: +3 -13
lines
Diff to previous 1.69 (colored)
pci_disable_retry() is now a no-op, so don't call it any more.
Revision 1.69 / (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.68: +3 -3
lines
Diff to previous 1.68 (colored)
Use PMF_FN_ARGS, PMF_FN_PROTO.
Revision 1.10.2.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:43:55 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.5: +19 -93
lines
Diff to previous 1.10.2.5 (colored)
sync with head
Revision 1.63.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:53:46 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.63.2.1: +19 -93
lines
Diff to previous 1.63.2.1 (colored)
sync with HEAD
Revision 1.67.4.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:52 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.67: +19 -93
lines
Diff to previous 1.67 (colored) next main 1.68 (colored)
Sync with head.
Revision 1.67.6.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:32:07 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-kmem
Changes since 1.67: +19 -93
lines
Diff to previous 1.67 (colored) next main 1.68 (colored)
sync with head.
Revision 1.68 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:09 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
vmlocking2-base3,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-base,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386
Branch point for: mjf-devfs2,
keiichi-mipv6
Changes since 1.67: +19 -93
lines
Diff to previous 1.67 (colored)
Merge jmcneill-pm branch.
Revision 1.62.14.7 / (download) - annotate - [select for diffs], Sat Dec 8 16:21:27 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.62.14.6: +5 -5
lines
Diff to previous 1.62.14.6 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)
Rename pnp(9) -> pmf(9), as requested by many.
Revision 1.63.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:28:59 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.63: +118 -144
lines
Diff to previous 1.63 (colored)
sync with HEAD
Revision 1.62.14.6 / (download) - annotate - [select for diffs], Tue Nov 6 14:27:24 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.62.14.5: +9 -8
lines
Diff to previous 1.62.14.5 (colored) to branchpoint 1.62 (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.10.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:32:54 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.4: +116 -140
lines
Diff to previous 1.10.2.4 (colored)
sync with head.
Revision 1.62.14.5 / (download) - annotate - [select for diffs], Fri Oct 26 15:46:05 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.62.14.4: +112 -138
lines
Diff to previous 1.62.14.4 (colored) to branchpoint 1.62 (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.64.4.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:39:00 2007 UTC (4 years, 7 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.64: +116 -140
lines
Diff to previous 1.64 (colored) next main 1.65 (colored)
Sync with HEAD.
Revision 1.62.2.2 / (download) - annotate - [select for diffs], Tue Oct 23 20:08:58 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.62.2.1: +4 -4
lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)
Sync with head.
Revision 1.67 / (download) - annotate - [select for diffs], Mon Oct 22 15:31:46 2007 UTC (4 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-kmem-base,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
mjf-devfs,
jmcneill-pm-base,
jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: yamt-kmem,
vmlocking2
Changes since 1.66: +4 -4
lines
Diff to previous 1.66 (colored)
Also convert detach function.
Revision 1.66 / (download) - annotate - [select for diffs], Mon Oct 22 15:28:48 2007 UTC (4 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.65: +112 -136
lines
Diff to previous 1.65 (colored)
Convert to device_t/softc split and aprint usage.
Revision 1.65 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:46 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.64: +4 -4
lines
Diff to previous 1.64 (colored)
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
Revision 1.62.2.1 / (download) - annotate - [select for diffs], Tue Oct 9 13:41:44 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.62: +5 -7
lines
Diff to previous 1.62 (colored)
Sync with head.
Revision 1.62.14.4 / (download) - annotate - [select for diffs], Mon Oct 1 05:37:40 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.62.14.3: +18 -20
lines
Diff to previous 1.62.14.3 (colored) to branchpoint 1.62 (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.62.14.3 / (download) - annotate - [select for diffs], Mon Sep 3 16:48:16 2007 UTC (4 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.62.14.2: +5 -7
lines
Diff to previous 1.62.14.2 (colored) to branchpoint 1.62 (colored)
Sync with HEAD.
Revision 1.10.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:36:56 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.3: +14 -16
lines
Diff to previous 1.10.2.3 (colored)
sync with head.
Revision 1.62.10.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:21:01 2007 UTC (4 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.62: +5 -7
lines
Diff to previous 1.62 (colored) next main 1.63 (colored)
Sync with HEAD.
Revision 1.64 / (download) - annotate - [select for diffs], Sat Sep 1 07:32:29 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,
vmlocking-base,
nick-csl-alignment-base5
Branch point for: bouyer-xenamd64
Changes since 1.63: +4 -6
lines
Diff to previous 1.63 (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.63 / (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.62: +3 -3
lines
Diff to previous 1.62 (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.62.14.2 / (download) - annotate - [select for diffs], Thu Aug 23 09:32:50 2007 UTC (4 years, 9 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.62.14.1: +4 -72
lines
Diff to previous 1.62.14.1 (colored) to branchpoint 1.62 (colored)
Introduce pci_net_generic_power, which should be enough for most network drivers and be a good foundation for C&P for the rest. For iwi(4), don't reset the PCI retry register again, pci_conf_restore should take care of that already. For bge(4), add a NetBSD style if_stop.
Revision 1.62.14.1 / (download) - annotate - [select for diffs], Tue Aug 21 06:48:01 2007 UTC (4 years, 9 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.62: +78 -81
lines
Diff to previous 1.62 (colored)
Convert iwi(4) to pnp_register/pnp_deregister and drop explicit shutdown hooks.
Revision 1.60.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:18 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.60: +11 -11
lines
Diff to previous 1.60 (colored) next main 1.61 (colored)
Sync with HEAD.
Revision 1.62 / (download) - annotate - [select for diffs], Sun Mar 4 19:14:25 2007 UTC (5 years, 2 months ago) by sketch
Branch: MAIN
CVS Tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
nick-csl-alignment-base,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: vmlocking,
nick-csl-alignment,
jmcneill-pm
Changes since 1.61: +3 -3
lines
Diff to previous 1.61 (colored)
Put unformatted firmware version output behind IWI_DEBUG
Revision 1.61 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:20 2007 UTC (5 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.60: +10 -10
lines
Diff to previous 1.60 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.10.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:25 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.2: +3 -6
lines
Diff to previous 1.10.2.2 (colored)
sync with head.
Revision 1.55.2.3 / (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.55.2.2: +3 -6
lines
Diff to previous 1.55.2.2 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)
Sync with head.
Revision 1.58.2.2 / (download) - annotate - [select for diffs], Sun Jan 28 19:59:03 2007 UTC (5 years, 3 months ago) by tron
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
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,
matt-nb4-arm-base,
matt-nb4-arm
Changes since 1.58.2.1: +1 -4
lines
Diff to previous 1.58.2.1 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)
Pull up following revision(s) (requested by skrll in ticket #385): sys/dev/pci/if_iwi.c: revision 1.60 Pass the right pointer to firmware_free. Fixes the DIAGNOSTIC panic reported by Sverre Froyen on current-users.
Revision 1.60 / (download) - annotate - [select for diffs], Tue Jan 23 15:02:50 2007 UTC (5 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: post-newlock2-merge,
newlock2-nbase,
newlock2-base,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.59: +3 -6
lines
Diff to previous 1.59 (colored)
Pass the right pointer to firmware_free. Fixes the DIAGNOSTIC panic reported by Sverre Froyen on current-users.
Revision 1.55.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 00:57:41 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.55.2.1: +238 -211
lines
Diff to previous 1.55.2.1 (colored) to branchpoint 1.55 (colored)
Sync with head.
Revision 1.10.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:44 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.1: +408 -251
lines
Diff to previous 1.10.2.1 (colored)
sync with head.
Revision 1.58.2.1 / (download) - annotate - [select for diffs], Fri Dec 29 18:50:40 2006 UTC (5 years, 4 months ago) by riz
Branch: netbsd-4
Changes since 1.58: +238 -211
lines
Diff to previous 1.58 (colored)
Pull up following revision(s) (requested by skrll in ticket #296): sys/dev/pci/if_iwireg.h: revision 1.17 sys/dev/pci/if_iwi.c: revision 1.59 sys/dev/pci/if_iwivar.h: revision 1.13 - Upgrade to the latest firmware and as a result remove the error log dump. - Mostly sync with OpenBSD - Serialise sending commands to the firmware - Remove redundant calls to bpfdetach. - use bus_size_t where appropriate and not fetch iobase as it's not used. - improve 802.11 radiotap support (correct rx rate) - add short preamble flag - add short slot time support - ignore parity errors (as per the Linux driver) - Set Tx power for all channels. - disable bluetooth co-existance - Check that ni->ni_rates.rs_nrates is not greater than the maximum handled by the firmware. - Begin syncing with the FreeBSD driver by renaming a few things. - Upgrade to the latest firmware and as a result remove the error log dump. - Mostly sync with OpenBSD - Serialise sending commands to the firmware - Remove redundant calls to bpfdetach. - use bus_size_t where appropriate and not fetch iobase as it's not used. - improve 802.11 radiotap support (correct rx rate) - add short preamble flag - add short slot time support - ignore parity errors (as per the Linux driver) - Set Tx power for all channels. - disable bluetooth co-existance - Check that ni->ni_rates.rs_nrates is not greater than the maximum handled by the firmware. - Begin syncing with the FreeBSD driver by renaming a few things.
Revision 1.55.4.3 / (download) - annotate - [select for diffs], Thu Dec 21 15:07:59 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.55.4.2: +238 -211
lines
Diff to previous 1.55.4.2 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)
sync with head.
Revision 1.59 / (download) - annotate - [select for diffs], Wed Dec 20 16:30:20 2006 UTC (5 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5
Changes since 1.58: +238 -211
lines
Diff to previous 1.58 (colored)
- Upgrade to the latest firmware and as a result remove the error log dump. - Mostly sync with OpenBSD - Serialise sending commands to the firmware - Remove redundant calls to bpfdetach. - use bus_size_t where appropriate and not fetch iobase as it's not used. - improve 802.11 radiotap support (correct rx rate) - add short preamble flag - add short slot time support - ignore parity errors (as per the Linux driver) - Set Tx power for all channels. - disable bluetooth co-existance - Check that ni->ni_rates.rs_nrates is not greater than the maximum handled by the firmware. - Begin syncing with the FreeBSD driver by renaming a few things.
Revision 1.55.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:43 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.55.4.1: +8 -8
lines
Diff to previous 1.55.4.1 (colored) to branchpoint 1.55 (colored)
sync with head.
Revision 1.55.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:30 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.55: +6 -4
lines
Diff to previous 1.55 (colored)
Sync with head.
Revision 1.58 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:08 2006 UTC (5 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
netbsd-4-base
Branch point for: netbsd-4
Changes since 1.57: +8 -8
lines
Diff to previous 1.57 (colored)
__unused removal on arguments; approved by core.
Revision 1.55.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:16 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.55: +11 -9
lines
Diff to previous 1.55 (colored)
sync with head
Revision 1.57 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:30 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.56: +9 -8
lines
Diff to previous 1.56 (colored)
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
Revision 1.56 / (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.55: +4 -3
lines
Diff to previous 1.55 (colored)
Add "name" parameter to powerhook_establish, to aid debugging. No objections on tech-kern@
Revision 1.44.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:17 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.44: +227 -81
lines
Diff to previous 1.44 (colored) next main 1.45 (colored)
sync with head
Revision 1.45.2.5 / (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.45.2.4: +136 -28
lines
Diff to previous 1.45.2.4 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)
sync with head.
Revision 1.55 / (download) - annotate - [select for diffs], Wed Aug 30 16:43:56 2006 UTC (5 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl,
newlock2
Changes since 1.54: +10 -10
lines
Diff to previous 1.54 (colored)
fix initializers.
Revision 1.54 / (download) - annotate - [select for diffs], Sat Aug 19 06:32:52 2006 UTC (5 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.53: +128 -20
lines
Diff to previous 1.53 (colored)
Add some sysctl knobs to bring us closer to the FreeBSD driver. Also sysctl enable the debug message printing (if IWI_DEBUG) is defined.
Revision 1.45.2.4 / (download) - annotate - [select for diffs], Fri Aug 11 15:44:25 2006 UTC (5 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.45.2.3: +72 -52
lines
Diff to previous 1.45.2.3 (colored) to branchpoint 1.45 (colored)
sync with head
Revision 1.53 / (download) - annotate - [select for diffs], Wed Aug 9 11:49:41 2006 UTC (5 years, 9 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7
Changes since 1.52: +3 -3
lines
Diff to previous 1.52 (colored)
s/printf/aprint_error/ for one message.
Revision 1.52 / (download) - annotate - [select for diffs], Wed Aug 9 11:35:59 2006 UTC (5 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.51: +71 -51
lines
Diff to previous 1.51 (colored)
Adapt iwi(4) to use firmload(9) and remove firmware loading from iwictl(8).
Revision 1.51 / (download) - annotate - [select for diffs], Fri Jul 21 16:48:51 2006 UTC (5 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.50: +6 -6
lines
Diff to previous 1.50 (colored)
- Use the LWP cached credentials where sane. - Minor cosmetic changes.
Revision 1.49.2.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:27 2006 UTC (5 years, 10 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.49: +10 -2
lines
Diff to previous 1.49 (colored) next main 1.50 (colored)
Merge from HEAD.
Revision 1.45.2.3 / (download) - annotate - [select for diffs], Mon Jun 26 12:51:21 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.45.2.2: +11 -3
lines
Diff to previous 1.45.2.2 (colored) to branchpoint 1.45 (colored)
sync with head.
Revision 1.10.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:05:04 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10: +1334 -552
lines
Diff to previous 1.10 (colored)
sync with head.
Revision 1.48.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:01:35 2006 UTC (5 years, 11 months ago) by chap
Branch: chap-midi
Changes since 1.48: +11 -3
lines
Diff to previous 1.48 (colored) next main 1.49 (colored)
Sync with head.
Revision 1.50 / (download) - annotate - [select for diffs], Sat Jun 17 23:34:27 2006 UTC (5 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6,
chap-midi-nbase,
chap-midi-base
Changes since 1.49: +10 -2
lines
Diff to previous 1.49 (colored)
re-factor the pci powestate api. reviewed by gimpy
Revision 1.44.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:36:44 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.44.6.1: +8 -5
lines
Diff to previous 1.44.6.1 (colored) next main 1.45 (colored)
Sync with head.
Revision 1.49 / (download) - annotate - [select for diffs], Sun May 28 13:12:42 2006 UTC (5 years, 11 months ago) by blymn
Branch: MAIN
CVS Tags: simonb-timecounters-base,
gdamore-uart-base
Branch point for: gdamore-uart
Changes since 1.48: +3 -3
lines
Diff to previous 1.48 (colored)
Clean up bogus whitespace
Revision 1.46.2.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:27 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.46: +10 -5
lines
Diff to previous 1.46 (colored) next main 1.47 (colored)
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.45.2.2 / (download) - annotate - [select for diffs], Wed May 24 10:58:00 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.45.2.1: +10 -5
lines
Diff to previous 1.45.2.1 (colored) to branchpoint 1.45 (colored)
sync with head.
Revision 1.48 / (download) - annotate - [select for diffs], Sun May 14 21:45:00 2006 UTC (6 years ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5
Branch point for: chap-midi
Changes since 1.47: +7 -4
lines
Diff to previous 1.47 (colored)
integrate kauth.
Revision 1.45.4.4 / (download) - annotate - [select for diffs], Sat May 6 23:31:28 2006 UTC (6 years ago) by christos
Branch: elad-kernelauth
Changes since 1.45.4.3: +3 -2
lines
Diff to previous 1.45.4.3 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)
- Move kauth_cred_t declaration to <sys/types.h> - Cleanup struct ucred; forward declarations that are unused. - Don't include <sys/kauth.h> in any header, but include it in the c files that need it. Approved by core.
Revision 1.44.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:14 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.44: +13 -6
lines
Diff to previous 1.44 (colored)
Sync with head.
Revision 1.45.4.3 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:34 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.45.4.2: +12 -5
lines
Diff to previous 1.45.4.2 (colored) to branchpoint 1.45 (colored)
sync with head.
Revision 1.47 / (download) - annotate - [select for diffs], Tue Apr 11 15:42:56 2006 UTC (6 years, 1 month ago) by rpaulo
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.46: +5 -3
lines
Diff to previous 1.46 (colored)
Coverity ID 2442: check if one can dereference ifp before calling iwi_stop() in iwi_detach().
Revision 1.45.2.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:26 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.45: +9 -4
lines
Diff to previous 1.45 (colored)
sync with head.
Revision 1.45.4.2 / (download) - annotate - [select for diffs], Fri Mar 10 14:39:02 2006 UTC (6 years, 2 months ago) by elad
Branch: elad-kernelauth
Changes since 1.45.4.1: +4 -4
lines
Diff to previous 1.45.4.1 (colored) to branchpoint 1.45 (colored)
generic_authorize() -> kauth_authorize_generic().
Revision 1.46 / (download) - annotate - [select for diffs], Thu Mar 9 16:02:55 2006 UTC (6 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
peter-altq-base
Branch point for: peter-altq
Changes since 1.45: +9 -4
lines
Diff to previous 1.45 (colored)
Save and restore PCI configuration state on suspend/resume.
Revision 1.45.4.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:44:49 2006 UTC (6 years, 2 months ago) by elad
Branch: elad-kernelauth
Changes since 1.45: +6 -4
lines
Diff to previous 1.45 (colored)
Adapt to kernel authorization KPI.
Revision 1.44.2.1 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:21 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.44: +3 -3
lines
Diff to previous 1.44 (colored) next main 1.45 (colored)
sync with head.
Revision 1.45 / (download) - annotate - [select for diffs], Tue Feb 21 07:24:07 2006 UTC (6 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-pdpolicy-base
Branch point for: yamt-pdpolicy,
elad-kernelauth
Changes since 1.44: +3 -3
lines
Diff to previous 1.44 (colored)
Fix from Sam Leffler "correct check for whether wpa is enabled". wpa_supplicant and static WEP doesn't crash the firmware now. YAY!
Revision 1.44 / (download) - annotate - [select for diffs], Sat Dec 24 20:27:42 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.43: +4 -4
lines
Diff to previous 1.43 (colored)
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
Revision 1.4.4.5 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:58 2005 UTC (6 years, 5 months ago) by christos
Branch: ktrace-lwp
Changes since 1.4.4.4: +539 -92
lines
Diff to previous 1.4.4.4 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)
Sync with head.
Revision 1.43 / (download) - annotate - [select for diffs], Mon Dec 5 09:24:54 2005 UTC (6 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: ktrace-lwp-base
Changes since 1.42: +29 -16
lines
Diff to previous 1.42 (colored)
Finally (I hope) fix iwi_ioctl: - handle SIOCADDMULTI/SIOCDELMULTI properly, i.e. no need to reset anything as we don't do multicast filters (yet) - restructure some code and use an IS_RUNNING macro Fix iwi_init to set if_flags before the net80211 state machine is kicked and init to IEEE80211_S_INIT.
Revision 1.37.2.3 / (download) - annotate - [select for diffs], Tue Nov 29 21:23:14 2005 UTC (6 years, 5 months ago) by yamt
Branch: yamt-readahead
Changes since 1.37.2.2: +97 -13
lines
Diff to previous 1.37.2.2 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)
sync with head.
Revision 1.42 / (download) - annotate - [select for diffs], Tue Nov 29 13:57:00 2005 UTC (6 years, 5 months ago) by rpaulo
Branch: MAIN
CVS Tags: yamt-readahead-base3
Changes since 1.41: +51 -2
lines
Diff to previous 1.41 (colored)
Add support for software controlled LEDs as found on some boards. Currently, only the associated LED is being used because that's the only LED my card has. The other two LEDs (OFDM and activity) can later be set by someone, easily, who owns some board with that LEDs. Reviewed by Nick Hudson.
Revision 1.41 / (download) - annotate - [select for diffs], Sat Nov 26 07:42:10 2005 UTC (6 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.40: +42 -5
lines
Diff to previous 1.40 (colored)
Fixes from Steve Woodford: - add some missing bus_dmamap_sync operations. - don't process other interrupts if we get an error/radio off interrupt. - improve command handling - sleep against the descriptor instead of the descriptor set.
Revision 1.40 / (download) - annotate - [select for diffs], Wed Nov 23 20:35:54 2005 UTC (6 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.39: +3 -3
lines
Diff to previous 1.39 (colored)
Fix the handling of ENETRESET in iwi_ioctl. This fixes PR 32143
Revision 1.39 / (download) - annotate - [select for diffs], Wed Nov 23 20:08:29 2005 UTC (6 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.38: +7 -9
lines
Diff to previous 1.38 (colored)
Correct a bpf tap.
Revision 1.37.2.2 / (download) - annotate - [select for diffs], Tue Nov 22 16:08:11 2005 UTC (6 years, 6 months ago) by yamt
Branch: yamt-readahead
Changes since 1.37.2.1: +2749 -0
lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored)
sync with head.
Revision 1.38 / (download) - annotate - [select for diffs], Fri Nov 18 16:42:22 2005 UTC (6 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-readahead-base2
Changes since 1.37: +368 -74
lines
Diff to previous 1.37 (colored)
Resolve conflicts. Changelog to follow.
Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Fri Nov 18 16:23:41 2005 UTC (6 years, 6 months ago) by skrll
Branch: FreeBSD,
BERGAMINI
CVS Tags: iwi-1-nov-2005
Changes since 1.1.1.2: +369 -110
lines
Diff to previous 1.1.1.2 (colored)
Import FreeBSD's iwi(4) of 1-nov-2005
Revision 1.37.2.1, Mon Nov 14 12:07:33 2005 UTC (6 years, 6 months ago) by yamt
Branch: yamt-readahead
Changes since 1.37: +0 -2455
lines
FILE REMOVED
file if_iwi.c was added on branch yamt-readahead on 2005-11-22 16:08:11 +0000
Revision 1.37 / (download) - annotate - [select for diffs], Mon Nov 14 12:07:33 2005 UTC (6 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base
Branch point for: yamt-readahead
Changes since 1.36: +4 -4
lines
Diff to previous 1.36 (colored)
Don't use DPRINTF for previous. Doh!
Revision 1.36 / (download) - annotate - [select for diffs], Mon Nov 14 11:58:52 2005 UTC (6 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.35: +58 -2
lines
Diff to previous 1.35 (colored)
Dump the error log if we get an IWI_INTR_FATAL_ERROR interrupt.
Revision 1.4.4.4 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:01 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.4.3: +884 -536
lines
Diff to previous 1.4.4.3 (colored) to branchpoint 1.4 (colored)
Sync with HEAD. Here we go again...
Revision 1.30.2.2 / (download) - annotate - [select for diffs], Wed Nov 2 11:57:56 2005 UTC (6 years, 6 months ago) by yamt
Branch: yamt-vop
Changes since 1.30.2.1: +35 -35
lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)
sync with head.
Revision 1.35 / (download) - annotate - [select for diffs], Sat Oct 29 11:00:17 2005 UTC (6 years, 6 months ago) by scw
Branch: MAIN
CVS Tags: yamt-vop-base3
Changes since 1.34: +2 -6
lines
Diff to previous 1.34 (colored)
Expunge an extraneous bus_dmamap_sync() call in iwi_frame_intr(). The entire frame has already been sync'd by iwi_rx_intr().
Revision 1.34 / (download) - annotate - [select for diffs], Sat Oct 29 10:48:02 2005 UTC (6 years, 6 months ago) by scw
Branch: MAIN
Changes since 1.33: +24 -20
lines
Diff to previous 1.33 (colored)
- Use the DMA map size when calling bus_dmamap_sync(), instead of blindly assuming MCLBYTES will DTRT. - Use bus_dmamap_load_mbuf() instead of bus_dmamap_load() where appropriate. - If we have to coalesce a Tx mbuf chain comprised of more than IWI_MAX_NSEG segments, allocate a cluster iff the payload won't fit in the header.
Revision 1.33 / (download) - annotate - [select for diffs], Sat Oct 29 08:44:28 2005 UTC (6 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.32: +9 -9
lines
Diff to previous 1.32 (colored)
Don't byte swap unnecessarily in iwi_read_prom_word. Fix the user instead.
Revision 1.32 / (download) - annotate - [select for diffs], Sat Oct 29 08:10:38 2005 UTC (6 years, 6 months ago) by scw
Branch: MAIN
Changes since 1.31: +7 -7
lines
Diff to previous 1.31 (colored)
Support big-endian hosts: - Always byte-swap data read from EEPROM. - Byte-swap firmware image when host is big-endian. In iwi_tx_start(): - Fix descriptor initialisation bogon (only problematic on big-endian hosts). - Fix bus_dmamap_sync() 'len' parameter..
Revision 1.30.2.1 / (download) - annotate - [select for diffs], Wed Oct 26 08:32:45 2005 UTC (6 years, 7 months ago) by yamt
Branch: yamt-vop
Changes since 1.30: +68 -46
lines
Diff to previous 1.30 (colored)
sync with head
Revision 1.31 / (download) - annotate - [select for diffs], Wed Oct 19 20:18:00 2005 UTC (6 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-vop-base2,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Changes since 1.30: +68 -46
lines
Diff to previous 1.30 (colored)
Fix a kernel segfault when a RX interrupt can't allocate a new mbuf. The change adopts the idea of fxp to drop the incoming packet and panic if the old mbuf cannot be reloaded. Since the bus_dmamap is allocated during attach, this is not supposed to happen. Since a lot of code moves anyway, factor out the allocation of RX ring elements, which is shared between the init path and the RX interrupt path. XXX A better fix might be to borrow the mbuf from the logic end of the XXX ring buffer, but that needs more involved driver changes. Reviewed by dyoung@ and nick@
Revision 1.30 / (download) - annotate - [select for diffs], Sat Oct 8 06:19:46 2005 UTC (6 years, 7 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-vop-base
Branch point for: yamt-vop
Changes since 1.29: +9 -8
lines
Diff to previous 1.29 (colored)
Use the new scan command for monitor mode as well.
Revision 1.29 / (download) - annotate - [select for diffs], Thu Sep 29 19:57:36 2005 UTC (6 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.28: +4 -10
lines
Diff to previous 1.28 (colored)
Improve interrupt handling: - don't disable/enable as we're already at splnet() - ack the interrupts early Fixes my "lost interrupt" problem. Thanks to dyoung and scw for the suggestions.
Revision 1.28 / (download) - annotate - [select for diffs], Sun Sep 25 15:29:37 2005 UTC (6 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.27: +3 -4
lines
Diff to previous 1.27 (colored)
Whitespace and change a comment slightly.
Revision 1.27 / (download) - annotate - [select for diffs], Sun Sep 25 15:18:21 2005 UTC (6 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.26: +58 -62
lines
Diff to previous 1.26 (colored)
Don't try to bus_dmamem_alloc everytime we want to load the firmware as it can fail all too easily. Instead bus_dmamap_load the cached copy and create the command blocks for the device to load it accordingly. Thanks to scw and mrg for reviewing this. Closes PR 29892 (I hope).
Revision 1.26 / (download) - annotate - [select for diffs], Sun Sep 25 11:55:05 2005 UTC (6 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.25: +37 -10
lines
Diff to previous 1.25 (colored)
Support hidden ESSID APs. Use the newer scan command as this one doesn't crash the firmware when scanning 802.11a channels. Thanks to scw and blymn for testing. Closes PR 31295.
Revision 1.25 / (download) - annotate - [select for diffs], Sun Sep 25 06:49:54 2005 UTC (6 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.24: +84 -84
lines
Diff to previous 1.24 (colored)
Resolve conflicts.
Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Sep 25 06:45:26 2005 UTC (6 years, 8 months ago) by skrll
Branch: FreeBSD,
BERGAMINI
CVS Tags: iwi-2005-07-11
Changes since 1.1.1.1: +1101 -818
lines
Diff to previous 1.1.1.1 (colored)
Import of the FreeBSD sources from just after the net80211 merge. There are no major changes, but this will make future merging easier.
Revision 1.24 / (download) - annotate - [select for diffs], Sat Sep 17 12:40:27 2005 UTC (6 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: iwi-before-import
Changes since 1.23: +32 -32
lines
Diff to previous 1.23 (colored)
KNF. That is change u_intN_t to uintN_t.
Revision 1.23 / (download) - annotate - [select for diffs], Thu Sep 15 19:56:50 2005 UTC (6 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.22: +3 -3
lines
Diff to previous 1.22 (colored)
Correct a debug message.
Revision 1.22 / (download) - annotate - [select for diffs], Mon Sep 12 21:15:04 2005 UTC (6 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.21: +5 -5
lines
Diff to previous 1.21 (colored)
Fix spello.
Revision 1.21 / (download) - annotate - [select for diffs], Mon Sep 12 21:11:11 2005 UTC (6 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.20: +3 -3
lines
Diff to previous 1.20 (colored)
Use the correct length parameter when capturing rx packets.
Revision 1.20 / (download) - annotate - [select for diffs], Sun Sep 4 06:58:20 2005 UTC (6 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.19: +26 -20
lines
Diff to previous 1.19 (colored)
Re-organise a bit to reduce diff to FreeBSD.
Revision 1.19 / (download) - annotate - [select for diffs], Tue Aug 30 21:18:47 2005 UTC (6 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.18: +3 -3
lines
Diff to previous 1.18 (colored)
Let the net80211 layer handle the transition to INIT as well. Testing by salo and me suggests that PR 31010 is fixed.
Revision 1.18 / (download) - annotate - [select for diffs], Tue Aug 30 21:14:29 2005 UTC (6 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.17: +5 -2
lines
Diff to previous 1.17 (colored)
Disestablish the power and shutdown hooks when detaching.
Revision 1.17 / (download) - annotate - [select for diffs], Tue Aug 30 21:05:47 2005 UTC (6 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.16: +6 -4
lines
Diff to previous 1.16 (colored)
KNF (and reduced diff to FreeBSD)
Revision 1.16 / (download) - annotate - [select for diffs], Sat Aug 27 07:26:47 2005 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.15: +4 -3
lines
Diff to previous 1.15 (colored)
Be explicit about which cards to setup .11a rates for. hi matt.
Revision 1.15 / (download) - annotate - [select for diffs], Fri Aug 19 14:26:38 2005 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.14: +82 -2
lines
Diff to previous 1.14 (colored)
Add shutdown and power hooks.
Revision 1.14 / (download) - annotate - [select for diffs], Fri Aug 19 08:50:06 2005 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.13: +347 -235
lines
Diff to previous 1.13 (colored)
More sync with the FreeBSD driver.
Revision 1.13 / (download) - annotate - [select for diffs], Mon Aug 1 15:14:54 2005 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.12: +13 -7
lines
Diff to previous 1.12 (colored)
- Match more product ids. - Don't initialise ic_phytype twice and do initialise ic_state. - announce available rates. - mark interface down if firmware crashes for the radio transmitter gets turned off.
Revision 1.12 / (download) - annotate - [select for diffs], Sat Jul 30 21:15:51 2005 UTC (6 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.11: +166 -98
lines
Diff to previous 1.11 (colored)
Partially fix. Now it comes up, associates with wep, but something is wrong with tcp since it crashes in wep encryption when I cvs update.
Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 7 00:43:01 2005 UTC (6 years, 10 months ago) by dyoung
Branch: MAIN
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored)
Cosmetic: use the idiom &ic->ic_nw_keys[0] instead of ic->ic_nw_keys, just be a little more parallel to &ic->ic_nw_keys[IEEE80211_WEP_NKID] on the same line.
Revision 1.10 / (download) - annotate - [select for diffs], Sat Jun 25 04:02:45 2005 UTC (6 years, 11 months ago) by dyoung
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.9: +13 -15
lines
Diff to previous 1.9 (colored)
Let ieee80211_input do WEP-decapsulation. Make iwi(4) provide a key-allocator that returns valid indices for the four global keys. Now net80211 should let the h/w do WEP encryption/decryption.
Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 22 06:16:02 2005 UTC (6 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.8: +38 -33
lines
Diff to previous 1.8 (colored)
Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9) from FreeBSD. Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch], sys/net80211/ieee80211_netbsd.[ch]). Update drivers (an, atu, atw, awi, ipw, iwi, rtw, wi) for the new net80211(9) API.
Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 20 09:03:44 2005 UTC (6 years, 11 months ago) by sekiya
Branch: MAIN
Changes since 1.7: +33 -5
lines
Diff to previous 1.7 (colored)
Implement monitor mode. From OpenBSD.
Revision 1.7 / (download) - annotate - [select for diffs], Tue Jun 7 11:33:55 2005 UTC (6 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.6: +3 -3
lines
Diff to previous 1.6 (colored)
Sync with pcidevs changes.
Revision 1.4.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:06 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.4: +8 -8
lines
Diff to previous 1.4 (colored) next main 1.5 (colored)
sync with -current
Revision 1.6 / (download) - annotate - [select for diffs], Wed Apr 13 00:19:44 2005 UTC (7 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.5: +3 -3
lines
Diff to previous 1.5 (colored)
fix an error message: could -> could not
Revision 1.4.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:35:11 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.4: +7 -7
lines
Diff to previous 1.4 (colored) next main 1.5 (colored)
sync with head. xen and whitespace. xen part is not finished.
Revision 1.4.4.3 / (download) - annotate - [select for diffs], Fri Mar 4 16:45:18 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.4.2: +7 -7
lines
Diff to previous 1.4.4.2 (colored) to branchpoint 1.4 (colored)
Sync with HEAD. Hi Perry!
Revision 1.5 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:33 2005 UTC (7 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3
Changes since 1.4: +7 -7
lines
Diff to previous 1.4 (colored)
nuke trailing whitespace
Revision 1.4.4.2 / (download) - annotate - [select for diffs], Mon Jan 17 19:31:24 2005 UTC (7 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.4.1: +2051 -0
lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored)
Sync with HEAD.
Revision 1.4.4.1, Sat Jan 15 13:27:23 2005 UTC (7 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4: +0 -2051
lines
FILE REMOVED
file if_iwi.c was added on branch ktrace-lwp on 2005-01-17 19:31:24 +0000
Revision 1.4 / (download) - annotate - [select for diffs], Sat Jan 15 13:27:23 2005 UTC (7 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-km-base2,
yamt-km-base,
matt-timespec
Branch point for: yamt-km,
ktrace-lwp,
kent-audio2
Changes since 1.3: +2 -5
lines
Diff to previous 1.3 (colored)
Remove local PCI_PRODUCT defines
Revision 1.3 / (download) - annotate - [select for diffs], Tue Jan 11 18:54:18 2005 UTC (7 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.2: +3 -5
lines
Diff to previous 1.2 (colored)
Disable the debug stuff
Revision 1.2 / (download) - annotate - [select for diffs], Tue Jan 11 18:49:05 2005 UTC (7 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.1: +2 -2
lines
Diff to previous 1.1 (colored)
NetBSD RCSID
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Tue Jan 11 18:24:26 2005 UTC (7 years, 4 months ago) by skrll
Branch: FreeBSD,
BERGAMINI
CVS Tags: iwi-netbsd-1-3-2
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
iwi(4) - Intel PRO/Wireless 2200AG/2915ABG driver. Written by Damien Bergamini, from http://damien.bergamini.free.fr/ipw/ Ad-hoc mode and roaming are not fully implemented yet.
Revision 1.1 / (download) - annotate - [select for diffs], Tue Jan 11 18:24:26 2005 UTC (7 years, 4 months ago) by skrll
Branch: MAIN
Initial revision