summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2003-10-03Use the commen DMT constants, and try to provide at least as many informationMiod Vallat
in "machine frame" than regdump() does. XXX this whole ddb/ directory needs a huge KNF spanking, badly
2003-10-03Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need forMiod Vallat
separate tty registering is gone now that sparc has switched to wscons, and this makes the code less error-prone. Also, remove tests for ttymalloc() failure, since it uses M_WAITOK. ok millert@ deraadt@, tested by various people as well besides me...
2003-10-03Bring several fixes from FreeBSD to our current pipe implementation:Miod Vallat
- when allocating or growing a pipe buffer is not possible, do not panic but report the error and handle it correctly. (1.73) - "The pipe_write() code was locking the pipe without busying it first in certain cases, and a close() by another process could potentially rip the pipe out from under the (blocked) locking operation." (from Al Viro, 1.81) - "Remove test in pipe_write() which causes write(2) to return EAGAIN on a non-blocking pipe in cases where select(2) returns the file descriptor as ready for write. This in turns causes libc_r, for one, to busy wait in such cases. Note: it is a quick performance fix, a more complex fix might be required in case this turns out to have unexpected side effects." (1.141)
2003-10-02Upon invoking the freshly loaded binary, populate registers via embedded asmMiod Vallat
statements, and be sure of what we get, rather than use "hinted" register local variables; bugcrt can now be compiled with compiler optimization enabled.
2003-10-02Fix some DAE processing logic - the kernel would incorrectly end up retryingMiod Vallat
already processed, or unwanted, DAE in certain circumstances by mistake.
2003-10-02Ack external interrupts before reenabling them on 187.Miod Vallat
2003-10-02Round VM_MAX_KERNEL_ADDRESS to a page boundary.Miod Vallat
2003-10-02do not try to send incomplete fragments on ENOBUFS caseJun-ichiro itojun Hagino
(behavior change from 4.4bsd). dhartmei ok
2003-10-02correct endian handling of ip->ip_off.Jun-ichiro itojun Hagino
do not try to send incomplete fragments on ENOBUFS case (behavior change from 4.4bsd). dhartmei ok
2003-10-01it turned that only adding the cardbus part was not enough to haveFederico G. Schwindt
D-Link DFE690 working. add the missing bits here. from Joshua Johnson <joshua.johnson at charter dot net>.
2003-10-01Unused bits.Miod Vallat
2003-10-01There is no point in chown/chmod outside the install target.Miod Vallat
2003-10-01use random number generator to generate IPv6 fragment ID/flowlabel.Jun-ichiro itojun Hagino
cleanup IPv6 flowlabel handling. deraadt ok
2003-10-01correct m_cat misuse. i remember it was ok'ed by someone but don't remember ↵Jun-ichiro itojun Hagino
who...
2003-10-01Fix stack leak into pfloghdr (the pad field is not initialized),Can Erkin Acar
which ends up in the pflog pcap file. From dhartmei@ ok dhartmei@, frantzen@, henning@
2003-10-01Compile kernel and bootblocks with -mmemcpy, to get rid of libgcc dependancy.Miod Vallat
Also, honor default compilation options in stand/ whenever possible. This requires an up-to-date compiler, but it's not exactly like many people are going to be affected by this change...
2003-10-01out-of-bound memory access. deraadt okJun-ichiro itojun Hagino
2003-10-01Fix off-by-one.Chad Loder
OK jason@, henric@
2003-10-01make ifindex2ifnet growing code more correct. (found by iij seil team)Jun-ichiro itojun Hagino
2003-09-30quantum atlas iv 9 wls lies about tagsMichael Shalayeff
2003-09-29Disable cache on page tables unconditionnaly, not only for MVME188: magicallyMiod Vallat
solves the last 187 issues... Although the slowdown is surprisingly small, this is only a temporary measure, there is room for improvement...
2003-09-29ahc seems to work, some more phys and sync generic/ramdiskMichael Shalayeff
2003-09-29dino/cujo pci bridgeMichael Shalayeff
2003-09-29use pci_mapreg_map() and free resources on failuresMichael Shalayeff
2003-09-29more dmamp_sync()s; krw@ okMichael Shalayeff
2003-09-29dino/cujo pci bridgeMichael Shalayeff
2003-09-29add more dmamap_sync()s where appropriate modify loops to insure proper ↵Michael Shalayeff
syncing; jason@ testing
2003-09-29better dmesg output including onboard memory size when present, free ↵Michael Shalayeff
resources on failures; krw@ ok
2003-09-29pci support for hppaMichael Shalayeff
2003-09-29fix the dc_cacheline to 16 on hppaMichael Shalayeff
2003-09-29e own SIOP_DEBUG define instea of the system-wide one;Michael Shalayeff
bzero() the sgl before fillig it up; avoid reading registers extra times where we have a copy in the vars; on scsi_cmd timeout call siop_handle_reset() directly instead of relying on the RST interrupt which does not happen always it semms; use bus_dmamap_load_raw(). krw@ ok
2003-09-29to set smth in the register one has to write into it and not just read once ↵Michael Shalayeff
more; fround by art@
2003-09-29Experimental support for serverworks csb6 third channel inspired byAlexander Yurchenko
freebsd ata driver. Close PR 3485.
2003-09-29Better use of phys_map_vaddr* (does not matter until we start using more thanMiod Vallat
one cpu).
2003-09-29Make this compile.Miod Vallat
2003-09-29avaliable -> availableMiod Vallat
2003-09-29autodetect io/mem mappings; from form@Michael Shalayeff
2003-09-29gotta remember the product id and disable io mapping for old 800 chips; from ↵Michael Shalayeff
form@
2003-09-28Correct off-by-ones with respect to PRC_NCMDS. Mostly from FreeBSD.Chad Loder
OK krw@, deraadt@
2003-09-28Clean various MVME188 related routines, fixing typos and removing unnecessaryMiod Vallat
diagnostic code in the process.
2003-09-28Clean the MVME188 external interrupts routine, and do not let it loop foreverMiod Vallat
on clock interrupts, because interrupts were re-enabled too early. Also, remove the old hack restricting the system to only use 32MB of memory. This makes MVME188 boot multi-user again (only tested on 2P256 so far).
2003-09-28Be less verbose, unless option DEBUG, when the nvram battery is toast.Miod Vallat
2003-09-28Properly acknowledge MVME188 clock interrupts.Miod Vallat
2003-09-28kill trailing spaces, no functional changesAlexander Yurchenko
2003-09-28Be volatile enough to start the clock on 188.Miod Vallat
2003-09-28sti1 could be at phantomas tooMichael Shalayeff
2003-09-28Remove duplicate CMMU address definitions.Miod Vallat
2003-09-28Be sure to invoke tty_attach() after ttymalloc().Miod Vallat
2003-09-28Missing xfs_devpoll proto. You would think with all that HAVE_FOOTodd C. Miller
crap the protos would be done for you. Apparently not...
2003-09-28xfs_devpoll must not be static; found by beck@ compiling an XFS kernelTodd C. Miller