summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-02-02up the accepted length to ETHER_MAX_LEN + ETHER_VLAN_ENCAP_LEN on rx; from brad@Jason Wright
2007-02-01When doing signotify, check if we're notifying a process on anotherArtur Grabowski
cpu and if we do, send it an IPI that will force to get into the kernel and process the AST. This makes signals to processes on other CPUs to be actually delivered as soon as possible instead of some time in the future when some interupt happens. heavy testing by krw@, miod@ ok (in principle, since he doesn't do amd64)
2007-02-01Rename the MICROSET IPI we inherited from NetBSD to simply NOP sinceArtur Grabowski
it doesn't do anything (other than poking into the kernel a processing ASTs).
2007-02-01correct rfc; from Kris KatterjohnJason McIntyre
2007-02-01Don't throttle and serialize I/O operations, okay miod@ krw@Pedro Martelletto
Fixes kern/5347
2007-01-31Introduce acpi_hasprocfvs thats "ACPI Has Processor Frequency and VoltageGordon Willem Klok
Scalling" a global flag set by acicpu attach to indicate that ACPI is handling fvs through the _PSS objects. This will fix disappearing EST/powernow when booting kernels with acpi enabled, as acpicpu isnt compiled into GENERIC yet. Also in cases where acpicpu is built in and legacy EST/powernow work but acpi is missing the _PSS object, the legacy routines will be used. tested by dim@, and Nick Nauwelaerts <nick AT nauwelaerts.net> ok marco@, dim@
2007-01-31oops. now is the miodski version of the diff (;Michael Shalayeff
2007-01-31run a timeout (calling intr handler) to recover from in buffer oflows that ↵Michael Shalayeff
make no ints; w/ help from miod@ and ok miod@
2007-01-31Workaround for the problem where the SD card reader stops responding afterClaudio Jeker
a card is ejected. Problem identified and patch provided by Matthew R. Dempsky < mrd at alkemio dot org >: > According to the Simplified SD Host Controller spec, this change > shouldn't affect anything. All of the bits in the Software Reset > register are labeled as ignoring 0-bit writes, and yet somehow it > changes behavior. This seems to reliably fix the problems seen on many X40 laptops. Tested by many, OK beck@, "should be good to go" henning@
2007-01-31macros describing a ports sata status registerDavid Gwynne
2007-01-31handle the full duplex link state in trunk(4). load sharing trunksReyk Floeter
with at least two ports are always handled as full fuplex links. this change will allow trunks as edge ports in a rstp bridge(4). ok brad@ pyr@
2007-01-30Simplify agp_generic_bind_memory by not trying to allocate big chunksDimitry Andric
of contiguous memory in a loop. This should save contiguous memory for other drivers, and AGP doesn't need it. Tested by many, ok miod
2007-01-30default to have pckbd_set_xtscancode() instruct the 8042 to usejoshua stein
table 3, still falling back on table 2 or 1 after carefully checking that the table set request took fixes the keyboard on the oqo model 01/01+ in snaps for a while, tested by many ok miod@
2007-01-30Oops, missed this in the regen commit.Jonathan Gray
Pointed out by pedro@
2007-01-30update vic(4) to use the LINK_STATE_IS_UP() macroReyk Floeter
2007-01-30Allow the bnx(4) driver to make use of all of the available hardwareKenneth R Westerback
multicast hash slots. The bnx(4) hardware supports 8 slots instead of 4 like the bge(4) hardware. From Mike Karels via FreeBSD Tested by Brad, biorn@ and Johan M:son Lindman
2007-01-30Rough in more support for 5787/5755 chips so far known to not work orKenneth R Westerback
unreported in the wild. In this case add a PHY workaround for an eventual mobile version of the chipset. No change to existing functionality. From Michael Chan (mchan@broadcom), via Linux tg3 and brad.
2007-01-30Add some umsm devices found in Linux driver.Jonathan Gray
"looks good" fkr@
2007-01-30regenJonathan Gray
2007-01-30Add some additional umsm products found in Linux driver.Jonathan Gray
2007-01-29LCD device driver support for luna88k, first step.Kenji Aoyama
ok miod@
2007-01-29Bump fixed part of the stackgap to 2k. Allows two full paths to beOtto Moerbeek
stored, needed by systrace. ok deraadt@ miod@
2007-01-28regenMark Kettenis
2007-01-28Add nVIDIA GeForce 7800 GS. From Jim Razmus.Mark Kettenis
2007-01-28Fix a number of issues with vesabios discovered by miod@Gordon Willem Klok
1. Add bounds checking to vga_pci_mmap, fixing a potential security issue. Limit the amount of memory to what the vbe info structure says the card card has. This should be nicely refined to limit to the amount of memory needed by the active resolution and depth but this will do for the time being. 2. Fix several places in vesafb.c where the return of kvm86_bios_addpage() isnt being checked. Also ensure that if vesafb_get_mode_info() fails that it cleans up after itself by releasing the page it added. 3. Correct the range checks in vesafb_putcmap and vesafb_getcmap, harmonize code with similar code found else where. ok miod@
2007-01-28Fix pasto.Mark Kettenis
2007-01-28Properly route lapic NMIs.Mark Kettenis
2007-01-28optimize m68k writeback():Miod Vallat
- it can really only be invoked from trap(), not from other userret() callers, so it is safe to hardcode its docachepush parameter to 1. - use pmap_kenter_pa()/pmap_kremove() for the temporary mapping instead of pmap_enter()/pmap_remove(). optimize m68k userret(): - define PROC_PC for m68k systems. - only check want_resched when processing T_ASTFLT traps. - provide two version of userret(), one which will also invoke writeback() on 68040 if required, which is only invoked from trap(), and regular userret(). This speeds up system call returns.
2007-01-28Restore spl level before exiting on error.Kenneth R Westerback
Noted by Matthew R. Dempsky.
2007-01-27Only allow a single instance of acpimadt(4).Mark Kettenis
2007-01-27Only allow a single instance of acpimadt(4).Mark Kettenis
2007-01-27When flooding dmesg with ``can't read/write phy register'', be nice enough toMiod Vallat
print the register number, so that someone gets a chance to investigate the problem.
2007-01-27In autoneg mode, use RL_MEDIASTAT on re(4), like we do on rl(4) already.Miod Vallat
2007-01-27Add some more _STA flags.Marco Peereboom
2007-01-27No need to invoke _INI explicitly as this is currently doneMichael Knudsen
automagically out by some acpi voodoo. Pointed out by marco.
2007-01-27Don't invoke methods on the wrong devnode. Sigh.Michael Knudsen
2007-01-27Unbreak build with ACPI_DEBUG.Michael Knudsen
2007-01-27Enable transmit TCP/UDP checksum offload.Kenneth R Westerback
From Brad, tested by Brad, biorn@ and Johan M:son Lindman.
2007-01-27Only set sensor to on when ACPIDOCK_STATUS_DOCKED. Before it would alsoMichael Knudsen
be on if ACPIDOCK_STATUS_UNKNOWN.
2007-01-27Delay status report during attach until after invoking _DCK.Michael Knudsen
2007-01-27convert to our locks to rwlocks.David Gwynne
2007-01-27Say ``docking station'' instead of ``docked'' in the sensor descriptionMichael Knudsen
because this confuses me when I read it: hw.sensors.acpidock0.indicator0=Off, (docked)
2007-01-27Reading the spec again it seems I missed that the _INI methodMichael Knudsen
should be invoked only when _STA says the device is present. Change acpidock_attach to this.
2007-01-26Actually add the acpidock indicator sensor stuff to the softc struct soMichael Knudsen
acpidock compiles. I had this in my tree and forgot to commit with the acpidock.c change yesterday. :( Reported by Johan Mson Lindman.
2007-01-26Deal with zero wraparound in DVMA range checks;Marc Aurele La France
Fix default DVMA range for Schizo's with no "virtual-dma" property; Add TSB size indicator to Schizo & Psycho debugging messages. ok jason@
2007-01-26Workaround for an issue with em(4) interfaces on Lenovo X60/T60 laptops whereTobias Weingartner
the interface will fail to initialize with an EEPROM error if the interface does not have a link upon boot. Tested by mk@ and janek@ From Jack Vogel@Intel via brad
2007-01-26remove duplicate test; from bradJason Wright
2007-01-26remove ancient device-specific trick from ffs1_blkpref()Pedro Martelletto
okay toby@ millert@
2007-01-26When switching mode inherit the TUN_NBIO and TUN_ASYNC flags and clearClaudio Jeker
these flags on close. OK mpf@
2007-01-26As per PCI specs, disable an adapter's transaction response whileMarc Aurele La France
sizing its BARs. tested niallo@, tsi@, ian@, mk@, sturm@, kettenis@, krw@, beck@, drahn@ ok beck@, kettenis@, drahn@