summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-08-16Sync ehci isochronous part with NetBSD:Marcus Glocker
- Fix check for maximum bInterval value. - Calculate frames/microframes values slightly different (but with mostly same result finally).
2008-08-16fixMarc Espie
2008-08-16revert eval.cMarc Espie
2008-08-16not yet, committed too muchMarc Espie
2008-08-16argument parsing should only skip spaces outside of parenthesis.Marc Espie
Inside matching parenthesis, keep spaces as is (use chrsave instead of pbstr, since there's no way it can be a further macro expansion). Fixes a long-standing issue with autoconf ( --option -> --option), matches other m4 than gnum4 okay millert@, fries@
2008-08-16be more liberal in include handling, namely we only error out if it'sMarc Espie
the end of the last included file AND we still have a macro to expand. autoconf uses this in wine, and it turns out other m4 also do things that way (not only gnu m4). okay fries@, millert@
2008-08-16another issue for which I have a patch.Marc Espie
Issue reported by Vortechz Anderson <utg_vrtz@yahoo.se>
2008-08-16a new regression test, I has a diff for it.Marc Espie
2008-08-16Apply a light paddling with the knf stick. No binary change.Owain Ainsworth
2008-08-16bios_dev -> ba_name and bios_apmp -> ba_apmp in DPRINTF statements.Kenneth R Westerback
i386 kernels compile with BIOS_DEBUG again. Spotted by Mathias Schmocker.
2008-08-15Make the DZ_{READ,WRITE}_{BYTE,WORD} macros visible outside of dz.c, forMiod Vallat
other dz attachments to be able to use them (soon).
2008-08-15Fix array index computation in the machine check handler. Gives fatal bus errorsMiod Vallat
a chance to be reported correctly...
2008-08-15In dzcninit(), do not forget to enable the receiver in addition to theMiod Vallat
transmitter. On machines with glass console for which we do not have a driver yet, and fall back to serial console, the PROM might not have enabled it.
2008-08-15Move the vxt-specific clock functions frow clock.c to the cpu-specific supportMiod Vallat
file, fewer #ifdef this way.
2008-08-15Correct disassembly of the start of a function: fix display layout and skipMiod Vallat
only the 2 bytes of the procedure entry mask, not 4 bytes.
2008-08-15Remove unused and incomplete vax_bus_t enum, and unused vaxbus_dma_get_tag()Miod Vallat
macro and related function pointers.
2008-08-15Rename the cpu_dep hook ``steal_pages'' to ``init'', as it serves as anMiod Vallat
early initialization routine (to enable caches, etc) while still running physical, and does not allocate memory anymore. (The irony in this is that forthcoming KA60 support actually steals pages in its init function...)
2008-08-15hmac.c is needed by softraid crypto now, even on non-wlan machines.Miod Vallat
2008-08-15Prefer unaligned accesses over copying the rx buffer on all archs that canChristian Weisgerber
handle it, not only i386. ok brad@
2008-08-15Add resolv.conf(5) option to force lookups by TCP: "options tcp"Damien Miller
Also Extend "nameserver" declaration syntax to support port numbers. To avoid ambiguity these are only parsed when the address is enclosed in square brackets, e.g. "nameserver [127.0.0.1]:5353" Together these changes make forwarding DNS over a SSH tunnel very easy, but unfortunately some programs in ports/ implement their own resolvers (e.g. firefox). These will need to be modified to support these options separately. fixes jsing@ reyk@ ok deraadt@ millert@ krw@ + "I like it" from lots
2008-08-15Add -s option to usage().Joel Sing
Prompted by jmc@ ok jmc@
2008-08-15use new shared HMAC_SHA1 code in crypto/hmac.[ch] rather than localDamien Miller
copy; ok hshoexer@
2008-08-15use LLC_SNAPFRAMELEN here too.Damien Bergamini
2008-08-14only update stats when we actually wrote sth, relevant for -n, ok djmHenning Brauer
From: Pierre Riteau <pierre.riteau@gmail.com>
2008-08-14Kill the _MCLDEREFERENCE() macro it was only used once and it should be onlyClaudio Jeker
used once -- in m_free(). Removed so that people don't get stupid ideas. OK thib@
2008-08-14If the AML SizeOf() method is called with an object reference it shouldJoel Sing
return the size of the referenced object. This fixes a panic on the ASUS eeePC 1000H when attaching the acpiasus(4) driver. Issue reported and fix tested by robert@ ok marco@
2008-08-14Allow the sector size to be specified by the user when configuring aJoel Sing
vnd(4) device, via a new -s option to vnconfig/mount_vnd. This allows us to create disklabels and file systems that are suitable for use on devices that have a non-512 byte sector size (eg. CDROMs). With help from krw@ and feedback from pedro@. ok krw@, pedro@
2008-08-14ieee80211_derive_pmkid() is not used eitherDamien Bergamini
2008-08-14#ifdef notyet ieee80211_kdf() as it is not used yet (shrink kernel a bit)Damien Bergamini
2008-08-14move the HostAP bridge code and the delivery of data frames to ether_inputDamien Bergamini
to a separate ieee80211_deliver_data() function. this will later be called by the A-MSDU deaggregation routine.
2008-08-14in ieee80211_input(), call if_start() after enqueuing frames in if_sndDamien Bergamini
when acting as an access point instead of having each driver doing the job. tested by krw@ (ral AP) and me with several drivers.
2008-08-14put ieee80211_dump_pkt() under #ifdef IEEE80211_DEBUGDamien Bergamini
2008-08-14fix comments suggested by eric@, remove stupid DPRINTF()Alexandre Ratchov
2008-08-14add missing semicolon; ok mbalmer@, marco@Robert Nagy
2008-08-14let's make this half useful to recover from crashed disks with wrong info.Marc Espie
2008-08-14convert the last traces of btoc/ctob macrosMartin Reindl
ok miod@
2008-08-14simplify S definition to just srcdir, since it appears there's no specialMarc Espie
case anymore. Note that you can always override it from the command line if you need it. after discussion with deraadt@ and tedu@
2008-08-14in abuf_rgetblk() the ``start'' pointer may take a value beyond theAlexandre Ratchov
end of the buffer because periodic boundary conditions of the FIFO are not met ok jakemsr
2008-08-14move all device related stuff from aucat.c to a new dev.c file.Alexandre Ratchov
The new dev_xxx() routines expose a "high level" self-contained interface to the device. At initialization, the device is opened and two chains of aproc structures are created: * a playback chain that exposes a (initially) empty mix aproc to which the rest of the code can attach new streams to be played * record chain that exposes a (initially) empty sub aproc to which the rest of the code can attach new stream to to record The rest of the code, has just to use dev_attach() routine to attach streams. While we're at it, add a ``devops'' structure containing pointers to the device-specific routines. This will allow later to add support for other type of device than the Sun API. Also, write the .wav headers in file_del(), so put all header related data in the file strucuture. This allows to close() the file, as soon as wpipe_xxx() aproc terminates. This will be useful for the server, because it will need to close() descripts of closed connections immediately. add mix_pushzero() routine to fill the mixer with silence. It will be used to avoid the mixer to underrun when there are no input streams. Since we always have at least one input stream there's no behaviour change. ok jakemsr
2008-08-14in file.c, before dereferencing pointers to in(), out(), eof(),Alexandre Ratchov
hup() routines of the aproc strucure check that the aproc structure has not desappeared. This never happens currently, but will be allowed later. No behaviour change. ok jakemsr
2008-08-14add an "AUTOQUIT" flag to mix and sub aprocs. If the flag isAlexandre Ratchov
set, the mix aproc will exit once there are no more input streams, similarly the sub aproc will exit once there are no more ouput streams. If the flag is not set, the mix aproc will generate silence, and the sub aproc will drop samples. By default this flag is set, so no behaviour change. ok jakemsr
2008-08-14add a bytes counter to abuf structures to count the number ofAlexandre Ratchov
bytes that entered the FIFO. The counter may overflow, so it should be used with "modulo 2^32" arithmetic. The counter will be used later to synchronize playback to record. No behaviour change. ok jakemsr
2008-08-14add a xxx_done() method to aproc structures, that cleans up justAlexandre Ratchov
before free()ing the aproc structure, this is cleaner and will allow to reuse wpipe_xxx() and rpipe_xxx() when defining new aprocs. No behaviour change. ok jakemsr
2008-08-14move mix/sub underrun/overrun handling code and data in theAlexandre Ratchov
generic abuf structure, so it can reused. Required for an audio server. No behaviour change. ok jakemsr
2008-08-14factor code that discards data from abuf strucure into a singleAlexandre Ratchov
abuf_rdiscard() routine. Similarly add abuf_wcommit() routine for writing. The purpose is to stop manupulating FIFO pointers in various places outiside abuf.c, its too error prone. No behaviour change. ok jakemsr
2008-08-14Match libpthread's behavior and make pthread_join(NULL, whatever) failPhilip Guenthe
instead of crashing ok kurt@ first observed by Jung <moorang at gmail.com>
2008-08-14Fix 5771/library: in pthread_exit(), delay the call to _sem_post() thatPhilip Guenthe
unblocks the pthread_join() for this thread until the exiting thread is completely done with its thread structure, as the joining thread will free it once unblocked. Also, don't bother to call _sem_post() if the thread is detached. ok kurt@
2008-08-14If the initial thread calls pthread_exit(), don't overwrite its threadPhilip Guenthe
structure, as the 'tid' member there is used by other parts of librthread to determine whether the current thread is the initial thread
2008-08-14Tools from /usr may not be used in netstart since it may be NFS-mountedStuart Henderson
and not available at that time. Rewrite the hostname.if permission check to use only /bin/ls and the shell. Requested by deraadt. ok todd, "Twisted." deraadt
2008-08-13Make sure that we don't sleep with a lock held, some small cleanup whileOwain Ainsworth
i'm here.