summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-12-05Implement an alternative workaround for the extent lies out of region panicGordon Willem Klok
on old world macppc machines, if the compat property of the device is bandit skip the pci_addr_fixup() call. This acomplishes what the changes in rev 1.33 that were reverted attempted to do without breaking currently supported machines. A positive side effect to this change is also working PCI cards as well as onboard devices. ok drahn@
2006-12-05Import fixcoff from NetBSD and make some changes to boot.mac Makefile andGordon Willem Klok
ofwboot including loosing some meanigless defines and repurposing XCOFF_GLUE to my own ends. These changes make it possible to boot the OpenBSD kernel on at least the Power Macintosh 9500 and 9600. No binary change in stripped ofwboot. ok drahn@, martin@
2006-12-05Allow kmem to work, might not quite be right yet, but allows basicDale Rahn
functionality. sort of ok miod@
2006-12-05Typo.Alexander Yurchenko
2006-12-05Add code to detect (and eliminate) statistical outliers. Tested by me andMarc Balmer
naddy; many thanks to naddy for continous testing and feedback during the last weeks. ok naddy
2006-12-05make the syncache code respect (inherit) the ttl from the listening socketHenning Brauer
when sending the synack response. ok markus
2006-12-05do not install pmtu routes for transport mode SAs, as they do notMarkus Friedl
the dest IP; PMTU debugging support; ok hshoexer
2006-12-04avoid unnecessary copies (memcpy(x, x, n)) in the TX path.Damien Bergamini
"works fine, even under high load" reyk@
2006-12-04regenMartin Reindl
2006-12-04add vendor ID for Silicon Integrated Systems CorporationMartin Reindl
2006-12-04report full/half duplex state for non-MII interfacesReyk Floeter
ok brad@
2006-12-03Change cgeight to run the console in the monochrome overlay plane (as cgtwelveMiod Vallat
does), and only use the 24 bit color planes when running X. Not tested, but can't be worse than before - the code it replaces was busted anyway.
2006-12-03In fb_setsize(), remove dead code in the SUN4 case.Miod Vallat
2006-12-03don't include <net80211/ieee80211_amrr.h>Damien Bergamini
rate control is handled by firmware.
2006-12-03Instead of invoking rasops_init with a wrong depth value to have someMiod Vallat
values computed better, prefer invoking it with the real thing and recomputing what needs to be afterwards. No functional change, but this allows fb.c to assume a few things about its callers.
2006-12-03Do the ri_devcmap reprogramming dance in fbwscons_init(), so that it appliesMiod Vallat
to non-console frame buffers as well.
2006-12-03Initialize more fields of the proto disklabel before invoking readdisklabel(),Miod Vallat
to pass its recent sanity checks.
2006-12-03Enable all color planes on attach and wait for retrace to program theMiod Vallat
colormap, this finally makes color work.
2006-12-03fix handling of the SIOCS80211CHANNEL ioctl in monitor mode:Damien Bergamini
don't call xxx_set_chan() if the interface is not up&running. patch from Steffen Schuetz (st dot sch at gmx dot net) with minor modifications by me. closes kernel/5313
2006-12-03Clean frame buffer attachment code:Miod Vallat
- There is no need to check for buses config(8) will not let us attach to - Better P4 bus logic, which does not need to abuse device flags - Do not bother trying to print a meaningful device description when it is not connected to sbus.
2006-12-03Revert r1.35 (ether_input to ether_input_mbuf conversion), this causesMiod Vallat
unaligned accesses on some packets.
2006-12-03Re-enable RX engine every time otherwise it occasionallyAlexander Yurchenko
stops under unknown circumstances. Tested by many people, ok brad a long time ago.
2006-12-03don't schedule a USB task in {ural,rum}_newstate() if we're called fromDamien Bergamini
a process context. this avoids potential races in {ural,rum}_stop().
2006-12-03Set sis_stopped=1 early on attach and reset it later in sis_init().Alexander Yurchenko
With mickey's help.
2006-12-03The device doesn't always detach gracefully from the bus after a firmwareDamien Bergamini
upload. We thus force a port reset and a re-exploration on the parent hub after firmware upload. In uath_newstate(), if we're called from a process context, we don't need to schedule a USB task. This fixes a problem in uath_stop(): when moving to the S_INIT state, the task was scheduled after the device was reset. Don't abort the RX firmware command pipe in uath_stop(), otherwise we will never receive commands ACKs from the firmware anymore. We now survive to an ifconfig down up.
2006-12-03always assume full duplex state if the interface is up... what doesReyk Floeter
full duplex mean for a virtual interface?
2006-12-03re-add a tiny little #ifdef VIC_DEBUG, used to compare the vic(4)Reyk Floeter
features and capabilities on different vmware platforms.
2006-12-03Add Rapid Spanning Tree Protocol support (802.1d-2004) based on workReyk Floeter
by Andrew Thompson (thompsa@freebsd.org). The local changes include adoption to our bridge code, reduced stack usage and many other bits. If stp is enabled, RSTP will now be used by default. Thanks for help from Andrew. This code has been in snaps for while now, commit encouraged by deraadt@
2006-12-03First bits of endian cleanup more still needed but commit early, commit often.Claudio Jeker
OK mglocker@
2006-12-03Print the number of unknown commands in malo_cmd_string(). Also don'tClaudio Jeker
print an empty newline in malo_hexdump(). OK mglocker@
2006-12-02Make a debugging printf conditionnal to VESABIOSVERBOSE.Matthieu Herrb
ok miod@, gwk@, deraadt@
2006-12-02In alloc_attr(), make sure xxansitopc[] indicies are within bounds.Miod Vallat
2006-12-02Use a better strategy to make the mouse pointer visible in inverse_char();Miod Vallat
also check the return value of alloc_attr() for failure. No functional change.
2006-12-02Oops, prevent a warning if rasops_bswap is not required.Miod Vallat
2006-12-02Add a "break" which makes AL7230B initialize now. Still doesn't workMarcus Glocker
afterwards, but ... Spotted by claudio@, ok deraadt@ jsg@
2006-12-02On frame buffers which endianness differs from the host CPU, we can not affordMiod Vallat
using ovbcopy() in the erasecols emulop, as the ovbcopy implementation might do larger-than-byte loads and store, which will not have the expected result if the source and destination addresses are not similarly aligned. Instead, roll our own byte-only ovbcopy() in this case. This is made dependent on a config(8) attribute to avoid bloating platforms which do not need this, thus frame buffers which may set RI_BSWAP in ri_flg need to depend on this attribute. Problem spotted by matthieu@ using tcsh on sparc64 console.
2006-12-02typoMatthieu Herrb
2006-12-02Fix ri_devcmap[] to allow WSCOL_BLACK and WSCOL_WHITE to not have to beMiod Vallat
different for sparc{,64} systems.
2006-12-02Use ri_devcmap to get corrected color values, instead of directly usingMiod Vallat
WSCOL_xxxx values.
2006-12-02Use the unpack_attr emulops instead of doing an inline rasops_unpack_attr.Miod Vallat
2006-12-02zx needs rasops8 code for emulation modes, not rasops32.Miod Vallat
2006-12-01Unbreak.Miod Vallat
2006-12-01rangecheck ttl on IP_TTL, collected dust in my treeHenning Brauer
2006-12-01spelling: queue, not qeueueCamiel Dobbelaar
2006-12-01spell kqueue, not kqeueCamiel Dobbelaar
ok jmc
2006-12-01rename 8100E id to spin 1 and add the 8100E second spin chip idTodd T. Fries
chip id from Linux r8169 driver from brad@
2006-11-30Oops, didn't mean to increase the default msgbufsize for i386. Noticed by ↵Dimitry Andric
brad, thanks.
2006-11-30s/completly/completely/Michael Knudsen
ok brad
2006-11-30cosmeticDamien Bergamini
2006-11-30fix PHY initialization for ZD1211B.Damien Bergamini
we were iterating from 0 to N(zyd_def_phy), but N(zyd_def_phy) is not equal to N(zyd_def_phyB). we were probably writting garbage to the PHY.