Commit Graph

14946 Commits

Author SHA1 Message Date
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
jdolecek e566bf6b6e 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:00 +00:00
jdolecek 5e0c8413f3 uaudio_match_alt_sub(): fix the rate check in UA_SAMP_CONTNUOUS case
to match if UA_SAMP_LO() == UA_SAMP_HI() == rate
problem reported and fix provided in PR kern/18986 by Yasushi Oshima
2003-04-17 16:38:02 +00:00
fvdl 097bf36e7f Fix size_t printf formats in DIAGNOSTIC case. 2003-04-17 12:34:25 +00:00
wiz ad311c1708 Replace arm32 with arm ports that include the driver name in their GENERIC
(or any other kernel config, if no GENERIC exists).
Sort.
2003-04-17 11:55:08 +00:00
thorpej b7394dfe47 Adapt to the sysmon_pswitch interface. 2003-04-17 01:34:14 +00:00
thorpej ea45f2ccc1 Oops, remove a debugging define. 2003-04-17 01:26:41 +00:00
thorpej 59ea64b6f0 * Don't do the ACPI_PCI_FIXUP unless it is explicitly enabled in
the kernel config file.  That code makes a total mess of any
  system with multiple PCI busses.
* Rework the way buttons are handled; register them with sysmon,
  and let it take the appropriate action.  This lets us gracefully
  shut down when the power button is pressed.
2003-04-17 01:22:21 +00:00
thorpej b0f79c65ce Start at a power management framework for sysmon. Right now we just
provide some VERY basic support for power/sleep buttons and lid switches;
if someone presses the power button, shut down the system semi-gracefully.

Eventually, we will send events for all types of button/lid events down
to a userland power management daemon, which will be able to define a
separate policy for each button/switch.
2003-04-17 01:02:21 +00:00
petrov 62ba316156 rasops32_putchar: don't paint character out of font limits. 2003-04-16 23:28:41 +00:00
thorpej 6f2e904450 Use the standard fixed-sized types on NetBSD. 2003-04-16 23:24:01 +00:00
thorpej 6c29c1f6fb In the polling case, don't call mpt_timeout() twice. 2003-04-16 23:17:30 +00:00
thorpej 98f531d377 mpt_dma_mem_alloc(): If we fail, only destroy request DMA maps that
were actually created.
2003-04-16 23:16:41 +00:00
thorpej 81a8dadfcf Correctly sync the MPT request buffers, and remove BUS_DMA_COHERENT
from the mapping of those buffers.
2003-04-16 23:02:14 +00:00
thorpej 7e4fd7b547 Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters.  Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley.  Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.
2003-04-16 22:02:59 +00:00
nathanw c4921eb479 Remove extra right paren. 2003-04-16 21:08:06 +00:00
thorpej ce68b169df * Change the APIs that handle the sync period to work with 100ths of ns,
rather than 10ths of ns.  This is necessary in order to represent
  Ultra320 SCSI.
* Add Ultra320 SCSI to the scsipi_syncparams[] table.

We're not going to bother bumping any version numbers with this change; only
the "hba" driver uses scsipi_sync_period_to_factor(), and the uses of
scsipi_sync_factor_to_period() are all internal to the scsipi code.  Most
things just pass the factor around, which is unchanged by this.

Reviewed by Frank van der Linden.
2003-04-16 20:25:59 +00:00
petrov 7d83b6157f Comment out debug printf. 2003-04-16 18:53:50 +00:00
darrenr 0b2e3c6317 add missing setting of b_error (thanks Manuel) 2003-04-16 00:07:17 +00:00
augustss 44a844916d Regen. 2003-04-15 23:15:47 +00:00
augustss 155de892db Another VIA device. 2003-04-15 23:15:23 +00:00
augustss b855d8716e Add another VIA CPU-AGP bridge. 2003-04-15 23:13:50 +00:00
tron 78a6a01cac Pullup short mbuf in wm_tx_cksum() instead of dropping it which fixes
PR kern/21190 by myself. Jason R. Thorpe code reviewed the changes.
2003-04-15 22:52:40 +00:00
rjs c0cc8d30c1 Regen. 2003-04-15 21:43:56 +00:00
rjs dd9495f867 Add ID for ITE IT8152 companion chip. 2003-04-15 21:32:28 +00:00