summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-10-23- remove the TODO comments at the top.Brad Smith
- add the VLAN headers.
2006-10-23Move towards winter.Miod Vallat
2006-10-23Correctly invoke sh_clock_init() [merge error]Miod Vallat
2006-10-23Reduced memory allocations for temporary valuesJordan Hargrave
2006-10-23Attach shb before shpcic, to get us a clock earlier.Miod Vallat
2006-10-23Do not match on non-shpcic config stanza.Miod Vallat
2006-10-23Do not panic on a ddb invocation with curproc == NULL, and don't try toMiod Vallat
userret() either on return.
2006-10-23Add interrupt name, however need to determine if the passed parameter is safeDale Rahn
to store or might be on the stack.
2006-10-23remove detach() function. this is not hotplug and this is dead code.Damien Bergamini
2006-10-23make sure wpi_iter_func() is called at splnet.Damien Bergamini
simplify wpi_dma_contig_alloc(). various cosmetic tweaks while i'm here.
2006-10-23simplify zyd_read_eeprom().Damien Bergamini
2006-10-23turn link led off when returning to the S_INIT state.Damien Bergamini
implement fast channel switching for monitor mode.
2006-10-23make the pflog interface clonable.Henning Brauer
for now, only allow pflog0 to be created. keep an array of ifps to the pflog interfaces with the unit # as index for fast access. if pflog0 does not exist, no logging is done (just like if it is down). on machines without pf enabled, this makes the pflog0 interface go away, on machines with pf, rc sets up pflog0 and starts pflogd, no change there. idea old (pf2k4 or c2k5?), hacked at the hack.lu 2006 conference, ryan ok
2006-10-23fix control message length check, needs CMSG_ALIGN()Henning Brauer
reported by ryo@nerv.org to netbsd, noticed by miod, ok millert
2006-10-23use the Sundance TC9021 ids. this was done so that stge(4) will attachBrad Smith
properly with the sample boards and not have dmesg print unknown product.
2006-10-23regenBrad Smith
2006-10-23add the Sundance TC9021 PCI ids.Brad Smith
2006-10-23Change bandit as found in many old world macs to use configuration type 1.Gordon Willem Klok
Alter range calculation to handle bandits dual non contiguous PCI memory spaces. Finally fix a bug whereby if the "AAPL,Interrupts" property is defined the variable intr isn't assigned a value and garbage may be written to the PCI interrupt register. tested by jolan, pedro, drahn and myself, and in snaps for a week. ok drahn, deraadt
2006-10-22more bits of cleanup before marco gets to playTheo de Raadt
2006-10-22fetch the name of the cd device attached to the atapiscsi scsibus byDavid Gwynne
following the child device that attaches to us. this is cleaner than using the scsibus member of the adapters sc_link to look up the correct unit.
2006-10-22strncpy -> strlcpyDavid Gwynne
2006-10-22Set Jumbo frame settings for Jumbo capable bge(4) adapters.Brad Smith
Tested with BCM5700, BCM5703 and some BCM5704's.
2006-10-22recognize the BCM5715 A3 chipset.Brad Smith
2006-10-22regenBrad Smith
2006-10-22add the ASPEED Technology vendor id, AST2000 product id and an NVIDIA MCP55Brad Smith
PCI-ISA bridge.
2006-10-22DMA memory for the TX ring should be aligned at RL_RING_ALIGN,Brad Smith
not RE_ETHER_ALIGN. From tsutsui@NetBSD Tested on alpha/amd64/armish/i386/sparc64
2006-10-22now with the right revision of this diff which compiles. ok pedro, mglocker.Brad Smith
- Ensure that at least 16 TX descriptors are kept unused in the ring. - Use more complete error handling for TX load problems. From scottl@FreeBSD
2006-10-22Fix colormap programming in 4bpp mode.Miod Vallat
2006-10-22make data LED blink upon TX.Damien Bergamini
2006-10-22make sure ni->ni_txrate is always initialized to a meaningful value byDamien Bergamini
redefining ic->ic_newassoc. this should prevent "bogus xmit rate" panics when operating in HostAP mode.
2006-10-22replace rssadapt(9) with amrr for automatic rate control.Damien Bergamini
as a side-effect, this should fix all the "bogus xmit rate" panics users have been complaining about for some time when operating in HostAP mode.
2006-10-22do per-node rate control.Damien Bergamini
2006-10-22Check that ni->ni_rates.rs_nrates is not greater than sizeof rs.rates inDamien Bergamini
iwi_auth_and_assoc() before copying the rate set. The firmware command allows a maximum of 12 rates to be defined while the ieee80211_rateset structure can contain up to 15 rates. Notice that this should not happen since the rate set is supposed to be negotiated at that time but Jeremie Le Hen sees some evidence of this happening in FreeBSD. In case it happens, print a diagnostic message and truncate the rate set. Pointed out by Jeremie Le Hen.
2006-10-22oops, the eventnotify stuff was accidentally enabled with the scsiconfDavid Gwynne
changes. its not ready yet, so disable it again.
2006-10-22Activate RX radiotap. We have RSSI for now.Marcus Glocker
2006-10-21does not compileTheo de Raadt
2006-10-21Fix RX handling; the chip injects control data in front and betweenMarcus Glocker
a 802.11 frame which needs to be cut off. Looks like we receive the first correct looking management frames now. Add first radio bpf mtap bits but don't activate them in the RX handler yet. Need first to find out which radio data the card delivers.
2006-10-21- Ensure that at least 16 TX descriptors are kept unused in the ring.Brad Smith
- Use more complete error handling for TX load problems. From scottl@FreeBSD
2006-10-21Don't try to spoof 0 length DOS MBR/EBR partitions. By skippingKenneth R Westerback
partitions with 0 in the length field we don't need to test for and skip partitions that are all zeros. Eliminating that code allows elimination of a local pointer. "0 length partitions are definately dead" deraadt@
2006-10-21enable zydTheo de Raadt
2006-10-21some extra const disease damien was testing slipped in; ok damienTheo de Raadt
2006-10-21huge diff to bring zyd(4) into a working state.Damien Bergamini
should work with ZD1211 (not ZD1211B!) adapters with either a RFMD or AL2230 radio chip. does not support IBSS or HostAP modes yet. committed over a Billion 3011G (ZD1211/AL2230). "commit it!" deraadt@
2006-10-21Retire B_LOCKED and BQ_LOCKED. The last real usage of theThordur I. Bjornsson
flag and the buffer queue went away when LFS was removed. ok, pedro@ "looks sane", deraadt@ testing: tybollt@solace.miun.se
2006-10-21Some KNF cleanup.Kenneth R Westerback
De-register. Move declaration to top of function for DOS MBR processing. Indent nit in macppc. No functional change.
2006-10-21syncDamien Bergamini
2006-10-21Intel PRO/Wireless 3965ABGDamien Bergamini
2006-10-21Do not pass down IOBASEUNK/MADDRUNK/IRQUNK.Mark Kettenis
ok miod@, drahn@
2006-10-21We have a pointer (pp), so use it in the DOSPTYP_UNUSED case ratherKenneth R Westerback
than lp->d_partitions[8+n++]. All other cases already use the pointer. No functional change.
2006-10-21the create and destroy functions for clonable interfaces return 0 onHenning Brauer
success, not -1 on error. fix check in 2 cases. ok mpf mcbride
2006-10-21rework the bus scanning code by splitting it out into separate functionsDavid Gwynne
for walking the bus and targets, and probing the luns. this removes the need to use magic numbers to wildcard each of these, which in turn makes the code a lot easier to read. as a bonus we get some more space to work in (80 chars isnt that much somtimes). note that this code wont probe high luns if lun 0 doesnt exist. ok krw@