bouyer
cc6a0ef02b
Use bus_dma(9) for the DMA ops in fxp_init() too. Without this the driver
...
was stuck in the while (!(cbp->cb_status & FXP_CB_STATUS_C)); loop,
I think because the relevent CPU cache entry was never updated.
This was on a compaq deskpro system.
1998-11-25 17:19:09 +00:00
drochner
5888c5ef44
a small optimization for the compat interrupt handling, possible after
...
channel_softc is within pciide_channel
1998-11-24 19:54:20 +00:00
mcr
4cb534cca1
added 82443BX_AGP_NOT as per kern/5847
1998-11-23 22:54:02 +00:00
drochner
152d52c171
headers for new hardware support in pciide.c. from Manuel.
1998-11-21 16:06:45 +00:00
drochner
9effbbe436
some restructuring, more or less to get support for weird IDE controllers,
...
eg the Cypress ISA bridge:
-put channel mapping into the chip specific part, unify with
channel_probe() into channel_map()
-use pointer to channel data as function call argument wherever possible
instead of the channel number
-allow the "compat" channel number to differ from the per-controller
channel number - for mapping and interrupt functions
-add support for SiS5598 and Cypress 82C693 chips
Mostly done by Manuel, I only contributed to the first 2 items.
1998-11-21 15:55:31 +00:00
thorpej
3b068a6c78
Adapt to the new scsipi_adapter interface.
1998-11-19 21:53:32 +00:00
mrg
db3051d720
fix problems in many d_mmap routines:
...
- returned EOPNOTSUPP rather than -1.
- no check for negative offset.
many of these fix potential security problems in these drivers.
XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
paddr_t (*d_mmap) __P((dev_t, off_t, int));
by someone!
1998-11-19 15:38:20 +00:00
mycroft
cb703f0332
If a channel has no drives, do *not* unmap its I/O regions.
...
It's not really safe to use them for anything else, and in legacy mode it
will just cause us to probe the channel again as an ISA device.
1998-11-17 17:59:14 +00:00
bouyer
56107b8e10
Force PCI_COMMAND_MASTER_ENABLE if DMA has been setup properly. The BIOS is
...
supposed to do it but who knows ...
1998-11-12 15:05:29 +00:00
bouyer
1e71e76d6c
- clearify the boot messages (features supported vs features used). Thanks to
...
Havard Eidnes for his complains about this :)
- fix some typo in comments
- hoppefully better detection of drives reporting bogus PIO modes.
1998-11-11 19:38:27 +00:00
thorpej
1a5d2ce537
File is obsolete.
1998-11-10 05:56:31 +00:00
matt
1b8620b9fb
Cleanup media set on Alpha. ring txpoll after setting proper tx
...
interrupt mask.
1998-11-09 23:41:14 +00:00
thorpej
a1b2be7e1d
Const poisoning.
1998-11-09 23:12:48 +00:00
thorpej
9f20ff377a
Make the device lookup table-driven, like if_ep_pci.c.
1998-11-09 23:12:18 +00:00
bouyer
432a301fc6
Support for the CMD PCI064{3,6}. Tested on a 0646 with a
...
"wd0: PIO mode 4, DMA mode 2, UDMA mode 2" device.
1998-11-09 09:21:09 +00:00
fvdl
d878e9efc8
Rely on priority match to resolve conflict with the ex driver, not on
...
a define.
1998-11-07 23:06:26 +00:00
drochner
f213d2f96a
use common code for extended capability (power management)
...
let "match" return 2 (> ep_pci)
1998-11-07 16:53:19 +00:00
drochner
bbe9d71415
add support for "extended capabilities" (new in PCI spec 2.2)
1998-11-07 16:47:22 +00:00
fvdl
7b10c3e7e4
Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
...
constants from EP_ to ELINK_ since they're now used in the ex driver as well.
1998-11-04 00:29:28 +00:00
thorpej
7fe67ebc21
Add support for the Seeq 80c24 AutoDUPLEX media interface which was nuked
...
when this driver was changed to use the MAC-independent MII code. This
"PHY" does not have a programming interface, but simply senses the duplex
mode from the link partner. Since it is not possible to read the 80c24
to determine the link type or status, we consider this to be "manual".
1998-11-03 05:47:38 +00:00
thorpej
cbcaaa3bc3
Make sure that a delay loop actually has some delay in it, and use IFF_OACTIVE
...
as appropriate.
1998-11-03 05:04:49 +00:00
thorpej
7d4ee06d3e
Use the rtl80x9 common code for media selection.
1998-10-31 00:45:48 +00:00
thorpej
992f2906ba
Move the RTL8029 register definitions to <dev/ic/rtl80x9reg.h>, and add
...
the registers/bits present in the RTL8019 (ISA version).
1998-10-31 00:27:41 +00:00
thorpej
de14bf4f80
Manuel confirms that defaulting to AUTO is ok, to Do It.
1998-10-30 23:30:16 +00:00
thorpej
04c995f517
Add support for media selection to the PCI front-end of the NE2000
...
driver. Currently supports:
RealTek 8029: 10base2, 10baseT, 10baseT-FDX, auto detect (but not FDX).
1998-10-28 00:15:54 +00:00
thorpej
a45667c4c3
Add register definitions for PCI NE2000-compatible extenstions, allowing
...
control over e.g. full-duplex mode, media, etc.
Currently, only extensions for the RealTek 8029 are defined.
1998-10-27 22:30:56 +00:00
thorpej
e5c050d79c
Cosmetic changes in product lookup, to match other drivers.
1998-10-27 19:49:37 +00:00
bouyer
31dec5ddc5
Add config flags for pciide: 0x001 forces the use of DMA when the driver
...
don't know how to set the controller's modes.
1998-10-22 15:11:39 +00:00
bouyer
1456b01d77
Fix for Apollo DMA mode (not UDMA): DMA mode = PIO mode - 2, not PIO mode + 2 !
1998-10-20 18:47:45 +00:00
thorpej
167e694c99
Regen.
1998-10-20 01:39:41 +00:00
thorpej
1715793000
Add RealTek 8129 and 8139 10/100Mb Ethernet IDs.
1998-10-20 01:38:57 +00:00
thorpej
f69c40b8be
Fix a memory leak in fxp_stop(), from the FreeBSD driver.
1998-10-19 23:51:15 +00:00
bouyer
22acea3cb7
Fix a comment.
1998-10-19 12:26:22 +00:00
bouyer
c90c4b829b
Add support for the second flavour of the VIA IDE chip (which has UDMA).
...
Don't claim DMA support if we don't have explicit support for this chip.
They're to may way to loose when trying to use DMA without configuring the
controller and disks.
1998-10-19 12:24:33 +00:00
bouyer
04bdcc421c
Regen.
1998-10-19 12:13:57 +00:00
bouyer
682ee5fdf3
Yet another attemp at getting the VIA tech. product name/ID's rigth.
...
It seems that different products have the same name (sigh).
1998-10-19 12:11:50 +00:00
bouyer
da5d0a6f17
pciide.c: don't define WDCDEBUG, so it compiles on alpha. Correct a bogon
...
in the printing of DMA mode (piix3/4 only)
others: set the debug_mask to 0, so that debug messages are turned off by
default but can be easily turned on.
Reset drive_flags to 0 for unconfigured devices, so that they are ignored
later. For configured devices, reset state to 0 after probe/attach.
1998-10-13 08:59:45 +00:00
bouyer
19fddaeeb5
Merge bouyer-ide
1998-10-12 16:09:10 +00:00
thorpej
29d472f53d
Garbage-collect the open_target_lu and close_target_lu entry points from
...
struct scsipi_adapter; they were not used.
Add a scsipi_ioctl entry point to struct scsipi_adapter. This will be
used to issue ioctl commands to the host adapters.
Inspired by PR #6090 , from Matt Jacob.
1998-10-10 00:28:28 +00:00
tron
29c8a3aa85
Regen.
1998-10-05 20:38:17 +00:00
tron
1469dc411b
Correct vendor 0x1191 to "ACARD", add missing Matrox boards.
...
Fixes PR kern/6251 by Soren S. Jorvang.
1998-10-05 20:34:39 +00:00
tron
2aac65de87
Regen.
1998-10-04 23:52:43 +00:00
tron
a6a06368ce
Add S3 Virge/DX, fixes PR kern/6245 by Steve Allen.
1998-10-04 23:50:05 +00:00
fvdl
b28935cee3
Add missing field to le_softc structure, missed in previous commit. Name
...
it consistently with the other fields.
1998-10-02 00:20:52 +00:00
fvdl
5dbf12a22a
Regen.
1998-10-01 23:33:25 +00:00
fvdl
b7957e0200
Fix typo in 905BT4 product name.
1998-10-01 23:32:41 +00:00
drochner
a81796636f
support media selection / full duplex
1998-10-01 20:39:01 +00:00
matt
6e32aa4af4
Invert the RXCOPY test. Note that most new platforms will not
...
have relaxed alignment so the de driver should just work on them.
1998-09-29 22:40:52 +00:00
dante
b2a68e14db
Change sources to be KNF
1998-09-26 19:53:34 +00:00
dante
2cf169c563
Add AdvanSys ULTRA WIDE SCSI controllers
1998-09-26 16:20:31 +00:00