summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2002-08-13syncMichael Shalayeff
2002-08-13change WI_PORTTYPE_AP -> WI_PORTTYPE_HOSTAP to match FreeBSD and NetBSD.Todd C. Miller
The reason for this is that it is possible in the future to have wi(4) be a real AP using the AP tertiary firmware. mickey@ OK
2002-08-13remove a bogus extern, move another into another scopeMichael Shalayeff
2002-08-13Remove some unused prototypes, KNF.Dale Rahn
2002-08-12Use state tree instead of separate (flat) list to find NAT proxy ports,Daniel Hartmeier
allows to use the same proxy port with different external peers. From Ryan McBride
2002-08-12Remove a large chunk of `#ifdef notyet' codeJason Wright
2002-08-12Neuter the machdep.vsyncblank sysctl, as this setting is now controlledMiod Vallat
by wsconsctl. ok art@
2002-08-12Update rom cursor position if we're the console framebufferJason Wright
2002-08-12Missing FRELE() call on writev(2) error condition; art@ ok.Aaron Campbell
2002-08-12Convert sparc console code from rcons and pseudo-devices to rasops and wscons.Miod Vallat
For most framebuffers it is faster. Other changes include: o 24 bit support in tcx(4) for the S24 framebuffer o accelerated cgsix(4) text console o new cgtwelve(4) driver for the GS framebuffer o improved serial driver code o better keyboard support The following framebuffers have not been tested but should work: cgfour, cgeight and cgfourteen These changes will require XF4 changes, to use Xwsfb instead of Xsun*, to be commited later today. Most of the work by me during the LSM and the week after, with code borrowed from jason@, NetBSD (new serial code), and feedback from mickey@. Work on pnozz(4) done by millert@
2002-08-12initialize part earlier in case of debugging.Federico G. Schwindt
2002-08-12Add a callback routine for when the cursor position is updated (this allowsJason Wright
for updating prom cursor locations).
2002-08-12Provide type information for a few symbols that userland needs.Artur Grabowski
vmstat -i works again.
2002-08-12During prompts on sun4 class machines, disable local echo to preventMiod Vallat
ddoouubbllyy written characters. Modeled from the kernel's prom console routines.
2002-08-12Bump version to 2.2. Suggested by miod@Artur Grabowski
2002-08-11ELF support in sparc bootblocks.Artur Grabowski
Loadfile is from alpha, but heaviliy hacked here. The build is done by building elf versions of boot and bootxx, then merging the .rodata and .text sections into .text with a horrible hack and then using objcopy to convert that into a.out. Maybe someone will want to fix installboot to deal with ELF instead, but I won't be that someone in the nearest future.
2002-08-11ELF support.Artur Grabowski
- _C_LABEL where needed - Rename syscall to _C_LABEL(_syscall) to avoid name conflict with _C_LABEL(syscall) (this one was a real nightmare to find).
2002-08-11NATIVE_EXEC_ELF for sparc and ELF reloaction types.Artur Grabowski
2002-08-11ELF support for DDB.Artur Grabowski
2002-08-11Change to ELF-style linking.Artur Grabowski
2002-08-11Add two missing vfs_busy calls in the failure path of sysctl_vnode.Artur Grabowski
Found by aaron@ NOTE - I think we need a mount-point iterator just like we have NOTE - vfs_mount_foreach_vnode. (btw. why don't we use foreach_vnode in here?)
2002-08-11Restore support for loading elf boot:Hugh Graham
- compiles again - already tested - less to upgrade later
2002-08-11Use _C_LABEL for c symbols.Artur Grabowski
2002-08-11_C_LABEL where necessary.Artur Grabowski
2002-08-11A horror hack for merging the .text and .rodata sections in elfArtur Grabowski
binaries so that we can use objcopy to convert them to a.out.
2002-08-11Use _C_LABEL for c labels.Artur Grabowski
2002-08-11Prepare for ELF.Artur Grabowski
2002-08-11SCARG cleanup; okay millert@Niels Provos
2002-08-09typoMichael Shalayeff
2002-08-09two more cacheops noops; miod@ okMichael Shalayeff
2002-08-09Get rid of remaining __P usage (except for imported code);Jason Peel
ok millert@, rogue ok pjanzen@
2002-08-09Add an explicit dependancy of assym.h to Makefile.Miod Vallat
This makes sure it will be regenerated if you run config(8) again.
2002-08-09Remove those noisy informational messages from dmesg.Thierry Deval
Use the option RAIDDEBUG to get these. Theo, thanks for suggesting.
2002-08-09Correct the size arg to copyout.Aaron Campbell
2002-08-09socket flags are not inherited via accept() on linux; found and testedFederico G. Schwindt
by gustavo, several ppl ok@
2002-08-08D-Link DFE-670TXD support; reported and tested by RD Thrush <rd@thrush.com>.Federico G. Schwindt
2002-08-08regen.Federico G. Schwindt
2002-08-08D-Link DFE-670TXD entry from RD Thrush <rd@thrush.com>.Federico G. Schwindt
2002-08-08redo socketbuf speedup.Niels Provos
2002-08-08missed in last commitNiels Provos
2002-08-08Fix IFF_PROMISC setting optimization. The point is to avoid theTodd C. Miller
wi_init() if only IFF_PROMISC status has changed. There is no need to change anything if we are in HostAP mode since wi_init() has already turned off the hardware promisc bit when we entered HostAP (HostAP already implies promisc behavior). Noticed by imp@, OK by mickey@
2002-08-08backout the tree break. ok pb@, art@Todd T. Fries
2002-08-08call setcontext{4,4m} directly when we know the CPU type alreadyJason Wright
2002-08-08socket buf speedup from thorpej@netbsd, okay art@ ericj@:Niels Provos
Make insertion of data into socket buffers O(C): * Keep pointers to the first and last mbufs of the last record in the socket buffer. * Use the sb_lastrecord pointer in the sbappend*() family of functions to avoid traversing the packet chain to find the last record. * Add a new sbappend_stream() function for stream protocols which guarantee that there will never be more than one record in the socket buffer. This function uses the sb_mbtail pointer to perform the data insertion. Make TCP use sbappend_stream(). On a profiling run, this makes sbappend of a TCP transmission using a 1M socket buffer go from 50% of the time to .02% of the time. Thanks to Bill Sommerfeld and YAMAMOTO Takashi for their debugging assistance!
2002-08-08th_flags doesn't have to be equal to TH_SYN to generate modulator, it'sDaniel Hartmeier
sufficient if TH_SYN is set and TH_ACK is unset, ignore TH_ECN etc. ok frantzen@
2002-08-08Use & to test if bits are set, not &&; art@ ok.Aaron Campbell
2002-08-08Completely rework transmit interrupt handling:Jason Wright
- try to handle tx ring reclaim in bestart() - if we pass over the high water mark, enable TX interrupts - disable them again when the low water mark is passed Thanks to mickey@ for enduring 4 versions of this =)
2002-08-07return EBUSY in processreadyNiels Provos
2002-08-07fix the stupidest alloc/free piece of code ever; nate@ okMichael Shalayeff
2002-08-07consistently check byte order of ether_type; pointed out by dhartmeiJason Wright