Commit Graph

15089 Commits

Author SHA1 Message Date
fvdl 31826208ad Define PCI32_DMA_BOUNCE_THRESHOLD 2003-05-05 13:04:29 +00:00
fvdl 6bd0c9f44d Move definition of ISA_DMA_BOUNCE_THRESHOLD to dev/isa/isareg.h. 2003-05-05 12:55:41 +00:00
dsainty ee6dbf8959 Regen. 2003-05-05 11:59:13 +00:00
dsainty da6d9d4cb0 Add 3in1 MobileDrive product (inside the Dick Smith ProDrive) 2003-05-05 11:56:27 +00:00
kristerw 204dc598d9 Change the type of the 'code' parameter of ahc_send_async() from u_int
to ac_code to agree with the function definition.
2003-05-04 23:37:27 +00:00
ad a079c0eb98 - Fix the mailbox protocol. Not tested with newer 'Quartz' controllers.
- Handle failure during initalisation more gracefully.
- Create a watchdog thread to poke the board and check for status changes.
- Make ready for > 64kB transfers.
2003-05-04 16:15:35 +00:00
uwe c6aa061dfa In rasops_copycols change bcopy to memmove. In that particular place
the src and dst are very likely to overlap, so using bcopy causes
garbage to be displayed
2003-05-03 18:32:42 +00:00
wiz 1ffa7b76c4 DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
thorpej 9039a9311b Fix inverted logic in pci_vpd_write(). From Jachym Holecek, PR kern/21440. 2003-05-03 18:02:37 +00:00
ad db67878c50 Get the interrupt config from the correct register. 2003-05-03 14:57:38 +00:00
scw 37a9b25563 Match Broadcom's BCM5214 Quad 10/100 media interface. 2003-05-02 19:42:35 +00:00
scw 4c6f8bfaa7 Regen 2003-05-02 19:39:47 +00:00
scw 5f24295efa Add entry for Broadcom's BCM5214 Quad 10/100 media interface. 2003-05-02 19:39:29 +00:00
dyoung a7d738c524 Adapt SMC 93cx6 library so that it will work with both 8- and 32-bit
registers.  This is so that I can read an SMC 93cx6 through the
32-bit registers of the ADMtek ADM8211 802.11 wireless MAC.

Adapt aic to choose 8-bit registers.
2003-05-02 19:12:19 +00:00
fvdl 1f81d34aa0 Local change I had lying around: add NOLUNS quirk for an older seagate
drive.
2003-05-02 12:27:49 +00:00
dsl d91455ce26 Change return type of readdisklabel() to const char *
I hope I've found all the correct places!
2003-05-02 08:45:10 +00:00
gmcgarry 45f7813d26 Regen: NTT DoCoMO PALDIO 611S PCMCIA 2003-05-02 07:17:18 +00:00
gmcgarry d9925c605d Add NTT DoCoMO PALDIO 611S PCMCIA.
From PR#9768.
2003-05-02 07:16:40 +00:00
fvdl df29adfb0e Don't reference channel_b if it's not a twin channel adapter.
From MINOURA Makoto.
2003-05-01 23:00:20 +00:00
thorpej c1e26c1b48 Free the mpt request structure before calling scsipi_done(), as
scsipi_done() may start another command which needs the request
structure being freed.

Patch from Stephan Uphoff, modified slightly by me.
2003-05-01 20:18:35 +00:00
scw 84d2659d16 In gtmpscinit_stop(), don't wait for abort completion status if the
receiver is disabled. It'll never complete in this case.
2003-05-01 12:13:26 +00:00
matt de36c1091b Update inptr *after* we do the dmasync. 2003-04-30 20:49:49 +00:00
matt 0259e9541c Fix overrun of TX buffer dmamap. 2003-04-30 18:31:30 +00:00
scw f95724bd6b Add support for the SMC91C111 chip, with its internal PHY. 2003-04-29 08:47:29 +00:00
thorpej c31f87a5cb Use aprint*(). 2003-04-29 01:49:33 +00:00
thorpej b43b1645a2 Use aprint*(). 2003-04-29 01:07:30 +00:00
fvdl a51397e9b2 Quell a strict-alias warning by applying the same cast to '&target' as
already done in all other cases.
2003-04-28 14:43:32 +00:00
haya 0daef8c89f Regenerate for pcidevs 1.529 and 1.530 changes. 2003-04-28 08:33:48 +00:00
haya 343fa8e595 Add some Texas Instruments' CardBus bridges. Device ID are taken from
data sheets provided by TI web site and 'PCI Vendor and Device list'
web page <http://www.yourvote.com/pci>.
2003-04-28 08:29:52 +00:00
haya 67d0b87c1f Add some O2Micro CardBus bridges regarding PR/20084. Device ID are
taken from FreeBSD and cross-checked by the web page 'PCI Vendor and
Device list' <http://www.yourvote.com/pci>
2003-04-28 08:17:30 +00:00
nakayama 1e411d7027 Make DMA mode works on Promise Ultra66/100 with 48-bit LBA drives.
Ok'ed by bouyer in tech-kern@netbsd.org.
2003-04-28 05:20:29 +00:00
briggs 742c5dbd3a Allow the console to be used for kgdb if both DDB and KGDB are defined. 2003-04-28 02:46:09 +00:00
bouyer a704b24037 Fix typo. 2003-04-27 14:33:20 +00:00
bouyer 07e96ff3d7 Acceptable cache operations are r and rw, not none and w
Properly initialise the timeout value.
2003-04-27 14:27:36 +00:00
wiz c42e1fac66 Management, not managment. Mostly from jmc@openbsd. 2003-04-26 22:07:12 +00:00
yamt 545cae513c this doesn't need to include callout.h anymore. 2003-04-26 16:38:00 +00:00
dsainty 325b10be64 Use the correct bus name in "bus not configured" errors for SCSI and ATAPI 2003-04-26 12:46:59 +00:00
dsl 46687ce6f2 In the absensce of a netbsd disklabel:
- Use partition size (instead of type) to determine whether a disklabel slot
  has been filled in (eg from mbr info on i386).
- Set number of partitions to 16 to stop disklabel bleating.
2003-04-26 12:02:12 +00:00
bouyer 1e2dac7786 Add support for the getcache/setcache ioctls. 2003-04-26 09:54:15 +00:00
bouyer 99a36b0abd Rename WDSF_EN_WR_CACHE to WDSF_WRITE_CACHE_EN for consistency with other
subcommands.
2003-04-26 09:29:41 +00:00
briggs 4c104c6cea In dmover_backend_alloc(), make sure we get ninputs from the best_algdesc,
not just the most recent algdesc (which might be NULL).
2003-04-26 04:44:18 +00:00
uwe 1cfc465c45 Keymaps for US and German keyboards for Jornada 680/690. 2003-04-26 01:06:06 +00:00
fvdl 00a8526dca Do the right thing in the case of an attach error. From Manuel Bouyer. 2003-04-25 16:03:45 +00:00
fvdl 5aecd7c8fc On the first read of the DEVCONFIG PCI config register, sparc64 systems
seem to return all 1s. The second read is ok, though. So, as a workaround,
read it twice. From Manuel Bouyer.
2003-04-25 16:02:52 +00:00
gmcgarry 2bdf9ba1f2 Fix full-duplex mode (again).
Back-out revision 1.170 and and 1.166.  Revision 1.170 fixes some problems
introduced in revision 1.166.  It isn't clear what problem revision 1.166
was attempting to address.  It seems bogus anyway, since we later check
the modes in audio_check_params().
2003-04-25 03:02:11 +00:00
nathanw 6eaaff9eaa Regen. 2003-04-24 23:37:00 +00:00
nathanw ebfdc33307 Add a few Opteron and AMD8000 chipset device IDs. 2003-04-24 23:36:09 +00:00
martin dc09fa82ac Fix attachment for sparc64 systems (missing bus_space_vaddr).
Patches submitted in PR 21188.
2003-04-24 05:06:32 +00:00
uwe d16caf9f8c Add KB_DE | KB_MACHDEP placeholder. Need it for the Jornada 680/690
German (ABD) keyboard layout (to be added soon).
2003-04-23 04:03:58 +00:00
tls 85c8cfb533 Correct use of MAXBSIZE where MAXPHYS was intended. This is a necessary
first step towards per-device MAXPHYS, and has the beneficial side effect
of allowing clustering to MAXPHYS even on systems that need to run with
a reduced MAXBSIZE to get more metadata buffers.
2003-04-23 00:55:17 +00:00
augustss 4d876de100 Regen. 2003-04-22 22:08:00 +00:00
augustss a237a7a011 Fix some naming bugs. 2003-04-22 22:07:40 +00:00
augustss b12c8ecd7f Add another device. 2003-04-22 22:07:05 +00:00
fvdl 8672af5bd0 Regenerated after AMD 8131 additions. 2003-04-22 20:53:09 +00:00
fvdl 501dfe4285 Add AMD 8131 PCI-X tunnel and IO apic. 2003-04-22 20:52:06 +00:00
tsutsui 4762c81f53 - #ifdef DEBUG, #if DEBUG -> #ifdef AHC_DEBUG
- TAB/space cosmetics
2003-04-22 14:33:01 +00:00
fvdl 3f5d6a0d73 Remove unused variable. 2003-04-21 22:00:42 +00:00
fvdl 9ec222cfbe Remove trigraph. 2003-04-21 21:49:31 +00:00
fvdl 2674450fcb Avoid trigraph in string. 2003-04-21 21:45:59 +00:00
fvdl 13b6cff110 Reset bus in attach, not at first access. 2003-04-21 20:05:26 +00:00
fvdl 11e1ebb8dd Reset channel(s) in ahc_attach, rather than at first access. 2003-04-21 19:59:48 +00:00
fvdl 1adc169997 Add NetBSD RCS Id. 2003-04-21 18:12:22 +00:00
fvdl 8775f88505 Add another IBM drive that incorrectly reports DT only. 2003-04-21 18:07:14 +00:00
fvdl d7ad58b224 Add file that I missed when adding the ahd driver. 2003-04-21 16:53:59 +00:00
fvdl 7c5409295c Set/report DT a bit more correctly. 2003-04-21 16:52:07 +00:00
augustss 7d5779ad01 Recognize more devices. From FreeBSD. 2003-04-21 16:38:34 +00:00
augustss 6be8a91f88 Add quirk. From FreeBSD. 2003-04-21 16:37:42 +00:00
augustss 33011a8fcf Regen. 2003-04-21 16:37:14 +00:00
augustss ac600b6a72 Add more devices. From FreeBSD and OpenBSD. 2003-04-21 16:36:52 +00:00
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