summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2005-11-05add bus_dma and big endian support.Brad Smith
From NetBSD Thanks to Jason Ackley for testing on i386/amd64/sparc64 with both T1 and T3 cards. "looks ok" dlg@
2005-11-05add init code for BCM5421.Brad Smith
values derived from Linux's sungem_phy driver, same init code also exists in Apple's GMAC driver too.
2005-11-05regenBrad Smith
2005-11-05BCM5421K2 -> BCM54K2Brad Smith
2005-11-05speeling fixDavid Gwynne
2005-11-05split from ki2c.cBrad Smith
2005-11-05some driver cleanup, ANSI/KNF and more consistency between the drivers.Brad Smith
ok joris@
2005-11-05Don't tempt fate by TAILQ_REMOVE()'ing inside TAILQ_FOREACH(), even ifKenneth R Westerback
we currently return immediately after the remove. Use for() idiom instead of TAILQ_FOREACH. Make clear we are doing a TAILQ_REMOVE() by eliminating wrapper function.
2005-11-05Move displaying rf/pa type to rtw_rf_attach to simplify code.Jonathan Gray
ok reyk@
2005-11-05Eliminate 'Overlapping Command Attempted' errors on non-tagged drives byKenneth R Westerback
a) Ensuring only one command is started at a time on such targets. b) Not fiddling with pSRB fields until it is really going to be started. c) Testing for a pending interrupt before starting to send stuff to the card. Found when testing queue.h stuff.
2005-11-04Change DEBUG conditionals into PMAP_DEBUG; no functional change.Miod Vallat
2005-11-04Add an extra flags argument to uvm_io(), to specify whether we want to fixMiod Vallat
the protection of the memory mapping we're doing I/O on, or if we want to leave them as they are. This should only be necessary for breakpoint insertion in code, so we'll only use it for ptrace requests. Initially from art@ after discussion with kettenis@ millert@ and I, tested by many.
2005-11-04don't bother setting error in em_attach() since it'sBrad Smith
not being used anyway.
2005-11-04- splimp -> splnetBrad Smith
- remove spl from attach - fix dmesg printing - de-allocate resources on failure to attach - remove redundant checks just before pci_mapreg_map() - use pci_mapreg_type()
2005-11-04- splimp -> splnetBrad Smith
- remove spl's from attach - fix dmesg printing - de-allocate resources on failure to attach
2005-11-04remove uneeded debug function.Jonathan Gray
2005-11-04Move access to RF tranceiver functions to be via callbacks.Jonathan Gray
"looks fine" reyk@
2005-11-04remove useless prototype; ok drahn@Uwe Stuehler
2005-11-04crank pf_state and pf_src_node byte and packet counters to u_in64_t, sinceRyan Thomas McBride
we're breaking pfsync compatibility this cycle anyways. Requested by djm@, ok henning@, 'wheee!' deraadt@
2005-11-04Add carp_hash() - hash the ethernet address of the ARP request and useRyan Thomas McBride
the result to determine which carp interface should answer rather than simply using the ip address. Fixes breakage debugged by Matt Bradford <m.bradford@isrc.qut.edu.au> 'just commit' deraadt@
2005-11-04only build powernow pieces as appropriate for config'd cpu typesTed Unangst
2005-11-04RCS Id tagUwe Stuehler
2005-11-03fix commentMartin Reindl
ok miod@
2005-11-03- fix error message printed when pci_mapreg_map() fails.Brad Smith
- initialize error to 0 in pcn_ioctl().
2005-11-03re-implement the bpf "filter drop" option that it actually works. theReyk Floeter
bpf FILDROP interface exists for about one year but the required interface to the drivers was missing - so it was useless. this new approach based on a design by henning@ uses a new mbuf flag to mark filtered packets and to drop them in the generic network stack input routines (like ether_input). for example; after some additional testing, this could be used by dhclient to filter everything except DHCP packets (track tech@ for a corresponding dhclient diff). the "filter dropped" packets won't reach the network stack. so it's probably some kind of a very basic application layer packet filter ;). ok canacar@, discussed with henning@ and others
2005-11-03revert to 20051009 for now, need to investigate strange behaviour withMartin Reindl
some controllers discussed with otto@ and henning@, first noted by miod@
2005-11-03use splvm() here instead of splimp(). in currently unused MULTIPROCESSOR code.Brad Smith
ok martin@
2005-11-03Don't remove elements inside TAILQ_FOREACH. Change to usual for()Kenneth R Westerback
idiom.
2005-11-02change zaurus fifo lenght back to 32 until some issues are sorted out.Federico G. Schwindt
requested by uwe@.
2005-11-02inherit sack_enable from the listen socket, this should allow connectionsMarkus Friedl
with both sack and md5 options in SYN.
2005-11-02Avoid a theoretical race condition.Aaron Campbell
In fork1(), setup the p_{prof,virt}_to timeouts _before_ putting the process on the runqueue. Since SCHED_UNLOCK() can cause pre-emption, it is possible (with the old code) for the newly created process to run and become curproc before the timeouts were set. If itimers are set early, and you're unlucky, hardclock() might fire at this time and attempt timeout_add() on the unset timeouts, leading to "panic: timeout_add: not initialized". deraadt@, miod@ ok
2005-11-02syncTheo de Raadt
2005-11-022 more puc devices by oxfordTheo de Raadt
2005-11-02It is invalid to scsi_done(xs) and then return TRY_AGAIN_LATER.Kenneth R Westerback
scsi_done() can release the scsi_request xs and TRY_AGAIN_LATER will refer to it and submit it for re-execution. This was being done only if bus_dmamap_load() failed. Ensure the controller resources are freed before returning TRY_AGAIN_LATER, since new resources will be allocated when the command is executed again. Don't bother setting xs->error before returning TRY_AGAIN_LATER as the code returned to sets xs->error to XS_BUSY. ok marco@
2005-11-02sync mbuf before unloading in gem_rxdrain().Brad Smith
From NetBSD
2005-11-02- unmap resources allocated by pci_mapreg_map() on failure to attachBrad Smith
- fixup PCI interrupt string printing and surrounding code to be more consistent with other drivers
2005-11-02Abstract delay code out and call it directly from XX_interpret_sense.Kenneth R Westerback
Makes the logic simpler by eliminating the XS_BUSY dance in xs->error, and will allow individual device types to delay different lengths on certain conditions. Allow SCSI_NOSLEEP commands to be retried without waiting. Who knows, they may work even without a delay. ok marco@
2005-11-02handle TX underrun and packet too long errors by resetting the chip.Brad Smith
From NetBSD ok krw@
2005-11-01remove Mach macros, they were unused anywayMartin Reindl
2005-11-01In uvm_swapout(), protect "p->p_swtime = 0;" with SCHED_LOCK() as is alreadyAaron Campbell
done in uvm_swapin(). Looks like this was a mistake made while editing. No response from art@. deraadt@, miod@, pedro@ ok
2005-11-01Always sure that we have memory for the 'dst' scrub information, which mayChristopher Pascoe
not have been allocated at the initial state synchronisation time. ok henning@
2005-11-01Remove the call to ieee80211_ifattach() for the moment as itJonathan Gray
makes wi prematurely depend on net80211 code which bloats the ramdisks. ok dlg@
2005-10-31- some DEBUG should be GEM_DEBUGBrad Smith
- introduce gem_bitwait() to factor out some of the register wait code From NetBSD - remove some statics - remove parameter names from prototypes ok kettenis@
2005-10-31Fix reading large files; from NetBSD. Somehow this was overlookedOtto Moerbeek
when earlier merges were done. Fixes PR 4250. ok millert@ deraadt@
2005-10-31jsg forgot to specify that wi(4) now needs wlan option; ok miodTheo de Raadt
2005-10-31ammount -> amountMiod Vallat
2005-10-31typoBrad Smith
2005-10-31print something useful about mainbus, system model as reported by Openfirmware.Dale Rahn
2005-10-31regenJonathan Gray
2005-10-31A few more nvidia video cards, mostly from submitted dmesgs.Jonathan Gray