summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-06-20These drivers were abusing b_cylinder to store device-specific informationMiod Vallat
in strategy(), and were reusing it in start(). I first considered introducing a b_rawblkno field in struct buf, as has been done in NetBSD, to stop this abuse. However, it does not cost more to simply move the device-specific ``was-b_cylinder'' computation to the start() routine. Plus we get type fixes (daddr64_t) for free, although this does not really matter for these pedro-sized devices. Thus we do not need to grow struct buf for these devices which really ought to live in your Attic (and my machineroom, of course). hp300 HP-IB tested, vax mfm not, but the logic is the same.
2007-06-20alpha kernel have wsmux but not the actual devices; PR #5469 from janjaapMiod Vallat
2007-06-20Add file such that a kernel with lpt at ssio actually compiles.Mark Kettenis
2007-06-20b_cylinder does not need to be set on the callpath down into drivers.Theo de Raadt
cpu_disklabel can go away, since nothing anymore needs to use it; ok miod
2007-06-20b_cylinder does not need to be set on the callpath down into drivers.Theo de Raadt
cpu_disklabel can go away, since nothing anymore needs to use it.. except these two drivers. knock out that code for now to let it compile while miod gets his fix ready for these drivers.
2007-06-20b_cylinder does not need to be set on the callpath down into drivers.Theo de Raadt
cpu_disklabel can go away, since nothing anymore needs to use it; ok miod
2007-06-20Better recovery when osiop goes nuts and spitsMiod Vallat
osiop0: osiop_select while connected? in loops. Before returning from the interrupt handler, whack the chip. Unfortunately, this causes the few i/o which were queued to time out, but this is better than spinning and eventually panicing.
2007-06-20lpt at ssioMark Kettenis
2007-06-20In vunmapbuf(), explicitely remove mappings before invoking uvm_km_free().Miod Vallat
Even if the latter would end up removing the mappings by itself, it would do so using pmap_remove() because phys_map is not intrsafe; but some platforms use pmap_kenter_pa() in vmapbuf(). By removing the mappings ourselves, we can ensure the remove function used matches the enter function which has been used. Discussed and theoretical ok art@
2007-06-20Protect pool operations with splvm.Miod Vallat
2007-06-20Make sure IPL_CLOCK blocks device interrupts.Miod Vallat
2007-06-20remove an XXX comment;Thordur I. Bjornsson
Basically the reason why we dont do VOP_ABORTOP()'s in NFS is that sys_rename() actually handles the garbage collection of the pathname buffers, the calls in ufs are actually fluff too, but will be delt with later. ok pedro@
2007-06-20READDIRPLUS is v3 only, bail out if the mount isnt a v3.Thordur I. Bjornsson
Prevents weird things from happening. ok tedu@,pedro@
2007-06-20Allow "log" for nat rules without "pass".Marco Pfatschbacher
OK henning@, ``passt scho'' markus@
2007-06-20Add support for VIA CX700/VX700 IDE.Jonathan Gray
Tested by jcs@ on a model 2 oqo.
2007-06-20regenJonathan Gray
2007-06-20Add a few VIA devices found in jcs' model 2 oqo.Jonathan Gray
2007-06-19attach to the novatel ES620 found in the oqo model 2 w/sprint cardjoshua stein
2007-06-19regenjoshua stein
2007-06-19novatel ES620 CDMA modem found in the oqo model 2joshua stein
2007-06-19com at ssioMark Kettenis
2007-06-19Add ssio(4), a driver for the castrated National Semiconductor PC87560Mark Kettenis
Sucky SuperIO chip. For now it only provides support for the i8259-compatible PICs on the chip, but that support is necessary to make USB interrupts work.
2007-06-19Empty another cpu_disklabel. In this case read in the bootKenneth R Westerback
block/native label as needed rather than keeping it in cpu_disklabel. Also a number of assorted minor tweaks to reduce the delta to sparc64 disksubr.c. 'get this in' deraadt@
2007-06-19KNF after the recent macro expansion, mostly prototype indendation.Marc Balmer
No binary change. ok uwe.
2007-06-19Mark PDE entries with PG_U and PG_M. We never need that information from theArtur Grabowski
mmu, it slightly speeds up tlb misses and according to an errata from AMD it can actually work around a bug in the mmu. toby@ ok
2007-06-19Abort all pending ACL connections when we get an HCI command parameterUwe Stuehler
error in response to a HCI_CMD_CREATE_CON command instead of waiting that the user aborts due to boredom. Unfortunately, the command status event does not include a hint to tells us which connection failed.
2007-06-19Pass the correct flag to sbt_start() in sbt_start_cmd()Uwe Stuehler
2007-06-19better debug outputUwe Stuehler
2007-06-19Add a dac group init, mixer table and mixer init for the SigmatelDeanna Phillips
codec ID 83847661 found in some Sony VAIO FE and SZ laptops. No regressions noticed by jasper@, steven@ or Will Backman. I've been using it for months.
2007-06-19Handle interrupts for the record stream as well. Recording now works.Deanna Phillips
Tested by ajacoutot@, steven@ and Will Backman.
2007-06-18Lookup interrupt routing info based on elroy(4) bus number.Mark Kettenis
Fix and simplify debug code that prints the interrupt routing info while I'm there.
2007-06-18Calculate the disklabel checksum *after* filling in all the fields inKenneth R Westerback
the disklabel. ok deraadt@
2007-06-18Bring back Mickey's UVM anon change. Testing by thib@, beck@ andPedro Martelletto
ckuethe@ for a while. Okay beck@, "it is good timing" deraadt@.
2007-06-18this is the sgi disklabel, mips64 is not the sameTheo de Raadt
2007-06-18this is the sgi disksubr, not some mythical "all mips64 architectures can ↵Theo de Raadt
use it" balony
2007-06-18Don't use cpu_disklabel as local storage. Use local variables and discardKenneth R Westerback
the unneeded info when done with it. Another empty struct cpu_disklabel. ok deraadt@
2007-06-18Don't use cpu_disklabel as local storage. Use local variables and discardKenneth R Westerback
the unneeded info when done with it. Another empty struct cpu_disklabel. ok deraadt@
2007-06-18fix pasto'sJasper Lievisse Adriaanse
from janjaap@stack.nl
2007-06-18avoid modification race in DIOCRLDINFO; ok krw miodTheo de Raadt
2007-06-18Implement DIOCRLDINFO, DIOCGPDINFO and DIOCGPART. Tweak DIOCGDINFO toKenneth R Westerback
avoid unnecessary rdgetdisklabel() call. requested by & ok deraadt@
2007-06-18Use a shorter form to load XKPHYS constants in .S code, shaves a few textMiod Vallat
bytes, no functional change.
2007-06-18Disable instruction reordering around cpl assignments.Miod Vallat
2007-06-18delete comment above cpu_disklabel that is not neededTheo de Raadt
2007-06-18move comment to right placeTheo de Raadt
2007-06-18regenMartin Reindl
2007-06-18another geforce variantMartin Reindl
2007-06-18KNF after macro removals, no binary change.Marc Balmer
ok dlg.
2007-06-18KNF, especially re-indent prototypes. No binary change.Marc Balmer
ok dlg.
2007-06-18Use the right interface id when iterating over the control interfaceMarc Balmer
endpoints. bug found and patch provided by Marc Winiger <mw@msys.ch>. ok dlg.
2007-06-18split out dpme disklabel reading, simplifying things significantlyTheo de Raadt
and making it look a lot more like other architectures; tested by myself and drahn and gwk