Commit Graph

14970 Commits

Author SHA1 Message Date
gson
c8da8f2398 Ignore input when the port is not open. This change is functionally
identical to the patch in kern/6502 (which is hereby fixed), but
modelled after the corresponding fix to the 8530 driver in
z8530tty.c revision 1.60 to maintain consistency with that driver.
2003-04-21 03:43:18 +00:00
fvdl
1aca5bda05 ahd, driver for Adaptec 790x U320 controllers. Originally by Justin Gibbs
for FreeBSD, ported to NetBSD by Pascal Renauld, Network Storage Solutions,
Inc, plus a bunch of changes by me.

This driver is as yet untested in this final form, it will be added
to config files when it has been tested.
2003-04-21 00:14:52 +00:00
fvdl
ee7b6f07aa One more FreeBSD compat define. 2003-04-20 23:43:04 +00:00
fvdl
d268a0e37f Add register definitions for the PCI-X capability. 2003-04-20 22:53:56 +00:00
christos
4a2f0334d4 PR/6362: der Mouse: /dev/speaker octave-tracking goes out of range 2003-04-20 22:02:46 +00:00
fvdl
d96d9c4be4 Pick the right channel in the reset ioctl. 2003-04-20 21:25:59 +00:00
thorpej
4bbda47b54 Add a "reset button" type. 2003-04-20 20:48:27 +00:00
thorpej
9dd2908b35 Use sysmon_taskq. 2003-04-20 20:21:29 +00:00
thorpej
d14efd22d1 Generic "task queue" for sysmon back-ends. This provides a thread
context for callbacks that require it in order to handle sysmon-related
events.

Adapted from the "OsdSchedule" bits of the ACPI code.
2003-04-20 20:20:35 +00:00
fvdl
b30a81c90c Resurrect change from previous ahc driver version: reset channel (unless
configured not to in the BIOS) on first access.
2003-04-20 19:49:45 +00:00
fvdl
c2a2dc04eb Fix ahc_print_registers some more. 2003-04-20 18:57:41 +00:00
fvdl
ed7c318180 Fix ahc_print_register up. 2003-04-20 18:31:16 +00:00
fvdl
9af6ac1fc3 Initialize name and dma tag. 2003-04-20 16:52:40 +00:00
fvdl
da526ebf96 Initialize ahc->name. From Izumi Tsutsui.
Set ahc->parent_dmat correctly.
2003-04-20 16:50:13 +00:00
fvdl
c620a2fd66 Fix some AHC_DEBUG printf cases, and undef AHC_DEBUG. 2003-04-20 16:04:54 +00:00
fvdl
4d6d3fb37b Call ahc_softc_init in attach function. 2003-04-20 15:48:25 +00:00
fvdl
c8a7cfc565 Actually define ahc_htole and reverse macros. 2003-04-20 15:32:10 +00:00
fvdl
6288ca0b93 Delay ahc_free until after shutdown hook disestablish. 2003-04-20 15:31:50 +00:00
bjh21
b05cf42fce Use %lu format and (u_long) cast when printing size_t. 2003-04-20 12:54:05 +00:00
fvdl
4fe822c162 Correct typo in previous. 2003-04-20 12:05:42 +00:00
fvdl
3bc3f3793f Add FreeBSD compat define for PPR_PCOM 2003-04-20 11:53:28 +00:00
fvdl
7ae27ded66 Regen. 2003-04-20 11:20:51 +00:00
fvdl
21e3127716 Sync with FreeBSD rev. 1.10: correct default precompensation value for RevA
hardware.
2003-04-20 11:19:33 +00:00
fvdl
26813b6545 Get rid of AHC_LUN_WILDCARD, making differences with FreeBSD smaller. 2003-04-20 11:17:20 +00:00
christos
9a119fd83b PR/21236: Simon Hitzemann: Fix missing space in error format. While I am
there make a single copy of the error string instead of 6 and share it.
2003-04-19 23:37:26 +00:00
christos
52be04c4cc PR/17738: Matthias Drochner, PR/21230: Onno van der Linden: vt100 wscons
crashes restoring cursor. Fixed by adding a flag as suggested.
2003-04-19 23:28:46 +00:00
fvdl
2d41d30fa5 NetBSD RCS Ids. 2003-04-19 19:38:21 +00:00
fvdl
0d9c871cee Adapt to newer backend. Needs testing. 2003-04-19 19:35:34 +00:00
fvdl
79bdc751aa Fix this to compile with the new driver. Needs testing. 2003-04-19 19:35:09 +00:00
fvdl
ec7141e045 Newer ahc driver, port from Justin Gibbs' driver in FreeBSD. Ported by
Pascal Renauld at Network Storage Solutions, Inc, with some changes
by me.
2003-04-19 19:34:23 +00:00
fvdl
ccadc2cbd3 Newer adaptec 7xxx driver. Written by Justin Gibbs for FreeBSD. Ported to
NetBSD by Pascal Renauld at Network Storage Solutions, Inc.
Some modifications by me.
2003-04-19 19:33:29 +00:00
fvdl
8a26def233 Add ahd at pci (to be added later). 2003-04-19 19:30:07 +00:00
fvdl
6fcbec2b8d Generated register/sequencer code include files for the ahc and ahd
drivers.
2003-04-19 19:27:50 +00:00
fvdl
7e92a81099 Newer aic sequencer assembler. From FreeBSD, written by Justin Gibbs.
Ported to NetBSD by Pascal Renauld at Network Storage Solutions, Inc.
Some Makefile changes by me.

The 79xx code isn't yet used, driver for that to follow shortly.
2003-04-19 19:26:10 +00:00
fvdl
40565542e4 Add NetBSD RCS id. 2003-04-19 19:21:35 +00:00
fvdl
a434795392 Add a PCAP_NODT quirk. I have two older Quantum Atlas drives that work
fine at U2W, but barf at U160, with different controllers. Unfortunately
sometimes just being initialized at U160 does the trick, so setting them
to lower speed in the BIOS may also be needed.
2003-04-19 19:16:06 +00:00
fvdl
016a1095a9 A device should always respond to inquiry or test unit ready; disable
retries for these during discovery. From Pascal Renauld at Network
Storage Solutions, Inc
2003-04-19 19:12:59 +00:00
fvdl
ea399d0682 Add MSG_QAS_REQUEST definition. 2003-04-19 19:11:13 +00:00
fvdl
76a06d99f3 IU pkt/task definitions include file. From FreeBSD. 2003-04-19 19:10:25 +00:00
tron
6d26862b28 Fix for ACPI poweroff problem provided by Takayoshi Kochi. This resolves
PR kern/20614 by myself.
2003-04-19 16:09:16 +00:00
christos
4bf8b7765e Put back bits of pr 9286 that got lost. Thanks to Onno van der Linden for
pointing this.
2003-04-19 15:47:45 +00:00
uwe
7b16962da2 Quirk Pilotech CRW-600. 2003-04-18 23:38:18 +00:00
uwe
fa83041685 Regen for Pilotech CRW-600. 2003-04-18 23:31:43 +00:00
uwe
f700119cc7 Add Pilotech and its CRW-600 6-in-1 USB flash reader. 2003-04-18 23:28:09 +00:00
explorer
2248468d68 add my 80 GB SATA drive to the quirk table. 2003-04-18 04:32:19 +00:00
thorpej
5a20f4be3c * Add a generic power management event API, defined in <sys/power.h>.
Right now, only power switch state change events are supported.  This
  is a work-in-progress.
* Add support to sysmon for delivering power mangement events to userland.
  Add poll, kqueue, and read entry points to sysmon.
* Adapt ACPI to use the new generic <sys/power.h> event types.

This provides the kernel support for a forthcoming powerd(8) which can
do nice things like gracefully shut the system down when an ACPI power
button is pressed.
2003-04-18 01:31:34 +00:00
mason
d1b448c6e5 From current-users:
On Thu, Apr 17, 2003 at 11:26:26AM -0500, Dave Huang wrote:

> Typo police here :) "whose," not "who's."
2003-04-18 00:35:14 +00:00
matt
062bcd3204 acpi.c needs sysmon_power too. 2003-04-17 20:56:29 +00:00
jdolecek
9d23bccfba add quirk for Avance Logic USB Audio
provided in PR kern/18986 by Yasushi Oshima
2003-04-17 16:43:44 +00:00
jdolecek
8d4a0cf374 regen:
fix handle for Avance Logic (AVANCELOGIC, not ADVANCELOGIC), and add
id for their USB Audio Speaker
provided in PR kern/18986 by Yasushi Oshima
2003-04-17 16:41:48 +00:00