summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-12-15Nuke GEMDOSFS. Unused part of unused atari port. SimplifiesKenneth R Westerback
MSDOSFS code. Eliminates -G option to mount_msdos. Nit detection by gwk@, tom@, jmc@. ok weingart@ tom@ thib@ dlg@ deraadt@
2006-12-14Add the esp driver to macppc, supports the NCR53c94 SCSI controller foundGordon Willem Klok
on old world macs as the external SCSI controller. Still a work in progress, it probes the SCSI bus correctly but attempts to access device meet with limited sucess.
2006-12-14in "BAD/loose state" messages, also print the packet's original sequenceDaniel Hartmeier
number, it can differ from the sequence number being tested (for packets without payload), and both matter in explaining why a packet mismatched.
2006-12-14Make pci subsystem aware of domains. Each host bridge gets assigned a uniqueMark Kettenis
domain number such that we can distinguish between busses with the same bus number that are behind different host bridges. Domains can be accessed by using different device nodes. ok deraadt@
2006-12-14Swizzle interrupts for devices for which we don't have explicit inetrruptMark Kettenis
routing information.
2006-12-14Add defines for several SPARC-V9 implementations.Mark Kettenis
2006-12-14Reset BBRB if we exit from a process that was single-stepping. Prevents aMark Kettenis
process that re-uses its ASID from getting random SIGTRAPs. ok miod@, mickey@
2006-12-14Remove dirsperblk, which is not used after it is calculated.Tom Cosgrove
ok weingart@ pedro@
2006-12-14remove an ugly macro that made claudio sad. luckily it wasnt being used.David Gwynne
2006-12-14fix a minor bug in the tx data queue setup by using the right queueReyk Floeter
type. this would cause us some more trouble with WME which isn't supported yet... thanks to Nick Kossifidis
2006-12-14If an MS-DOS filesystem claims to have more clusters than can beTom Cosgrove
represented in the FAT, limit the number of clusters we work with to the FAT value. This stops corrupt filesystems causing us to run off the end of the FAT and panic()ing in fillinusemap(). Found by Jason Crawford (jasonrcrawford at gmail.com) with the MOKB fs fuzzer. Initial debugging by thib@. ok krw@
2006-12-14- enable nested interrupts on zaurus. most obvious side-effect of this isNiall O'Higgins
likely that interrupts are properly counted in kern.cp_time sysctl. so top(1) et al will show a value for time spent in interrupts. tested by many, ok drahn@
2006-12-14Per the new policy with respect to short header files contaning onlyGordon Willem Klok
register offsets, loose the file meshreg.h. ok dlg@
2006-12-14Eliminate unncessary interfaces resets via the SIOCSIFADDR ioctl whenGordon Willem Klok
adding additional IP address or re-running dhclient by only causing an interface init if the interface is not already running. As well as some cosmetics. from brad@. Loose the ether_cmp function of dubious optimizational value simply use bcmp. Revert the ordering hack, don't execute instruction eieio directly in mc_dmaintr, makes no difference in triggering the uvm_fault bug, the problem lies elsewhere. Fix some indentation related to the DBDMA macros. Tested on Power Macintosh 9600MP and 9500MP by myself.
2006-12-13Remove the dma_eop callback in the ncr5380 driver md attachment, it was alwaysMiod Vallat
doing nothing and the mi code does not use it anymore anyway. No functional change.
2006-12-13Missing "break;" for the KA46/KA48 case, fortunately caused no harm but aMiod Vallat
waste of 128KB of kvm.
2006-12-13Remove unused parts of vsbus_attach_args structure.Miod Vallat
2006-12-13Obsolete and became wrong over the time, better remove.Miod Vallat
2006-12-13wrap ipv6 portion with #ifdef INET6. from cmetzJun-ichiro itojun Hagino
2006-12-13insufficient testing, martin, please do not be a moronTheo de Raadt
2006-12-13regenMartin Reindl
2006-12-13add device id for IBM Hubs as found in Thinkpad dockingstationsMartin Reindl
2006-12-13First part of fixing broken beacon frames in acx(4) AP mode based on aMarcus Glocker
diff from Sepherosa Ziehau (DragonFly); The firmware TIM element template was initialized wrong. Though, our ieee80211_alloc_beacon() routine calculates it's own TIM element, which now results in having two TIMs in an acx(4) beacon. Would it be an idea to introduce a ieee80211_alloc_beacon() flag to turn the TIM element off? Because fiddling out the TIM element in the driver for cases in which the firmware calculates its own TIM is a bit ugly ... ok claudio@
2006-12-13eliminate unnecessary interface resets in fxp_ioctl()Martin Reindl
2006-12-13use IN6_IS_SCOPE_EMBED to check kernel-internal form addressesJun-ichiro itojun Hagino
(s6_addr16[1] filled) ok dhartmei
2006-12-13IPv6 passive OS fingerprinting.Jun-ichiro itojun Hagino
reuses IPv4 signature file (assuming that TCP code is shared among IPv4/v6). mcbride ok.
2006-12-12Complete gwk's previous patch to stop setperf methods from returningDimitry Andric
errors to userland: make all cpu_setperf functions return void. Tested by many, ok gwk@
2006-12-12regenMichael Knudsen
2006-12-12Clarifying a few pcidevs entry names based on names foundMichael Knudsen
in a much more recent Marvell Linux sk98lin driver. From brad@. ok me and kettenis (via mglocker)
2006-12-12Fix typo in comment.Mark Kettenis
2006-12-12Use appropriate macros to decode IGN.Mark Kettenis
2006-12-12ignore bars which are 0; ok kettenisTheo de Raadt
2006-12-12Fix a typo to clean M's out of my tree.Michael Knudsen
2006-12-12There is no acpiec_notify() function so don't supply a prototype.Michael Knudsen
While there, fix a typo. ok gwk
2006-12-12- include <sys/proc.h> for tsleep();Tom Cosgrove
- change the defs of LHS, RHS, DST and DST2 to be AML_*. Noted by Marco S Hyman on misc@, these allow ACPI to be compiled into RAMDISK kernels. Suggestion for AML_ rename (to avoid name clash with TIMEZONE's DST, which was noted by someone else a while ago, but I forget who) from jordan@. ok marco@, jordan@
2006-12-12ansify the enc codeReyk Floeter
ok otto@
2006-12-12add a workaround for hardware ip4csum-tx bug on re(4) chips. theReyk Floeter
hardware checksum could be mangled with 28 byte or less IP packets. >From tsutsui@NetBSD Tested by otto@ brad@ and Han Boetes <han at mijncomputer dot nl> Tested by maja@ with the 8139C+ chipset Tested on amd64/i386/sparc64 ok mglocker@ brad@ otto@
2006-12-12Make malo(4) work on macppc by adding a few letoh32(), removing some htole32()Claudio Jeker
-- bus_space(9) does the endian switch for us -- and finaly change one letoh32() to letoh16(). The last one being by far the nastiest one. OK mglocker@
2006-12-12small cleanup after feng shuiDavid Gwynne
2006-12-12Give the SCSI layer the ability to requeue i/o's rejected by a driverKenneth R Westerback
using the new NO_CCB result. Currently a no-op since no driver produces that result. ok dlg@ marco@ deraadt@
2006-12-12after allocating the ahci_port bits, stash it in the softc rather thanDavid Gwynne
drop it. im guessing at some point we'll want to use each port, knowing where they are can help.
2006-12-12feng shuiDavid Gwynne
2006-12-12for each port the controller says is hooked up, go and allocate ourDavid Gwynne
ahci_port structs for it.
2006-12-12start implementing the bits that allocate the per port structures and theirDavid Gwynne
ccb lists. this is missing handling of the dmamem each port needs to manage, but that can wait till i figure out how it fits together. insane stuff.
2006-12-12remember our dma tag. be able to do dma is like, really cool. man.David Gwynne
2006-12-12add functions to get and put ccbs out of each ports command free list.David Gwynne
2006-12-12add wrappers for reading and writing a ports registers called ahci_pread,David Gwynne
and ahci_pwrite. these will use an io handle into a window of the controllers register space that can be created with bus_space_subregion, and which is stored in the ahci_port struct.
2006-12-12introduce the command control blocks, and the concept that they are managedDavid Gwynne
per port rather than as a big list for the whole controller. the softc has an array of pointers to a struct that manages all the shizz relevant to a particular port. when we map the controllers ports, we'll allocate these as needed. if the port isnt implemented, we leave its pointer in the softc null and use that to decide if a drive might be there or not, rather than lookup up the PI register all the time. a comparison has to null has to be cheaper than doing bit operations, surely.
2006-12-12stash the number of commands each port can do in the softcDavid Gwynne
2006-12-11Ensure kvm86_call actually saves the curpcb instead of junk. ErrorGordon Willem Klok
introduced by myself at h2k6, thanks mickey@ and toby@ for turning me in the direction of a corrupt PCB.