summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-10-06remove dead stores and newly created unused variables.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok weingart@
2008-10-06Don't force multi transaction endpoints (>1024 bytes) down to singleMarcus Glocker
transactions. From NetBSD.
2008-10-06Unconditionally compile idt_vec_xxx functions.Mark Kettenis
2008-10-06Add missing checks for sc_focus being NULL. Found the hard way byMiod Vallat
Jesus Sanchez.
2008-10-06uvn_attach message is purely diagnostic, not neededTheo de Raadt
no ok's from anyone because they are all slacking
2008-10-06syncTheo de Raadt
2008-10-06another geforceTheo de Raadt
2008-10-06Detect and store the PCI/PCIe bus speed.Brad Smith
From DragonFly
2008-10-05Add a flag to indicate a 64-bit PCI bus is present.Brad Smith
2008-10-05Detect if the adapter is a PCIe adapter and set the RL_FLAG_PCIE flagBrad Smith
if so.
2008-10-05Remove IOAPIC ID remapping code. It should not be necessary to avoid reusingMark Kettenis
LAPIC IDs and if there are MPBIOSes we handle them with ACPI now. ok deraadt@
2008-10-05Always update published link state even if the internal link state doesn'tMark Kettenis
change. Prevents us from getting stuck in LINK_STATE_UNKNOWN. Fixes PR 5914. tested by deraadt@, sthen@ ok deraadt@
2008-10-05In malloc_page_free(), restore the correct wire_count value.Miod Vallat
2008-10-05Add missing argument to printf.Mark Kettenis
2008-10-04The wrong byte of the return code was being looked at for theTheo de Raadt
PCI probe. Yuichiro Goto, PR 5048 It would be nice if someone with a "pci0 at mainbus0 bus 0: configuration 2" system would double check this and mail us back. ok toby
2008-10-04regenMark Kettenis
2008-10-04Some AMD RS780 IDs (same as those listed under ATI).Mark Kettenis
2008-10-04Fix potentially uninitialized variables in syscall().Miod Vallat
2008-10-04Remove bogus code from the error path in sr_raid0_rw(); ok marco@Miod Vallat
2008-10-04Commit cleanup part of the diff that was backed out in the previous commitMark Kettenis
(removal of unused functions). requested by deraadt@
2008-10-04More Linksys models (to match the Netgear ones) from PR 3879. I am notTheo de Raadt
adding the PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID version though without proof that it actually exists.
2008-10-04this is not the cvtql/sv opcode. ok miod@, naddy@Martynas Venckus
2008-10-04At clock initialization, if we discover that tickadj is 0 (due to veryTheo de Raadt
high HZ) set it to 1, to avoid various divide-by-zero errors later Based on discussion in PR 5511 ok miod
2008-10-04When closing the video stream switch back to default interface as lastMarcus Glocker
action. Shuts down the device gracefully.
2008-10-03Backout. kettenis@ has reservations.Tobias Weingartner
2008-10-03Use ether_ioctl().Brad Smith
2008-10-03Return ENOTTY for unknown ioctl's.Brad Smith
2008-10-03Make extra cpu's in DDB not spin in tight loop.Tobias Weingartner
Having them 'hlt' is a good thing, especially where thermal management (acpi, etc) is concerned. They wake up lots due to local tick timer anyhow. ok gwk@
2008-10-03and.. another option device..Theo de Raadt
2008-10-03syncTheo de Raadt
2008-10-03another option hdspaTheo de Raadt
2008-10-03syncTheo de Raadt
2008-10-03Make sigwait() work correctly. In particular, it'll work when thePhilip Guenthe
signal is already pending in the calling thread or the main thread and there's no longer a race condition where the signal could be diverted but sigwait() would still block. There were some off-by-one errors too. (The checking of the main thread's pending list is just until a pending list for the process can be added to struct process. For now, such signals end up as pending on the main thread.) oks tedu@ and art@
2008-10-03Return ENOTTY for unknown ioctl's.Brad Smith
2008-10-03Return ENOTTY for unknown ioctl's.Brad Smith
2008-10-03Merge xe_ether_ioctl() into xe_ioctl() which was just a handler forBrad Smith
SIOCSIFADDR, now this looks like every other driver. Also return ENOTTY for unknown ioctl's. Reduces i386 GENERIC by 112 bytes.
2008-10-03Remove a few small ifdef/ifndef OpenBSD sections which contained someBrad Smith
NetBSD code.
2008-10-03KNF.Brad Smith
2008-10-02First step towards cleaning up the Ethernet driver ioctl handling.Brad Smith
Move calling ether_ioctl() from the top of the ioctl function, which at the moment does absolutely nothing, to the default switch case. Thus allowing drivers to define their own ioctl handlers and then falling back on ether_ioctl(). The only functional change this results in at the moment is having all Ethernet drivers returning the proper errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown ioctl's. Shrinks the i386 kernels by.. RAMDISK - 1024 bytes RAMDISKB - 1120 bytes RAMDISKC - 832 bytes Tested by martin@/jsing@/todd@/brad@ Build tested on almost all archs by todd@/brad@ ok jsing@
2008-10-02according to the alsa driver for these devices, the hardware providesJacob Meuser
256 buffer descriptors, and the 256th descriptor is flakey. this driver uses one descriptor for each block of the buffer, so we need to make sure buffer size / block size < 256, or we will run out of usable descriptors. lets me play youtube videos via gnash on my auvia equipped machine. ok ratchov@
2008-10-02backout Tadpole specific non-dma workaround commited in 1.287, since itTheo de Raadt
appears the machine Mark got had a disk which failed very soon after that ok kettenis
2008-10-02Add the IBM 4810 ("SurePOS 300 Series") SCC to support the four additionalMarc Balmer
serial ports.
2008-10-02sync.Marc Balmer
2008-10-02Add IDs for the IBM 4810 BSP (Base System Peripherals) and SCC (SimpleMarc Balmer
Communications Controller) found on IBM SurePOS 300 series.
2008-10-02When redirect is used with sticky-address and a matching pass rule usesJoel Sing
reply-to, the sticky-address in the source tracking pool is overwritten with the reply-to address, resulting in new connections being incorrectly redirected to the reply-to host (instead of the sticky-address host). Prevent this by passing a NULL source node reference to pf_map_addr() when looking up the reply-to host, thus preventing the NAT source node from being overwritten. ok mcbride@ henning@
2008-10-02A closed, disconnected, or otherwise failed socket is still a socketTheo de Raadt
and should return stat information instead of EINVAL from deep in the guts of tcp_usrreq. While there, put some more information into struct stat, inspired by FreeBSD. EINVAL problem reported in PR 5943
2008-10-02Fix PF state key mismatches that occur when callers of icmp6_reflect()Joel Sing
recycle mbufs. Based on an initial diff by henning@, also tested by todd@. ok henning@
2008-10-01If a neighbor solictation isn't from the unspecified address, make sureClaudio Jeker
that the source address matches one of the interfaces address prefixes. From NetBSD, tested by todd@ and naddy@
2008-10-01Revert last commit. It didn't really help and we fixed X11 instead.Mark Kettenis
ok miod@
2008-10-01In uvm_pglistalloc(), do not fall through the success code if we could not findMiod Vallat
a suitable range and ran out of memory segments. Oops.