Alexander Leidinger
0fa7ab6a31
- Connect the snd_emu10kx driver to the build. [1]
...
- Bump __FreeBSD_version, no need to build the port now.
Submitted by: Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru> [1]
2006-07-15 20:22:40 +00:00
Alexander Leidinger
d66551806b
Make the mixer kobj class static. This brings it inline with the channel or
...
ac97 classes.
Tested with: es137x based sound hardware
2006-07-15 20:11:16 +00:00
Alexander Leidinger
75d7240e18
Make the MIDI kobj class static. This brings it inline with the channel or
...
ac97 classes.
This allows to link emu10k1 and emu10kx into the same kernel (LINT).
2006-07-15 20:08:32 +00:00
Alexander Leidinger
d056fa046c
Add snd_emu10kx driver for Creative SoundBlaster Live! and Audigy series
...
sound cards with optional pseudo-multichannel playback.
It's based on snd_emu10k1 sound driver. Single channel version is available
from audio/emu10kx port since some time.
The two new ALSA header files (GPLed), which contain Audigy 2 ("p16v") and
Audigy 2 Value ("p17v") specific interfaces, are latest versions from ALSA
Mercurial repository.
This is not connected to the build yet.
Submitted by: Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru>
2006-07-15 19:36:28 +00:00
Alexander Leidinger
53f4fb1109
- Update ALSA emu10k1.h (it was imported as emu10k1-alsa.h) header file to
...
latest version from Mercurial repository. It brings definition of some
additional Audigy 2 / Audigy 2 Value registers.
- Use new #defines from ALSA emu10k1.h
- Remove unused include files:
+ emu10k1-ac97.h was imported from ALSA and never used,
+ emu10k1.h was imported from Creative Linux emu10k1 driver, but only
AUDIGY_CODEBASE was used from it.
Submitted by: Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru>
2006-07-15 19:19:54 +00:00
Bruno Ducrot
2880646d24
Eliminate duplicate p-states entries
...
Reported and tested by: ales dot rom at kabelnet dot net
Reviewed by: njl
Approved by: njl, imp (mentor)
MFC after: 3 days
2006-07-15 17:34:03 +00:00
Alan Cox
d3dd65ab60
Make pc_freemask an array of uint32_t, rather than uint64_t. (I believe
...
that the use of the latter is simply an oversight in porting the new pv
entry code from amd64.)
2006-07-15 07:24:30 +00:00
Alan Cox
27ea29536c
Enable debug.mpsafevfs by default on arm. Since every architecture except
...
powerpc has debug.mpsafevfs enabled by default, it is shorter to enumerate
the architectures on which debug.mpsafevfs is off.
Tested by: cognet@
2006-07-15 06:44:27 +00:00
Brooks Davis
8d832bb5a0
Use TAILQ_FOREACH instead of poking around in the guts of the list
...
macros.
2006-07-15 02:49:35 +00:00
Brooks Davis
6a51be11da
Drop a pointless cast of ifp->if_softc to (struct tap_softc *).
2006-07-15 02:13:05 +00:00
Brooks Davis
e9a404fffd
Cleanup: Use if_initname to set if_dname, if_dunit, and if_xname instead
...
of doing it by hand.
2006-07-15 02:07:38 +00:00
Olivier Houchard
22e1aadef7
Add a comment explaining why the OHCI mapping has been commented out.
2006-07-15 00:09:53 +00:00
Warner Losh
d7fac9732b
Allow iic bridges to support a generalized transfer, rather than
...
forcing all transfers to do the start read/write stop by hand. Some
smart bridges prefer this sort of operation, and this allows us to
support their features more easily. When bridges don't support it, we
fall back to using the old-style opertaions. Expand the ioctl
interface to expose this function. Unlike the old-style interface,
this interface is thread safe, even on old bridges.
2006-07-14 23:15:06 +00:00
Warner Losh
a9a5ae2d62
MFp4: spibus glue
2006-07-14 22:50:46 +00:00
Warner Losh
9a795dfa02
MFp4:
...
Initial spibus support. Seems to be OK, but needs some polish.
# someone should write a bit-bang spi parallel port interface :-)
2006-07-14 22:47:07 +00:00
Warner Losh
8397a1b15c
MFp4: this now depends on new spi bus stuff
2006-07-14 22:41:54 +00:00
Warner Losh
382ff28ef2
MFp4: tweaks
2006-07-14 22:40:24 +00:00
Jung-uk Kim
8120ddb4c4
Let native elf class be registered earlier.
2006-07-14 22:39:18 +00:00
Warner Losh
2b85629b2f
MFp4: elevate quality of slow clock a little
2006-07-14 22:31:12 +00:00
Warner Losh
872a109182
MFp4: paren police
2006-07-14 22:30:44 +00:00
Warner Losh
546bbbb56f
MFp4:
...
Introduce framework to configure the multiplexed pins on boot.
Since the USART supprots RS-485 multidrop mode, it allows the
TX pins to float. However, for RS-232 operations, we don't
want these pins to float. Instead, they should be pulled up
to avoid mismatches. Linux does something similar when it
configures the TX lines. This implies that we also allow the
RX lines to float rather than be in the state they are left in
by the boot loader. Since they are input pins, I think that
this is the right thing to do.
Plus minor for our board.
2006-07-14 22:22:57 +00:00
Warner Losh
fa543fe2fa
MFp4:
...
Fix typo in RTC_CALR_MK.
2006-07-14 22:06:01 +00:00
Warner Losh
92c23aea4a
The TSC board uses a 16MHz base clock for the AT91RM9200, while the Kwikbyte
...
board uses a 10MHz base clock. Cope with this difference.
2006-07-14 22:01:51 +00:00
Warner Losh
cbc25facdf
For the moment, make board configuration a compile time option. This
...
saves space in the final kernel, but at the expense of flexibility to
boot the same kernel accross a family of boards.
2006-07-14 21:59:54 +00:00
Warner Losh
375906f555
Implement the set_time function. Rather pointless with this RTC, as it
...
resets when the core resets, but there may be some use for it...
2006-07-14 21:37:19 +00:00
Warner Losh
21caaf799a
MF p4:
...
Adapt to forthcoming spi framework. The ioctls for SPI commands and such
belong in the higher level driver.
2006-07-14 21:35:59 +00:00
Warner Losh
567314271b
Be sure to flush the cache after a partial read on timeout. Expand
...
comments about timeouts. Fix a style nit. Sometimes small messages
were getting corrupted.
2006-07-14 21:33:04 +00:00
Pawel Jakub Dawidek
338ae5268b
Remove duplicated #include.
2006-07-14 17:55:36 +00:00
John Baldwin
2e5ea45f19
Regen.
2006-07-14 15:42:47 +00:00
John Baldwin
5560239759
Somewhat surprisingly, ibcs2_ioctl() is MPSAFE as it is without needing any
...
further fixes.
2006-07-14 15:42:21 +00:00
John Baldwin
4028fd5b49
Regen.
2006-07-14 15:31:01 +00:00
John Baldwin
86759770f9
Mark ibcs2_mount() (just returns EINVAL) and ibcs2_umount() (just calls
...
unmount(2)) MPSAFE.
2006-07-14 15:30:50 +00:00
Warner Losh
7d73db6491
Move some of the common parameters into the std. files for this platform.
...
Also migrate from MD disk to NFS boot.
2006-07-14 15:20:31 +00:00
John Baldwin
e4edf2558e
Regen.
2006-07-14 15:11:46 +00:00
John Baldwin
7186587b82
ibcs2_sigprocmask() is already marked MPSAFE in syscalls.xenix, so mark
...
it MPSAFE in syscalls.isc.
2006-07-14 15:11:20 +00:00
Xin LI
232e7000f5
Drop Giant before returning in error path, thus eliminates
...
two mutex leaks.
Submitted by: Beyond Luo <fedora ercist iscas ac cn>
PR: kern/100046
Reviewed by: ken, scottl
2006-07-14 13:58:32 +00:00
Xin LI
cf82f20057
Unlock aac_io_lock before returning, thus eliminates a mutex
...
leak.
Submitted by: Beyond Luo <fedora ercist iscas ac cn>
PR: kern/100046
Reviewed by: scottl
2006-07-14 13:55:56 +00:00
Olivier Houchard
3fffb1631a
Remove prototype for the undefined function counterhandler().
...
Submitted by: kevlo
2006-07-14 13:37:47 +00:00
Robert Watson
7455136bbc
Define prototype for pru_close, which in the future will notify the
...
protocol of a socket close event distinct from a detach event, which
will (in a future commit) become aligned with pru_abort, which will
also be a notification of close prior to detach. Add prurequests event
for close, as well as patch up some existing missing ones.
2006-07-14 09:44:28 +00:00
Matt Jacob
a887f1a657
Don't attach 2422's yet. It just confuses everyone.
2006-07-14 05:16:00 +00:00
Matt Jacob
ddf6c7dadd
Add some missing braces.
...
Add MEMORY_BARRIER for the few scratch dma ops that were missing
them plus add a couple of hi 32 bit dma ops (we could probably
allow 64 bit scratch and request/response queue dma now).
2006-07-14 05:14:48 +00:00
Warner Losh
7ba3492e4a
Fix a few cis entries that were separated with spaces, not with commas.
...
This caused drivers for the cards they matched to not probe.
2006-07-14 04:39:29 +00:00
Warner Losh
de7e7f76b4
no need to print unload anymore
2006-07-14 04:36:57 +00:00
Warner Losh
2e30bd12d7
no need to print unload anymore.
2006-07-14 04:35:59 +00:00
David Xu
2df96d8e02
sync with master.
2006-07-14 01:57:09 +00:00
Olivier Houchard
be050429a3
Add remote GDB bits for arm.
2006-07-14 00:50:51 +00:00
Pawel Jakub Dawidek
86ed3c25e1
Always allow to specify components with /dev/ prefix.
...
MFC after: 3 days
2006-07-13 20:37:59 +00:00
Jung-uk Kim
0758eaa227
Sync specialreg.h changes between amd64 and i386 with few fixes.
2006-07-13 16:09:40 +00:00
Michael Reifenberger
42936f9334
Now even more style(9)ish.
...
Submitted by: pjd
2006-07-13 11:47:36 +00:00
Michael Reifenberger
4fd58e10b2
Use the already stored VIA RNG probe information
...
instead of probing again.
Adjust style(9) somewhat in probe.c
Reviewed by: pjd
MFC after: 1 week
2006-07-13 09:15:14 +00:00