Commit Graph

73526 Commits

Author SHA1 Message Date
mbw
57baf75956 Reverting.
Apparently these patches cause problems.
2004-11-08 17:36:07 +00:00
kleink
9b087e52c7 From machdep.c:
revision 1.173
date: 2004/11/08 16:11:02;  author: kleink;  state: Exp;  lines: +3 -3
In cpu_getmcontext(), initialize the mcontext_t storage with 0 (not '0').
Reported by Arto Huusko.
2004-11-08 17:05:37 +00:00
kleink
9322be4ef5 In cpu_getmcontext(), initialize the mcontext_t storage with 0 (not '0').
Reported by Arto Huusko.
2004-11-08 16:11:02 +00:00
kent
80620cc14f - nuke __P()
- add ac97_codec_if_vtbl::detach()
2004-11-08 14:24:17 +00:00
augustss
015097e0cb Fix kern/28086.
Add another product.
2004-11-08 13:00:07 +00:00
kent
55c5f0f624 ANSIfy and style fixes 2004-11-08 12:10:22 +00:00
petrov
c637afa99a Don't compile sparc64_ipi functions when UP. 2004-11-08 08:55:43 +00:00
kent
971aa8f6c5 print dmesg correctly for VT8237 2004-11-08 06:20:58 +00:00
wiz
f037e2c174 Pasto fix. 2004-11-08 00:49:19 +00:00
christos
1e31f0a642 Use .S for assembly files instead of .s 2004-11-07 21:58:45 +00:00
christos
02c080af8b Misc cleanups. 2004-11-07 21:56:57 +00:00
kim
358c829403 Add bufq.h to INCS 2004-11-07 17:27:55 +00:00
mbw
7f3392aa22 Add disklabel recognition for another Apple file type
"BZB_ROOTFS_NEW        0xc000"
Also closes PR 10046
2004-11-07 04:24:33 +00:00
david
bf4bf03db8 Refine bounds check code. 2004-11-07 04:08:37 +00:00
christos
aefec4290d Don't use "int" to represent lengths; this is what size_t is for. This
does not change the ABI since we don't have 64 bit mips yet.
2004-11-06 23:22:43 +00:00
jdolecek
cedc1b6872 move new 'id' member of struct lkm_table to the end of struct, to
fix ABI issue with previous change (offset of 'private' member
changed, thus kernel crashed on module load when checking LKM version)
2004-11-06 13:49:17 +00:00
xtraeme
398264c31a Add support for:
NVIDIA nForce3 250 IDE Controller
NVIDIA nForce3 250 Serial ATA Controller

From Kouichirou Hiratsuka in PR 27843, ok'ed christos@
2004-11-06 08:44:25 +00:00
xtraeme
537252716c Add support for "nForce3 250 MCP-T AC-97 Audio", from Kouichirou Hiratsuka
in PR 27843.

Ok'ed christos@
2004-11-06 08:41:14 +00:00
xtraeme
aef353dd52 Regen for:
Add Nvidia nForce3 250 chipset products, from Kouichirou Hiratsuka
in PR 27843.
2004-11-06 08:37:00 +00:00
xtraeme
cc73961db1 Add Nvidia nForce3 250 chipset products, from Kouichirou Hiratsuka
in PR 27843.
2004-11-06 08:34:52 +00:00
xtraeme
2f0a18e581 Add another case to match "PCI_PRODUCT_INTEL_82815_FULL_HUB"
(Intel 82815 Hub) in agp_i810_attach(), closes PR 27863.

Ok'ed christos@
2004-11-06 07:43:30 +00:00
christos
ed77e93ea9 Fix another stupid typo. 2004-11-06 07:34:53 +00:00
christos
d99b25032a I guess compiling code before committing is a lost art! 2004-11-06 07:31:55 +00:00
wrstuden
16029d56b5 Add support for FIONWRITE and FIONSPACE ioctls. FIONWRITE reports
the number of bytes in the send queue, and FIONSPACE reports the
number of free bytes in the send queue. These ioctls permit applications
to monitor file descriptor transmission dynamics.

In examining prior art, FIONWRITE exists with the semantics given
here. FIONSPACE is provided so that programs may easily determine how
much space is left in the send queue; they do not need to know the
send queue size.

The fact that a write may block even if there is enough space in the
send queue for it is noted in the documentation.

FIONWRITE functionality may be used to implement TIOCOUTQ for Linux
emulation - Linux extended this ioctl to sockets, even though they are
not ttys.
2004-11-06 02:03:20 +00:00
kent
11b301d4f7 print cluster information if UAUDIO_DEBUG is defined. 2004-11-05 19:08:29 +00:00
kent
321c2fdbdc print cluster information if UAUDIO_DEBUG is defined. 2004-11-05 17:46:14 +00:00
kent
fa8bbe4c5e add the follwings:
- ulinear16_to_mulaw_le()
 - ulinear16_to_mulaw_be()
 - slinear16_to_mulaw_be()
 - ulinear16_to_alaw_le()
 - ulinear16_to_alaw_be()
2004-11-05 16:31:14 +00:00
scw
393556db2e Match Sealevel Systems' uftdi-based USB <-> Serial adapter.
This is just an FT8U232AM with custom vendor/device IDs.
2004-11-05 13:53:29 +00:00
scw
ca9032dd96 Regen for SEALEVEL 2004-11-05 13:51:52 +00:00
scw
45c758823b Add vendor SEALEVEL, plus an entry for their uftdi-based USB <-> Serial
converter.
2004-11-05 13:51:16 +00:00
matt
2f15be42ae Check to see if the script has an ELF header, and if so, return ENOEXEC. 2004-11-04 23:55:28 +00:00
ragge
d26e77c79f Make match() fail if this is not a DWLPX (i.e a DWLMA).
XXX - DWL* type should be checked in kftxx.c.
This avoids a panic if the device is not a DWLPX.
2004-11-04 19:22:28 +00:00
rjs
77c10163bb Add AEI USB to LAN. 2004-11-03 22:59:31 +00:00
scw
06375beb5f Fix mbr_label_locate() to return '1' on success rather than the '0'
leftover from the call to biowait(9).
2004-11-03 12:21:04 +00:00
yamt
e89aeb518a make recording of clct(4) work. namely,
- cs4281_intr: advance a pointer after copying data.
- cs4281_trigger_input: fix an inverted condition about dma mode.
2004-11-02 00:40:08 +00:00
wiz
9589a2f43c Grammar fix in comment. 2004-11-01 23:20:42 +00:00
mycroft
74c82c0ec4 Some miscellaneous cleanup:
* Encapsulate all the ring-specific variables into a substructure.  (This will
  help with some potential code sharing.)
* Don't bother with "last buffer complete" interrupts -- we should be taking an
  interrupt anyway because we set IOC on every buffer.
* Likewise, ignore CELV; it's meaningless to us.
* Get rid of the FIFO error counters, since this doesn't actually happen any
  more.
2004-11-01 06:25:35 +00:00
he
0e9a54d054 Follow up on the constification of audio_hw_if, to fix build
problem for vs.c.
2004-10-31 22:41:23 +00:00
martin
29e38c8b5e When doing a crashdump, counting already dumped MB per mem_region
is ... slightly confusing. Instead calculate the total size of the dump
beforehand and show the number of MB we still need to dump instead - just
like 386 does it.
2004-10-31 21:59:51 +00:00
mycroft
170f82c2c3 Copyright maintenance. 2004-10-31 20:15:16 +00:00
mycroft
43670bc418 More code reduction.
Also, allow any sample rate between 8000 and 48000Hz.  (This range should
probably be larger, but this is what's known to work.)

Another 180 bytes shaved.
2004-10-31 20:00:42 +00:00
mycroft
62405c408b Shave another 112 bytes by reducing some divisions to shifts. 2004-10-31 19:28:31 +00:00
mycroft
53a18a1af1 Fix a regression -- my previous changes made the kernel slightly larger. 2004-10-31 18:30:52 +00:00
mycroft
f37709ef90 In the trigger routines, start *all* the blocks, not just the first one. This
was causing some "fifo under/overrun" errors during the initial trigger.

Also fixes a ring synchronization problem introduced in the earlier changes.

This should completely fix the FIFO errors with auich.
2004-10-31 16:49:27 +00:00
he
6ef865c900 Include the <sys/bufq.h> header to allow these to compile again. 2004-10-31 12:52:55 +00:00
yamt
6e71418936 use __insn_barrier rather than homegrown equivalents. 2004-10-31 10:39:34 +00:00
mycroft
04699fb576 Reorder some register writes just to be safe. 2004-10-31 06:25:55 +00:00
mycroft
91c9307af1 Attempt to mitigate "fifo underrun" errors in two ways:
1) Update the queue pointers any time we get a block completion interrupt,
   not just when we hit the last block.
2) Set the "back-to-back enable" bit.
In addition:
3) Make sure we ack every block we transfer; there was a bug that could cause
   the audio layer to get out of sync.
2004-10-31 05:50:58 +00:00
darrenr
90032de19d build a new fr_info_t structure in fr_send_ip() and pass it through to
the fastroute function so that it uses accurate packet information about
the packet being sent out rather than the packet received (impacts both
return-rst and return-icmp features.)

PR: kern/27093
2004-10-31 04:52:50 +00:00
thorpej
bebd825b66 iee_ioctl(): Make this look like other drivers, fixing a missing "splx(s)"
as a side-effect.  Don't bother handling IFF_PROMISC here, because
ether_ioctl() already calls (*if_init)() to handle flags changes.

When adding/deleting multicast addresses, only whack the address
filter if the interface is marked RUNNING.

Fixes kern/27678.
2004-10-30 23:52:22 +00:00