summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-02-07enable bio(4)David Gwynne
ok drahn@
2007-02-07bus_space_{read,write}_raw_region_[24] take the length of the buffer theyreDavid Gwynne
operating on as bytes, not as the number of words or dwords. ok drahn@ kettenis@
2007-02-06Define trap #0x81 for cache range flush, will be necessary soon for gccMiod Vallat
trampoline code and ld.so.
2007-02-06Get memory size from SH-IPL+g whenever possible, before relying upon theMiod Vallat
hardcoded 64MB. No functional change since we have not encountered non-64MB systems yet.
2007-02-06Use uvm_grow() instead of rolling our own inline version.Miod Vallat
2007-02-06define the bio(4) cdev stuff in conf.h, rather than having a per machineDavid Gwynne
definition. switch amd64 and i386 to the conf.h version, and add it to macppc. original diff ok gwk@ tweaks and ok miod@
2007-02-06Evil typo; spotted by Thorsten GlaserMiod Vallat
2007-02-06fix some dodgy displays;Jason McIntyre
2007-02-06Added support for calling _OSI methodJordan Hargrave
Display byte/word/string/nameref for aml_mnem function ok marco@
2007-02-06Use atomic.h operation for manipulating p_siglist in struct proc. SolvesArtur Grabowski
the problem with lost signals in MP kernels. miod@, kettenis@ ok
2007-02-06Add machine/atomic.h to all architectures and define two operationsArtur Grabowski
right now that are supposed to be atomic with respect to interrupts and SMP: atomic_setbits_int and atomic_clearbits_int. All architectures other than i386 and amd64 get dummy implementations since at first we'll be replacing operations that are done with "a |= bit" and "a &= ~bit" today. More proper implementations will follow kettenis@, miod@ ok
2007-02-06Change the behaviour of tun(4) on close.Claudio Jeker
- if the interface was auto-created by opening a /dev/tun* device it will auto-destroy on close. This is comparable to ifconfig tun0 destroy and will remove all routes and addresses associated with the interface. - if the interface was created by ifconfig(8) or hostname.if(5) the interface is persistent -- it is just marked as not running. Especially routes are no longer removed when the interface is closed. This is useful for static setups like the server side of a ssh vpn or static qemu session. This behaviour is more logic then the half done cleanup that is currently done. OK mpf@
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