summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-02-06add macros describing the ports interrupt status, interrupt enable, taskDavid Gwynne
file descriptor, sata control, and sata error registers. some %b fmt strings are sprinkled around so i can read all this goo better as well.
2007-02-06De-register. No object code change.Kenneth R Westerback
From Bret Lambert.
2007-02-05Map the pci space registers, so that the MEMORY enable gets turned on,Dale Rahn
otherwise if openfirmware has not touched the device yet, the kernel faults on the alternate mappings that are created. ok dlg@
2007-02-05Oops, forgot to commit these files when adding md mutex code; spotted by nick@Miod Vallat
2007-02-04Add zyd to cd ramdisksJonathan Gray
ok deraadt@
2007-02-04Correctly fake dinode for the FFS2 case in handle_workitem_freeblocks()Pedro Martelletto
Okay millert@
2007-02-03Make comment match code. ok pedroAlexander Bluhm
2007-02-03Simple single-processor mutex implementation, simpler than the MI code byMiod Vallat
use of MD spl code bowels. No functional change.
2007-02-03Don't spoof an msdosfs partition if it claims to start after the endKenneth R Westerback
of the disk. Fixes the creation of spurious 'i' partitions on new iPod Shuffle. And other devices with no MBR, just a FAT32 filesystem. Pointed out most recently by Stephan A. Rickauer for his sixth generation, clip-on iPod shuffle. Fix tested by Stephan. ok pedro@ tom@ miod@ 'nice' deraadt@
2007-02-03Change sensor description to `docked'/`not docked' depending on actualMichael Knudsen
state. This is more in line with acpiac and acpibat, and it confuses me less when I look at the sensor output.
2007-02-03There is no good reason to disable half of the 7751 cache, so don't.Miod Vallat
2007-02-03Remove unused functionality from lockmgr():Miod Vallat
- LK_EXCLUPGRADE is never used. - LK_REENABLE is never used. - LK_SETRECURSE is never used. Because of this, the lk_recurselevel field is always zero, so it can be removed to. - the spinlock version (and LK_SPIN) is never used, since it was decided to use different locking structure for MP-safe protection. Tested by many
2007-02-03Fix typo; clear tx FIFO underrun IRQ as intended instead of rx FIFO overrunMark Kettenis
IRQ. From brad@
2007-02-03Don't set the RL_CFG1_FULLDUPLEX bit. The RL_CFG1_FULLDUPLEX bit inKenneth R Westerback
config register 1 is only valid with the 8129 chipset. The rtl81x9reg.h header has this bit marked with a comment indicating it is for the 8129 chipset and the 8168/8169 datasheets confirm that this bit is not valid for the newer chipsets. From yongari@FreeBSD via brad. Tested by brad, kettenis and otto.
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