128847 Commits

Author SHA1 Message Date
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
christos
63c19634d0 no #ifdef __powerpc__ here. 2004-07-07 22:03:38 +00:00
christos
f68663bc91 kill duplicate code. 2004-07-07 22:02:12 +00:00
mycroft
0d1387f79f Regen. 2004-07-07 21:54:38 +00:00
mycroft
b236e06a7b GREENHOUSE2_USBKR100 -> REALTEK_RTL8150L, per PR 20425. 2004-07-07 21:54:21 +00:00
nathanw
1c5109c418 Add a regression test for CV teardown under spurious wakeups (currently fails). 2004-07-07 21:53:10 +00:00
mycroft
bd6daf04d5 Regen. 2004-07-07 21:31:24 +00:00
mycroft
b4d61283e6 Add another Zire device, from PR 25929. 2004-07-07 21:11:02 +00:00
mycroft
d9e25c2ba9 Rearrange to fix a potential crash when changing parameters with audioctl and
the device is closed.  Reported in PR 24066.
2004-07-07 20:21:06 +00:00
mycroft
37b5b92c9f Truncate the prompt if too long. Fixes PR 24674, but not with the patch from
there.
2004-07-07 19:46:57 +00:00
mycroft
f662a744b6 Cleanup of ksh memory handling from OpenBSD, via Stefan Krueger in PR 24962.
Should also fix:
PR 8153
PR 13301
PR 15256
PR 25084
2004-07-07 19:20:09 +00:00
mycroft
f61ec29665 Clean up attach messages. 2004-07-07 18:57:00 +00:00
nathanw
821dde500e Fix a comment to say "Edit" instead of "Exit". 2004-07-07 18:21:33 +00:00
drochner
96623fecad also add <machine/joystick.h> to alpha and amd64, to allow compilation
of certain multimedia applications
2004-07-07 18:03:51 +00:00
he
9285117b64 If a playstation2 kernel config does "options KLOADER_KERNEL_PATH",
it now also needs to do "options KLOADER", ref. the new playstation2
machdep.c, so fix these kernel configs accordingly.
2004-07-07 18:03:42 +00:00
tron
d12de89293 Don't scan include files in "includes" target because they might not be
in the destination directory yet.
2004-07-07 14:28:17 +00:00
mycroft
1e8861042b Add a quick-and-dirty attachment for my MB87030-based PCMCIA SCSI controller.
XXX Don't even think about detaching it yet.
2004-07-07 08:47:22 +00:00
mycroft
0230f9fefd Move spc into the MI area. 2004-07-07 08:41:34 +00:00
mycroft
74da882744 More cleanup:
* Print "devinfo" in a canonial place (like we do in the SCSI code).
* Use aprint_{error,normal}() during attach.
* More PCMCIA_STR_* removal.
2004-07-07 06:43:22 +00:00
mycroft
16802a90de Modify the format of pcmcia_devinfo() slightly. 2004-07-07 06:08:25 +00:00
mycroft
b88b233ecf More PCMCIA_STR_* elimination. 2004-07-07 05:51:42 +00:00
mycroft
8b32f3c10d The PCMCIA_STR_* values in this driver weren't even used! Remove them.
Also, add a new device, and printf()->aprint_normal().
2004-07-07 05:42:08 +00:00
mycroft
26b5e7e0b3 Add new devices. Use pcmcia_devinfo(). 2004-07-07 05:39:27 +00:00
mycroft
826975f6fc Regen. 2004-07-07 05:38:42 +00:00
mycroft
1f9cda516f Fix a typo. 2004-07-07 05:38:29 +00:00
mycroft
688d90c3dd Regen. 2004-07-07 05:34:33 +00:00
mycroft
4386f17aed Add a few more cards. 2004-07-07 05:34:18 +00:00
mycroft
8d257deaad Add a couple more entries. 2004-07-07 04:19:45 +00:00
mycroft
ce095c86d3 Regen. 2004-07-07 04:19:15 +00:00
mycroft
08c98044fd Add the NextCom Next Hawk. 2004-07-07 04:19:01 +00:00
mycroft
309a698f3c This table is dumb.
1) Remove all the PCMCIA_STR_* values, and instead print the actual CIS
   info.  This is infinitely more helpful.
2) For some of the OEM cards, collapse multiple table entries into one
   entry that doesn't compare the OUI.
It's a start.
2004-07-07 04:01:30 +00:00
mhitch
fcdbc29795 After sending the IPI to halt other CPUs, clear cpus_paused to ensure that
the other CPUs resume execution.  If the halt was initiated from DDB, the
CPUs will not have been resume execution and will never halt.  If one of the
paused CPUs is the primary CPU, the system will hang.  Fixes PR#26159.
2004-07-07 02:46:14 +00:00
mycroft
fda6e12798 Add another OUI for a Melco card.
XXX
The way this table is done is kind of dumb.  There's really every little point
in matching anything beyond vendor/product IDs in most cases, unless we
specifically need to do some hackery to find the MAC address.  In many cases 4
or 5 manufacturers well have the same vendor/product IDs, but different OUIs
and possibly different strings.  In these cases, we rarely need to look at the
OUI or the strings to DTRT.
2004-07-07 02:17:17 +00:00
enami
a5c4e6ac1e Descend into bin/df 2004-07-07 01:58:16 +00:00
enami
7f914da132 - Update to follow statvfs change.
- Add expected results.
2004-07-07 01:57:35 +00:00
mycroft
cc559c8583 Fix SIOCSIFNETMASK -- it needs to use in_ifscrub() and in_ifinit() to update
the interface route and various internal state.  Also, it should use an ifreq,
not an if_aliasreq.  Addresses PR 9604.  (Nothing in our source tree uses
SIOCSIFNETMASK, though.  Perhaps it should be deprecated.)
2004-07-07 01:39:00 +00:00