Commit Graph

128638 Commits

Author SHA1 Message Date
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
enami e9bd9c26d8 Remove now unnecesary/incorrect cast. 2004-07-07 01:14:13 +00:00
enami 9bcbd6d9c6 - Remove unnecessary empty line.
- Wrap long line.
2004-07-07 01:10:58 +00:00
mycroft d539198300 Minor adjustment so that it is safe for an interrupt handler to unregister
itself.  Fixes a potential problem with PCMCIA IRQ probing.  See PR 9928.
2004-07-07 01:03:57 +00:00
rumble 84931191d5 Fix a typo in zsms0's parent. 2004-07-07 00:58:43 +00:00
sekiya c279001857 Oops. Remove reference to phantom variable. 2004-07-07 00:11:11 +00:00
sekiya 95ef21ea53 Add SGI types for mouse and keyboard. 2004-07-07 00:10:30 +00:00
sekiya 79fdbacde6 Add ih_next to the data structure. Part of Steve Rumble's interrupt-sharing
scheme.
2004-07-07 00:08:43 +00:00
sekiya eadba4d41f Add commented-out entries for grtwo wscons support (and fix the entries for
serial keyboard/mouse).
2004-07-06 23:59:48 +00:00
sekiya 432805bb11 Add the following to the int driver:
* if the driver hasn't been properly initialized, spin for a bit in wait_fifo()
  rather than try to access the local0 status register.
* allow interrupt sharing (from Steve Rumble; necessary for IP20 glass TTY
  support).
2004-07-06 23:56:13 +00:00