Commit Graph

128882 Commits

Author SHA1 Message Date
enami
070e3d84bc Regen. 2004-07-09 03:19:51 +00:00
enami
de22c7ecd0 Add BUFFALO LPC-CF-CLT Ethernet Adapter. 2004-07-09 03:19:20 +00:00
enami
fd259af21b Sort BUFFALO entries by id. 2004-07-09 03:17:31 +00:00
mycroft
4fe77ba8c0 Free the DMA channels as the last step. 2004-07-09 03:15:01 +00:00
mycroft
005f3f7095 Clean up a little. 2004-07-09 02:57:48 +00:00
mycroft
bde8e6c1bb Clean up open/close. 2004-07-09 02:51:17 +00:00
mycroft
b09c8ea34a Attempt to make these safer against stray interrupts. 2004-07-09 02:49:37 +00:00
mycroft
0ddcdca775 Kill unused variable. 2004-07-09 02:46:44 +00:00
mycroft
2728fe0f3f Clean up. Attempt to make these safer against stray interrupts. 2004-07-09 02:42:45 +00:00
mycroft
fefce7ce70 Clean up a little. 2004-07-09 02:27:20 +00:00
mycroft
91eed7f9b9 Remove junk code. 2004-07-09 02:15:37 +00:00
mycroft
393cfb61f9 Don't halt in the close routine.
Don't reset in the open routine -- this causes our mute settings to get
toasted.
2004-07-09 02:14:40 +00:00
mycroft
a9eb0d78df There's no need to halt in the close routine -- just clean up the ISA resources. 2004-07-09 02:11:17 +00:00
mycroft
21f7f7a8b0 Remove junk code. 2004-07-09 02:07:01 +00:00
mycroft
591960fb6f Remove some more code. 2004-07-09 02:05:09 +00:00
mycroft
ac7a78d8bb Slight code redux. 2004-07-09 01:13:53 +00:00
mycroft
921c2474ad There's no need to halt the input and output pipes in the close routine --
audio_close() takes care of this.
2004-07-09 01:02:32 +00:00
sekiya
ce13caf073 Add wsmouse* at zsms* 2004-07-08 22:43:30 +00:00
sekiya
c1036b3eff Uncomment keyboard/mouse at zs* 2004-07-08 22:32:34 +00:00
sekiya
5110af7a8b Add support for keyboard and mouse attachments at zs*, used on IP12 and IP20.
Code written by Steve Rumble; committed with his blessing.

Using a glass TTY as a console on IP20 (IP12 untested) should now be possible.
2004-07-08 22:30:53 +00:00
chris
97e6dff8ab Remove duplicate vidcvideo0 and wsdisplay lines 2004-07-08 22:21:17 +00:00
drochner
af0dfbe584 don't need md timing functions for joystick anymore 2004-07-08 22:07:47 +00:00
drochner
989eec1d34 Get rid of the arch dependencies for tome measurement - use microtime().
Works as well as before on my i386 (for want of a real joystick with a
50k resistor between pins 1 and 3).
2004-07-08 21:57:31 +00:00
kleink
8e491dbabd In addition to alpha, grossly work around the 24-bit limitation of the
Audio 1 DMA engine by allocating through the ISA DMA tag on amd64
and i386.
2004-07-08 21:33:45 +00:00
mycroft
aa1018e714 Allow a board with no memory window configured to be attach. Fixes PR 20436. 2004-07-08 21:01:49 +00:00
drochner
315673e79a support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)
2004-07-08 19:39:00 +00:00
mycroft
7cd90d66b7 If the parent interface is not IFF_RUNNING, do not call its start function.
This prevent a variety of fun panics, and therefore fixes PR 12932, PR 17561,
and PR 18376...

XXX
...however this is most definitely a hack.  The real problem here is that there
is no callback to notify a "client" interface like vlan when a "parent"
interface's status changes, and therefore the vlan interface is always
IFF_RUNNING.  This allows packets to be queued on vlan interface at any time.
We can't simply leave the packets on the vlan interface, either, because there
is no callback to dequeue them.  And last, since it's always IFF_RUNNING, if
we just *toss* the packets, we lose gratuitous ARPs and DAD packets.

"This needs work," but at least it no longer bleeds.
2004-07-08 19:09:12 +00:00
mycroft
a127f24934 Program the "MaxFrameSize" register so that it's correct for VLAN
encapsulation, per PR 20195.
2004-07-08 18:27:14 +00:00
kleink
1cc7b8c1ac Fix AUDIO_DEBUG printf formats. 2004-07-08 18:08:58 +00:00
manu
99b82f59fb Fix semantic problems with commpage functions, by Wolfgang Solfrank 2004-07-08 13:24:39 +00:00
christos
daf173e8a5 follow suit and fix copyright attribution. 2004-07-08 11:46:55 +00:00
yamt
0f5d997ee9 - include opt_inet.h for INET.
- catchup to in_ifaddr -> in_ifaddrhead rename.

XXX the address on the top of in_ifaddrhead is likely 127.0.0.1.
using it to construct the verifier doesn't make much sense.
maybe it's better to use some uuid or ip_randomid-like method.
2004-07-08 11:21:35 +00:00
yamt
fad58613ba nfs_create: after an exclusive create rpc, make sure to update
timestamps, which were likely used to store the verifier.
reported by Mark Davies.  PR/26200
2004-07-08 11:12:14 +00:00
yamt
da6f02930b key_sendup0: add a missing sorwakeup().
ok'ed by itojun.
2004-07-08 10:42:41 +00:00
sekiya
9a82e9035c Uncomment grtwo* attachment and its corresponding wsdisplay* 2004-07-08 10:12:27 +00:00
sekiya
ae7e3d69b0 Fake a FIFO interrupt iff the FIFO interrupt is unmasked. Should eliminate
the "spurious interrupt" messages on machines without grtwo displays.
2004-07-08 10:10:49 +00:00
hannken
569e55e635 Add "include/sparc64/joystick.h". 2004-07-08 10:04:45 +00:00
sekiya
9c289db87a Remove unnecessary variables from grtwo_cnattach(). 2004-07-08 10:02:10 +00:00
sekiya
ead6809450 Call gio_video_init() for IP12 and IP20. Neither model uses the same keyboard
glue as the IP22, so add conditionals in the keyboard connection logic.
2004-07-08 10:00:30 +00:00
manu
0d64053852 I copy/pasted the copyright notice from another file but I forgot to
change the name of the contributor: Wasabi Systems did not contribute
that file.
2004-07-08 07:36:25 +00:00
christos
5dd9099216 PR/25699: David Laight: sh(1) hangs opening a named pipe as stdin for
background process
This happens because we vfork, and then open a named pipe with O_RDONLY
and block in the child. We avoid this, by opening the file with O_NONBLOCK,
and then reset it if we are vforked. XXX: this is an ugly fix.
2004-07-08 03:57:33 +00:00
christos
750fc37531 deal with another dup ioctl; fortunately this is from pcvt and it will die. 2004-07-08 03:22:32 +00:00
christos
d397fc692a Bring in flags from 4.1.2 to make things compile. 2004-07-08 02:52:02 +00:00
christos
b074ee3b58 Attempt to fix PR/25992 [protocol parsing] by bringing these files in from
4.1.2
2004-07-08 02:51:24 +00:00
rumble
bbbaf17cc4 The MCT advertises both the interrupt and bulkin endpoints as
interrupts. Go from assuming that the first enumerated interrupt
is the bulkin (since this may not be the case) to assuming that
the true interrupt endpoint will have a 0x2 wMaxPacketSize.

From FreeBSD's umct.c, ok'd by mycroft@, closes PR25959.
2004-07-08 00:54:21 +00:00
christos
18c8edba4d PR/23486: Andreas Gustafsson: gdb no longer works with emacs
- make sure that we keep previous contents of the buffer in unbuffered mode.
- when turning editing on and off keep tty consistent.
2004-07-08 00:51:36 +00:00
christos
663957c46f make this compile again. 2004-07-07 23:28:28 +00:00
mycroft
77bfa3ce71 If we're short-circuiting audiostartp() because there isn't enough data
present, do an extra wakeup() on the write channel.  This happens when we
change parameters during playback, at which point we flush the buffer, and
would stall.
2004-07-07 22:30:22 +00:00
mycroft
7c36059937 Previous fix was not right. Also fix a couple of other problems -- we were
never actually setting the mode if using audioctl.
2004-07-07 22:04:28 +00:00
christos
b970e18139 Regen 2004-07-07 22:04:27 +00:00