summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-03-10enable urtw(4)Kevin Lo
ok jsg@
2009-03-10remove IBSS and HostAP modes since these aren't advertised in ic->ic_capsKevin Lo
pointed out by jsg@
2009-03-10Add ips_intrds() function to be able to disable interrupts on hardware.Alexander Yurchenko
2009-03-10Limit registers space size to some reasonable value.Alexander Yurchenko
2009-03-09Initial stab at a driver for FFB3/XVR-1000. It seems to work fine, but withoutMark Kettenis
acceleration it is a tad bit slow, so leave this disabled for now.
2009-03-09Completely rework command processing:Alexander Yurchenko
- use separate callbacks to finish scsi and raid management commands; - for raid management commands use dedicated dma-safe buffer; - remove unused run queue; The main goal of these changes is to fix a bug showing up on the lpinto's machine where READCONF command fails because it needs more than 1-page buffer and the buffer was not contiguos and controller doesn't support scatter-gather for raid management commands.
2009-03-09Switch mvme88k to timecounters.Miod Vallat
2009-03-09Clarify comment in namei(): the code commented doesn't check if theBret Lambert
path being looked up *is* a symlink, it checks if it *is not* a symlink and returns the vnode looked up in that case. ok thib@
2009-03-09Make the DIOCSETIFFLAG, DIOCSETLIMIT, and DIOCSETTIMEOUT ioctlsRyan Thomas McBride
transactional, closing PRs 4941 and 5910. Minor flag day, requires rebuild of userland tools that use struct pfi_kif. ok henning deraadt
2009-03-09Do not start printing device info before attachment succeeded.Stefan Sperling
ok claudio@
2009-03-08Fix dmesg output for child devices not configured (e.g. lpt on RAMDISK).Miod Vallat
2009-03-08g/c now unused extern declaration for avail_endMartin Reindl
ok miod@
2009-03-08Move more z8536 defines from MVME188 specific code to the MI header and use it.Miod Vallat
2009-03-08If a session leader exists s_leader is set to NULL, so don't dereference itMark Kettenis
unconditionally. ok miod@
2009-03-08Add support for Geyser2 devices from NetBSD and fix some Geyser1 devices thatRobert Nagy
can be found in iBook G4 12". Remove references for LCD panel sizes because the same device can be found on different sized laptops and it has nothing to do with the trackpad. Introduce a type variable that stores the device type: FOUNTAIN, GEYSER1 or GEYSER2. This value helps deciding some of the device parameters and it gets printed in the dmesg instead of the panel size. Introduce "mouse button emulation" on multi-touch trackpads just like in macos, so it's not needed to bind mouse buttons to the keyboard anymore: Tap two fingers + mouse button = 3rd mouse button = right click Tap three fingers + mouse button = 2nd mouse button = middle click Discussed with and ok: miod@ and maja@
2009-03-07No need to spam log with 'unable to alloc CCB' messages now thatKenneth R Westerback
NO_CCB is in place and the I/O is retried rather than discarded. So move the message inside a #ifdef CAC_DEBUG. Noticed by jbg@.
2009-03-07Make sure the scsi_xfer timeout is set up before the command may complete;Miod Vallat
similar fix to osiop.
2009-03-07When allocating memory in bus_dmamem_alloc() with uvm_pglistalloc(), do notMiod Vallat
try to be smart for the address range, uvm_pglistalloc() is smart enough nowadays.
2009-03-07No need to register a soft interrupt for softclock, it's done in MI code.Miod Vallat
2009-03-07regenJonathan Gray
2009-03-07Mobility Radeon HD 3400 from Eric JACQUOT and someJonathan Gray
additional entries from submitted dmesgs.
2009-03-07Misc cleanups, remove dead codeJordan Hargrave
Normalized api for conversion/concatenation ok marco@
2009-03-07Make sure pd2 has a pointer to the icmp header in the payload; fixesRyan Thomas McBride
panic seen with some some icmp types in icmp error message payloads. Reported by david@ and insan.praja@gmail.com
2009-03-06Fix setting of the Short Slot Time subfield of the Capability InformationDamien Bergamini
field in (Re)Association Requests. This fixes association with APs refusing non-short-slot-time capable STAs. This should also prevent the AP we're associating with to disable the use of short slot time in the BSS as we join. Fix debug message in recv_assoc_resp() while I'm here (s/reason/status/). Scary. Thanks to Adam Emanuel for spotting this.
2009-03-06Bring a few more PCI IDs from freebsd to match IBM ServeRAID 8i and 8s.Alexander Yurchenko
Not tested but should work.
2009-03-06Add a few more cpu types from freebsd driver found on serveraid-8k board.Alexander Yurchenko
Tested by apelsin. ok deraadt@
2009-03-06Bring NO_CCB to mpi.Kenneth R Westerback
ok marco@
2009-03-05Demacro the inteldrm ring macros too, making them use bus_space_writeOwain Ainsworth
instead of assuming BUS_SPACE_LINEAR + bus_space_vaddr while i'm at it. Cleans things up nicely, and shaves a little bit of space, too.
2009-03-05De-macro the ring manipulation macros in favour of functions. Saves aOwain Ainsworth
large pile of space. Tested by several, thanks.
2009-03-05Additional paranoia for the indirect buffer checking.Owain Ainsworth
2009-03-05Do a similar thing to inteldrm re removing the old vblank crtcOwain Ainsworth
inferfaces. Shrinks the code.
2009-03-05Kill a bunch of (long long long) dead ioctls.Owain Ainsworth
Shaves some bytes.
2009-03-05Remove the stats_boxes counters and associated code from radeondrm.Owain Ainsworth
They're really not all that useful.
2009-03-05Change SMP secondary processor startup to have them ``hatch'' earlier,Miod Vallat
so that they can invoke sched_init_cpu() before the scheduler starts, which allows the horrible kluge in cpu_configure() to die.
2009-03-05Add support for IBM ServeRAID-8k. Thanks to Sergey PrysiazhnyiAlexander Yurchenko
<apelsin@atmnis.com> for patiently testing my numerous diffs. ok deraadt@
2009-03-05Bump bus space size limit to fit all possible registers of the roketAlexander Yurchenko
chipset. ok deraadt@
2009-03-05Make ELF platforms generate ELF core dumps. Somewhat based on code fromMark Kettenis
NetBSD. ok kurt@, drahn@, miod@
2009-03-05Fix a panic in ether_output() when attempting to send multicast traffic onMichele Marchetto
MPLS enabled kernels. ok claudio@
2009-03-05Rip out old fieldio code (no longer used)Jordan Hargrave
ok marco@
2009-03-05New ACPI fieldio routinesJordan Hargrave
Fix for PR6017, tested extensively on @tech ok marco@
2009-03-05Stricter state checking for ICMP and ICMPv6 packets: include the ICMP typeRyan Thomas McBride
in one port of the state key, using the type to determine which side should be the id, and which should be the type. Also: - Handle ICMP6 messages which are typically sent to multicast addresses but recieve unicast replies, by doing fallthrough lookups against the correct multicast address. - Clear up some mistaken assumptions in the PF code: - Not all ICMP packets have an icmp_id, so simulate one based on other data if we can, otherwise set it to 0. - Don't modify the icmp id field in NAT unless it's echo - Use the full range of possible id's when NATing icmp6 echoy ok henning marco testing matthieu todd
2009-03-04Clean up the ipi code a bit and try to provide useful comments as well.Miod Vallat
2009-03-04Since 88110 processors can not flush individual TLB entries, instead ofMiod Vallat
flushing the whole TLB block every time a pte is modified, store a bitmask of pending flushes and do them at pmap_update() time. 88100 behaviour is unchanged.
2009-03-04Introduce atomic_clear_int() as an MD atomic operation to perform atomicMiod Vallat
exchange with zero; use it in the soft interrupt code to make it simpler and faster.
2009-03-04When handling clock interrupts, check the overflow counter to know how manyMiod Vallat
times hardclock() needs to be invoked; fixes clock drift found on 197DP with SMP kernels.
2009-03-04don't bus_space_unmap() sc->mt_ioh with the wrong bus tagAlexandre Ratchov
from Alexandr Shadchin <ShadchinAV(at)mail.ru>, Thanks!
2009-03-04Fix stupid logic bug in rw_cas_m88k(), makes NFS much happier on SMP kernels.Miod Vallat
2009-03-03put back r1.25 (poisoning chain pointers after removing items from theMiod Vallat
wheel). This was safe, except for osiop bugs.
2009-03-03Make sure the scsi_xfer timeout is triggered while the command is still alive.Miod Vallat
With the current code, a fast command could complete between splx and the timeout being triggered, we'd then happily return COMPLETE, reuse the scsi_xfer, schedule the timeout again, causing a nice cycle in the timeout wheels. (I know, I know, I have to inspect all other scsi drivers now, but I'm really tired after spending three hours on this)
2009-03-03shorten sizes of variables to the required number of bits, and removeTheo de Raadt
unused variables, tested by todd ok kettenis