summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2004-08-05again, sync usb device support accross archs by adding cdceDavid Gwynne
ok deraadt@
2004-08-05sync usb devs to other archs by adding cdceDavid Gwynne
ok deraadt@
2004-08-05attach the compaq w100 and w200. the w100 should work with a bit of work. itDavid Gwynne
is yet to be determined if the w200 has hope or not though from what i've read it should be possible. ok deraadt@
2004-08-05unmap bios when done. from form@pdp-11.org.ru via grangeTed Unangst
2004-08-05don't attempt to put processes back in a directory after unmount.Ted Unangst
it could never always work, and worse, may cause other bugs/crashes.
2004-08-05spelling nit from Chris PascoeDavid Gwynne
ok deraadt@
2004-08-04tholo forgot to update KERN_MAXID; j@pureftpd.orgTheo de Raadt
2004-08-04Use the ad hoc register define to access the Pbus fault status register,Miod Vallat
rather than an ugly 0x108.
2004-08-04hardclock detects if ITIMER_VIRTUAL and ITIMER_PROF have expired andArtur Grabowski
sends SIGVTALRM and SIGPROF to the process if they had. There is a big problem with calling psignal from hardclock on MULTIPROCESSOR machines though. It means we need to protect all signal state in the process with a lock because hardclock doesn't obtain KERNEL_LOCK. Trying to track down all the tentacles of this quickly becomes very messy. What saves us at the moment is that SCHED_LOCK (which is used to protect parts of the signal state, but not all) happens to be recursive and forgives small and big errors. That's about to change. So instead of trying to hunt down all the locking problems here, just make hardclock not send signals. Instead hardclock schedules a timeout that will send the signal later. There are many reasons why this works just as good as the previous code, all explained in a comment written in big, friendly letters in kern_clock. miod@ ok noone else dared to ok this, but noone screamed in agony either.
2004-08-04use CIRCLEQ_XXX; ok mcbride, miodMarkus Friedl
2004-08-04Uninline vputonfreelist.Artur Grabowski
2004-08-04Remove the old fetch(9)/store(9) functions, since they are not used inMiod Vallat
OpenBSD. This gives us a simpler and faster cpu_switch() as a bonus. ok drahn@
2004-08-04Crank maxusers to 32 on m68k GENERIC kernels, and to 16 on m68k installationMiod Vallat
media. The latter is to work around a pmap issue on 680[46]0, for which either a kluge or a real fix look very ugly.
2004-08-04interrupt coalescing on post 82557 chips; from freebsd via Dmitry Bogdan ↵Michael Shalayeff
<dsb@poi.dvo.ru>
2004-08-04Make jumbo frames work.Ryan Thomas McBride
- allocate and manage our own memory for rx packets rather than using mbuf clusters; code for this lifted from if_bge.c - pass the correct size to bus_dmamap_create() ok deraadt@
2004-08-04Even when we have timecounters we still have to do the check for secondaryArtur Grabowski
cpus calling hardclock and the statclock emulation. Move some ifdef __HAVE_TIMECOUNTER code.
2004-08-04Completely remove BATC code. BATC on 88200 are way too small to be worthMiod Vallat
using as part of the general pmap machinery (though they might come back at some point to speed up I/O mappings), and we don't use the 88110 BATC yet.
2004-08-04- Match time_second and time_uptime prototypes.Artur Grabowski
- Less chatty.
2004-08-04kill hppa quirk that is not neededMichael Shalayeff
2004-08-04interrupt mitigation bitsMichael Shalayeff
2004-08-04More cleaning:Miod Vallat
- a really working and simpler ddb "machine translate" helper. - get rid of the remains of the BATC code, which would not work as is on 4:1 and 8:1 boards.
2004-08-04KNF and a spanking in the ddb helper code.Miod Vallat
2004-08-04More constants for the SSR register.Miod Vallat
2004-08-04better commentsPedro Martelletto
2004-08-04regenDavid Gwynne
2004-08-04Compaq WLAN Multiport W200David Gwynne
ok deraadt@
2004-08-04There are so many reasons why a printf in an ipi is a very bad idea.Artur Grabowski
Especially since it doesn't add anything but spam during reboot.
2004-08-04Fix printing of revision string.Todd C. Miller
2004-08-03Replace the old 4.4BSD scsi code used on hp300 with a ``real'' driverMiod Vallat
interfaced with the MI scsi code. Adapted from NetBSD with some changes (especially to get tape and old cd-rom drives to not cause the driver to spin during probe). Tested by millert@ and I, ok millert@
2004-08-03Copy scsireg.h from hp300/dev to hp300/stand, and use it within hp300/stand.Miod Vallat
2004-08-03Overhaul of the MVME188 logic:Miod Vallat
- change the split CMMU strategy from splitting on user/supervisor, then A14/A14*, to A12/A12*, then A14/A14*. I believe this arrangment, being more symmetrical, uses the extra CMMUs better. - correctly handle 88204 - they will split on A14 and A16 instead of A12 and A14. - fix the addressing logic, when we need to know if a specific CMMU manages a certain address, or not. Code is even smaller now! - since the strategy choice makes user/supervisor distinction obsolete, remove the associated logic in m8820x_cmmu_set(). We now run multiuser on a 2P128 (4:1 88200) HYPERmodule. All 4:1 configurations should work; 8:1 configurations (1P128 with 88200, and 1P512) could not been tested due to lack of such hardware.
2004-08-03hide more inside _KERNEL; miod okTheo de Raadt
2004-08-03Clear CMMU fault status registers after reading them, for 4:1 and 8:1Miod Vallat
MVME188 configurations. Thus, we are looking at valid values when electing the faulting CMMU.
2004-08-03Add a MIIF_FORCEANEG flag to be passed to mii_attach. This forces anBrad Smith
autonegotiation to take place if IFM_AUTO is selected in mii_media_set. From NetBSD
2004-08-03Fix a minor bug where indirect config crashes the kernelPer Fogelstrom
when match verbose is turend on.
2004-08-03NFS commit coalescion: instead of sending a commit for each block, coalescemarius eriksen
these into larger ranges wherever possible. this should speed up NFS writes quite a bit. ok art@ millert@ pedro@ tedu@
2004-08-03Print more diagnostics on fsync failure in sched_sync.Artur Grabowski
2004-08-03the rest of the '#if DIAGNOSTIC' -> '#ifdef DIAGNOSTIC' in the kernel; ok miod@Todd T. Fries
2004-08-03introduce route labels, allowing for up to 32 bytes of info to be attachedHenning Brauer
to a route. the label is sent over the routing socket wrapped into a new struct sockaddr_rtlabel, allowing for handling it like any other sockaddr. struct rtentry only contains a (16 bit) label-ID, with the actual labels kept outside the routing table. ID allocator code inspired by my own code for altq and pf tags. mostly hacked at the c2k4 hackathon, markus ok
2004-08-03When accessing device nodes over nfs, do not trim major and minor numbersMiod Vallat
to 8 bits only; found the hard way by henning@. Ok deraadt@ marius@ millert@
2004-08-03Allow a unicast ip address to be specified for pfsync to send it's stateRyan Thomas McBride
updates to; this allows pairs of pfsync firewalls to protect the traffic with IPSec.
2004-08-03microcode for interrupts coalescing on fxp; from intel via freebsdMichael Shalayeff
2004-08-03Hehehe. Remove an #if 0 function that was used in the early days to debugArtur Grabowski
why vga scrolling wasn't working by sending beeps on the speaker.
2004-08-03include some usb ethernet driversTheo de Raadt
2004-08-03include some usb ethernet driversTheo de Raadt
2004-08-03include some usb ethernet driversTheo de Raadt
2004-08-03include a few more ethernet driversTheo de Raadt
2004-08-02syncTheo de Raadt
2004-08-02newTheo de Raadt
2004-08-02On MVME188 systems with 4:1 or 8:1 CMMU pairings, make sure the exceptionMiod Vallat
handling code checks the error status of the correct CMMUs and really reports an error code. This gets us closer to getting these modules to work, at the expense of sanity and some code readability.