summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-11-28add paranoia helper function, azalia_nid_to_index. the nid isJacob Meuser
assumed in places to be the index of the widget in the widget_t array of the codec_t, but I'm paranoid. use it to shrink/simplify/fortify some parts. will be used more soon.
2008-11-28Eliminate the redundant bits of code for MTU and multicast handlingBrad Smith
from the individual drivers now that ether_ioctl() handles this. Shrinks the i386 kernels by.. RAMDISK - 2176 bytes RAMDISKB - 1504 bytes RAMDISKC - 736 bytes Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users. Build tested on almost all archs by todd@/brad@ ok naddy@
2008-11-28Make growfs refuse to run on a dirty filesystem, and set the filesystem toChris Kuethe
dirty on the way out so that users are forced to run fsck afterwards. The manpage politely suggested that the filesystem be checked after growing it; change it to say that fsck is required.
2008-11-27widget initialization cleanup:Jacob Meuser
* configure widgets all in one place * add a flag on the widget_t to let us know if the widget is not connected; shaves a lot of connection checking code * be sure not to add power widgets as connectable sources/sinks * configure unconnected pins as output pins. should help some MacBooks and be benign to other devices. the last change has been tested by several as a separate diff. no real functional changes otherwise. from Alexey Suslikov. thanks!
2008-11-27finally, generic converter grouping that fits our needs and worksJacob Meuser
on all (at least all tested) devices. briefly, it works like so: group together all converters that can be reached from or can reach a connected input or output pin. ordering in the converter groups correlates to the association and sequence of the input/output pin. remove lots of static converter groupings in favor of the generic grouping method. the only static groups left are for codecs that still have static mixer configurations. tested by many. thanks to all who tested; this wouldn't have happened without your support.
2008-11-27Needs explicit <sys/malloc.h> include; Georg SchwarzMiod Vallat
2008-11-27intrdoduce DPRINTFN macro so debug messages can be selectively enabled.Jacob Meuser
use it to quiet some debug messages by default, so people don't get scared when testing completely unrelated changes when AZALIA_DEBUG is defined. print out ADC groupings when AZALIA_DEBUG is defined like we do for DAC groupings.
2008-11-27It turns out Motorola manufactured ECC 128MB memory boards for MVME188Miod Vallat
assemblies, so allow up to 512MB of memory on MVME188 systems. Thanks maz for the 128MB board!
2008-11-27ZAURUS -> GUMSTIX in guard symbols.Miod Vallat
2008-11-27Give the tags target a chance to work.Miod Vallat
2008-11-27On 88100 cpus, make sure userland processes start with SNIP and SFIP validMiod Vallat
(i.e. with the valid bit set in them). Found the hard way by Anders Gavare trying his latest gxemul, proves the hardware is more permitting than one would expect it to be...
2008-11-27Netgear WG111v2 is not supported by upgt(4), apparently;Jason McIntyre
2008-11-27tweak previous;Jason McIntyre
2008-11-27initial import of Weongyo Jeon's FreeBSD driver for the RealTek RTL8187LKevin Lo
802.11 devices. currently it has issues scanning. ok jsg@
2008-11-27The Netgear WG1111v2 wifi dongle contains a RTL8187 chip,Kevin Lo
not a GW3887 chip. ok mglocker@
2008-11-27Add sscom to cdevswitch like fcom used to be.Dale Rahn
2008-11-27tx starting to work.Dale Rahn
2008-11-27Enable gpioow and gpioiic for runtime attachment, keep the previousMarc Balmer
synopsis as a comment (since it still works if needed). ok drahn
2008-11-27Add bt=YES to /etc/rc.conf.local to start the daemonUwe Stuehler
2008-11-27Ugly workaround to bring up interfaces which were down when we found themUwe Stuehler
2008-11-27better.Dale Rahn
2008-11-26Doh, do not commit before compile. Found by sthen@Claudio Jeker
2008-11-26Do a quick return if m->m_next is NULL in m_defrag() because there is nothingClaudio Jeker
todo. Discussed with deraadt@ and dlg@
2008-11-26Add unix(4) to SEE ALSO.Michael Knudsen
ok deraadt
2008-11-26Attempt to reconnect for about 10 seconds while btd is starting upUwe Stuehler
2008-11-26definition of the iscsi wire protocol stuff.David Gwynne
ok deraadt@
2008-11-26Stop maintaining internal queues of received scsi_xfer structures.Kenneth R Westerback
We can now just push unwanted ones back up into the SCSI layer with NO_CCB like other drivers. "Please do so" deraadt@
2008-11-26Disable some devices for now to make GENERIC build. ok drahn@.Matthieu Herrb
2008-11-26Enable Bluetooth (btd and btctl are not hooked into the build yet)Uwe Stuehler
2008-11-26SDP works, but it needs to be redone (and non-blocking)Uwe Stuehler
With this in bt.conf, the HID driver should work: # Enable all interfaces. interface * "OpenBSD BT" # Attach a keyboard and/or mouse, or a mobile phone emulating such things. attach 00:02:76:08:1c:37 type hid pin "0000" Then start btd and run btctl -f bt.conf.
2008-11-26only the pool_get() needs to be spl protected; ok claudio dlgTheo de Raadt
2008-11-26Avoid network livelock.Theo de Raadt
Use a 1 tick timeout() to determine if the kernel even manages to get below softclock (from an old diff by mpf). If our timeout comes late, reduce the high water marks (to half) for all network interfaces, thus starving them of future packet allocations for their RX rings. For a few ticks longer, also block the high water marks from rising even if RX ring empty conditions would prod us to do so. Cards may start dropping some packets off the end of their smaller RX rings, but we were not able to do the work required in any case. With less interrupt time and mbuf movement, the system finds time to make progress at the network queues. Userland even gets to run. A x40 tuned to 600MHz shows no real reduction in performance. But a soekris has a working console now. ok dlg claudio, and art liked it too
2008-11-26Use m_defrag instead of collapsing mbufs ourselves.Mark Kettenis
ok dlg@
2008-11-26dont have bpf.h expose the kernel ticks variable wherever it is includeing.David Gwynne
it is very confusing like this. ok deraadt@ canacar@
2008-11-26provide m_clsetlwm, an interface for an interface to raise its lowDavid Gwynne
watermark for mbuf cluster allocations. this is necessary for things like bge which cannot cope with less than a certain number of pkts on the ring. ok deraadt@
2008-11-26Make M_DUP_PKTHDR and M_MOVE_PKTHDR a bit saver by respecting the M_EXT &Claudio Jeker
M_CLUSTER flags from the target mbuf. Still these function are only allowed on newly allocated buffers. OK dlg@
2008-11-26Stop maintaining internal queues of received scsi_xfer structures.Kenneth R Westerback
We can now just push unwanted ones back up into the SCSI layer with NO_CCB like other drivers.
2008-11-26Stop maintaining internal queues of received scsi_xfer structures.Kenneth R Westerback
We can now just push unwanted ones back up into the SCSI layer with NO_CCB like other drivers.
2008-11-26call pf_pkt_addr_changed() when we do encapsulateHenning Brauer
fixes v6-over-v4 gifs wrt pf chatter about state linking mismatches ok jsing claudio, tested by Ant La Porte <ant at ukbsd.org>
2008-11-26Device attach and detach (does not work because SDP is not implemented yet)Uwe Stuehler
2008-11-26Add my copyright here, too.Marc Balmer
2008-11-26Reorder variables, add my copyright.Marc Balmer
2008-11-26Document the new semnatics and ioctl(2)s of gpio(4).Marc Balmer
2008-11-26Use the new gpio(4) semantics and change the command line syntax to aMarc Balmer
more readable and straightforward format. Note that there is no longer a default GPIO device, but it has to be sepcified on the command line always (and as Theo mentioned, newfs also does not default to /dev/sd0a...) You must do a 'make includesi' in /usr/src before building this command or before your next system build. ok uwe@
2008-11-26Change the semantics of gpio(4) devices by locking down pinMarc Balmer
configuration and device attachment/detachment to securelevel 0. GPIO pins can now only be configured at securelevel 0. Once the securelevel is raised, only pins that have been configured and set for securelevel access using the GPIOPINSET ioctl are accessible. This also adds the possibility to give GPIO pins a name. ok uwe@
2008-11-26Add some files missed in the original checkin.Dale Rahn
2008-11-26Start at the port of OpenBSD to the OpenMoko hardware. Work in progress.Dale Rahn
2008-11-26Add a number of driver files necessary for OpenMoko support,Dale Rahn
from NetBSD with mods
2008-11-26Add a missing device. Found by Alex Brodsky <abrodsky@acs.winnipeg.ca>.Marc Balmer
ok deraadt
2008-11-26Initial port of OpenBSD to the (xscale based) gumstix, work in progress.Dale Rahn
Most bits cloned from zaurus.