mjacob
74bc9f26d5
Update HBAs to incorporate the new max_lun property.
1998-12-05 19:43:33 +00:00
matt
3f225e009d
Add Sigma Designs REALmagic Hollywood Plus MPEG-2 decoder
1998-12-05 19:02:14 +00:00
drochner
9175cc0ddf
The chipset manual doesn't tell the truth about the channel enable
...
register bits. Replace by experimental result.
1998-12-04 17:30:55 +00:00
bouyer
47ab212504
Rename pio_mode, etc ... to PIO_cap, etc ... for consistency with the
...
ata_drive_datas struct. Suggested by Soren S. Jorvan.
1998-12-03 18:24:30 +00:00
bouyer
334abc06cf
Correct definition for SIS_TIM_UDMA_EN macro. Ultra-DMA should now work ...
1998-12-03 17:29:01 +00:00
bouyer
e39a5bdc53
Now that vtophy() is no longuer used, re-enable WDCDEBUG, with
...
wdcdebug_pciide_mask = 0 (so that one can easily patch this variable and give
me more informations :)
1998-12-03 17:27:57 +00:00
bouyer
2b28c858d8
add a udma_mode field to wdc_softc, and use it the same way dma_mode is used
...
(higthest ultra-dma mode supported). There may be a higther ultra-dma mode
defined ...
1998-12-03 15:38:59 +00:00
bouyer
ba90b4b2d3
Add URLs of documentation source (from Matthias Drochner).
1998-12-03 14:06:16 +00:00
bouyer
7d87d6a5f6
Use correct register when disabling the second channel.
1998-12-03 13:50:38 +00:00
bouyer
8ef785add8
Restore changes from revision 1.17:
...
"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-12-03 13:30:00 +00:00
bouyer
1af63c0605
Correct a few bogons in the SiS chip initialisation.
1998-12-03 13:25:44 +00:00
bouyer
09408781c9
Ouh ! Correct the 8-bit PCI registers reading/writing functions: need to
...
multiply the register offset by 8.
1998-12-03 13:24:11 +00:00
bouyer
45675ab14b
- change drive_flags from u_int8_t to u_int16_t
...
- keep the modes supported by the drive in struct ata_drive_datas (will be
later used for downgrading the DMA/PIO mode on error)
- use config flags to force/disable PIO/DMA/UDMA modes
- For the CMD PCI0643/6 setup DMA mode to DMA Read multiple.
1998-12-02 10:52:24 +00:00
jtk
aeec8f4cb2
regen
1998-11-30 19:47:53 +00:00
jtk
cef29c6e94
Per PR/6172 (Johnny Lam, lamj@stat.cmu.edu), fix pcidevs identification
...
of CL-PD6729. See <http://www.cirrus.com/products/overviews/pd6729.html >.
1998-11-30 19:47:16 +00:00
thorpej
2407a4bd22
Regen.
1998-11-29 02:00:33 +00:00
thorpej
feb6a5652f
Fix the original Rhine's part number (thanks to Greg Oster).
1998-11-29 02:00:13 +00:00
thorpej
17ac4ec4c5
Regen.
1998-11-29 01:54:16 +00:00
thorpej
f051479ec7
Garbage-collect some bogus RealTek entries.
1998-11-29 01:54:02 +00:00
thorpej
ecaece3f26
Add product IDs for the VIA Rhine and Rhine-II 10/100 Ethernet chips.
...
(XXX What is the original Rhine's part number?!)
1998-11-29 01:53:33 +00:00
drochner
b0bb754f03
regen
1998-11-27 10:43:52 +00:00
drochner
d5a92a68de
add Powerstorm 4D50T graphics found in some Alphas
1998-11-27 10:39:16 +00:00
mcr
dcfd79f257
regenerated pcidevs.h and pcidevs_data.h due to kern/6280
...
(not kern/5847 as originally noted)
1998-11-26 20:05:38 +00:00
augustss
ca707fcdf2
Make the copyright header conform to the NetBSD template.
1998-11-25 22:32:04 +00:00
augustss
9726cfd1fb
Make the copyright header conform to the NetBSD template.
1998-11-25 22:17:06 +00:00
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