summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-07-02dont attach on jmicron parts now that jmb(4) does that for us.David Gwynne
2007-07-02enable jmb on all archs that support ahci, so jmicron boards will continueDavid Gwynne
to work (and work better in the future)
2007-07-02jmicron controllers are strange cos they provide both ide and sata supportDavid Gwynne
on the same pci function. they can be configured to put the different support on different pci functions after booting, but that is unreliable since the kernel doesnt know enough to be able to configure the interrupts properly on this new pci function. this adds a "nexus" driver called jmb that will allow two drivers to attach to the one pci device. this code already fixes things so ahci can attach to the sata stuff. this is more reliable than switch functions on since the interrupts on function 0 are configured by the firmware/bios/whatever.
2007-07-02move ahci_softc and the prototype for ahci_attach into a header so otherDavid Gwynne
code will be able to see it.
2007-07-02pull ahci_attach apart slightly to accommodate attaching ahci(4) to thingsDavid Gwynne
other than pci(4).
2007-07-01fix potential crash due to wrong ca_devsize; whilst here, also fix iobase ↵Constantine A. Murenin
type; ok grange, kettenis
2007-07-01In cpu_switch(), store the saved cpl in the pcb as a 64 bit store, so thatMiod Vallat
the high order bits are not undefined when invoking hw_setintrmask() on return.
2007-07-01Move more fpe-related stuff in #ifdef ARMFPU blocks.Miod Vallat
2007-07-01Use mapiodev() instead of mapdev() when applicable. This is just syntacticMiod Vallat
sugar.
2007-07-01Perform minimal disklabel setup without needing to do the disklabel_to_sun()Miod Vallat
dance, so that we do not depend on its behaviour. No functional change.
2007-07-01Do not define DEBUG unconditionnaly.Miod Vallat
2007-07-01Add gentbi(4).Mark Kettenis
2007-07-01Correctly count interrupts for devices that share interrupts.Mark Kettenis
2007-07-01Reset PDC devices before enabling iova space if we're not on a serial console.Mark Kettenis
Makes glass console on four-digit B/C/J-class systems work.
2007-07-01Oops! Revert previous commit.Mark Kettenis
2007-07-01Add PDC_IO.Mark Kettenis
2007-07-01Add a few more registers.Mark Kettenis
2007-06-30Bump number of supported interrupt routing entries.Mark Kettenis
2007-06-30regenJonathan Gray
2007-06-30Add a few devices found in submitted dmesgsJonathan Gray
2007-06-30Add 802.11d (domain info) command.Marcus Glocker
2007-06-29ansify/de-registerJasper Lievisse Adriaanse
no binary change
2007-06-29respect timeouts. prompted by freebsd pr110122, but also proplerlyHenning Brauer
calculate the timeout. help & ok jsg
2007-06-29sick of extra static messing up tracebacks; ok miodTheo de Raadt
2007-06-29force the pci bus probe routines to look for extra functions on jmicronDavid Gwynne
controllers. pciide on function 1 isnt enabled until ahci gets to touch it, which is too late for the probe routines to discover that there are high functions to look at.
2007-06-29when we attach to the jmicron controllers, whack their configuration aroundDavid Gwynne
a bit. this guarantees that the controller has its ahci stuff enabled for us to use (which was previously done with magic numbers). this also configs the controller to enable a second function for pciide to attach to.
2007-06-29demystify a little more of the jmicron pci control registersDavid Gwynne
2007-06-29define away some of the magic on jmicron controllersDavid Gwynne
2007-06-27wt(4) was removed a while ago, so don't support booting off it anoymore.Michael Knudsen
i386/amd64 was ok tom zaurus ok drahn
2007-06-27Shrink code by not using __inline without static; like we did for sk(4).Mark Kettenis
From brad at comstyle dot com.
2007-06-27According to Intel errata:Artur Grabowski
"AI91 - Update of attribute bits on page directories without immediate tlb shootdown may cause unexpected processor behavior.". When we're allocating kernel page tables, we use the generic page table allocation function that sets PG_u then we immediately remove the PG_u. This might not be enough, because the PDE can get preloaded into the translation cache before we clear the PG_u. So even without the errata, this could cause us horrible trouble. Instead of first entering the PDE with PG_u and then removing it for kernel page tables, just enter it with the right bits every time. tom@ ok
2007-06-26Switch associated pciide(4) into native mode, and route its interruptMark Kettenis
appropriately. Make it use irq 5, and rewire lpt(4) to irq 7. ok deraadt@
2007-06-26Make natsemi_pci_intr() use pciide_intr_flag(). Needed on the PC87415 partMark Kettenis
integrated on the PC87560 Legacy IO chip found on several hppa workstation models. ok jsg@
2007-06-26Fix a race condition during ruleset reload; make sure we don't walk offRyan Thomas McBride
the end of the array of rule pointers when attaching a pfsync'd state to a rule. Reported in PR5508 by mayer@netlab.nec.de. ok henning@
2007-06-26Provide a default case so that we don't end up trying to dereferenceTom Cosgrove
vframe when it hasn't been set. Prompted by a diff from mickey@ ok art@
2007-06-26Implement bit swap for a byte in O(log(N)) rather than O(N), promptedTom Cosgrove
by an interview question I was asked. ok reyk@
2007-06-26loadfile() returns an open file descriptor on successful exit, soTom Cosgrove
close it before going off to execute the newly-loaded kernel. ok deraadt@
2007-06-26Fix the description of loadfile() semantics in comment (and kill "andTom Cosgrove
and" at the same time).
2007-06-26Fix "the the"s. ok miod@.Tom Cosgrove
2007-06-26Alignment fixes from mickey.Jonathan Gray
2007-06-25support early W83627EHF-A; tested by Sam Fourman Jr; discussed with Gong ↵Constantine A. Murenin
Jun; ok kettenis@
2007-06-25replace magic number with a define.Thordur I. Bjornsson
(2 -> SHUT_RDWR in calls to soshutdown()). From Iruata Souza. ok deraadt@
2007-06-25crank ifq_maxlen from 50 to 256, so it is not smaller than most interfacesHenning Brauer
rx rings any more. forwarding boxes with many fast interfaces can still use some more, but this is a saner default. ok deraadt markus henric
2007-06-25use daddr64_t for size in bounds_check_with_label(); prompted by miod@;Otto Moerbeek
ok deraadt@
2007-06-25Fix a couple of "of of"s in comments.Tom Cosgrove
2007-06-25"of of" is wrong - it should be "off of" - but "from" is even nicerTom Cosgrove
2007-06-25pretty mechanical change: now that the state tables use seperate stateHenning Brauer
keys that can map to multiple states (last not least for ifbound) we don't need state tables hanging off each struct kif representing an interface any more. use two globals for the two tables. ok markus ryan
2007-06-25merge tcp_set_iss() and tcp_set_tsm(); ok mcbride, djm (on earlier version)Markus Friedl
2007-06-24Remove some unused leftover code; original request from jasper@Uwe Stuehler
2007-06-24Crank initial storage for extents a bit. We really should allocate extentsMark Kettenis
using malloc once vm is initialised, but this will do for now. ok deraadt@