Commit Graph

8885 Commits

Author SHA1 Message Date
ad 01dc7ef4f3 TODO 2000-11-09 15:04:55 +00:00
ad 0129c52c7d - A few minor changes (typos and the like).
- Use SPLs in iop_msg_send() and not the interrupt mask - it accesses
  shared resources lower down.
2000-11-09 12:51:36 +00:00
ad 9a41c41bed Install only headers that are useful to userspace (ioctl interface is not
finished, but will be here soon).
2000-11-09 12:34:05 +00:00
eeh 71b0c155a0 Support for MI console magic framework. 2000-11-08 23:41:42 +00:00
eeh faa5920bd2 Use the MI console magic sequence framework. 2000-11-08 23:13:03 +00:00
ad 45b672fb47 Add iop, iopsp. 2000-11-08 19:56:20 +00:00
ad 5854b30016 Add glue for iop. 2000-11-08 19:46:27 +00:00
ad 3785a081f1 Recurse into i2o/. 2000-11-08 19:45:49 +00:00
ad d49fd13524 Add support for I2O adapters and SCSI/FC-AL/BSA class devices. This needs
more testing with different configurations, and work in a number of areas
(which I'm not able to do for a little while), but is at least functional
and stable on i386 with DPT adapters.
2000-11-08 19:45:30 +00:00
matt 918971bc20 Initial import of some of the definitions for the Serial Bus Protocol V2.
Which is used for SCSI over IEEE1394.
2000-11-08 19:27:08 +00:00
ad 891c4efd74 - Pull in some updates from FreeBSD - mainly clarifications. Thanks to
Mike Smith <msmith@freebsd.org> for pointing these out.
- Ensure that we get AENs: reserve one CCB/command block for parameter
  retrieval, and chain AEN retrievals that are the result of an interrupt.
2000-11-08 19:23:50 +00:00
ad 142ab5b1ec Move lsu stuff to more logical locations, and push queueing into the lsu
driver.
2000-11-08 19:20:33 +00:00
matt d0c3ebd9d8 Make the test for dmareg >= 0x10000 quirked on IDE_16BIT_IOSPACE 2000-11-08 18:22:27 +00:00
wrstuden 88cbfbe36d Move guts of pciide_print_modes() to wdc_print_modes() so that non-pciide
wdc drivers (like macppc's obio IDE interface) can use it. Also add
support to both wd attach line and to wdc_print_modes() to print
Ultra/{33,66,100} for respective UDMA modes (From Manuel Bouyer).
2000-11-08 17:57:36 +00:00
thorpej d764c4d540 One more fix to multicast hash computation. Submitter confirms that
with this fix, multicast does indeed work properly on the EPIC.

From Zdenek Salvet <salvet@ics.muni.cz>.
2000-11-08 15:20:29 +00:00
onoe 5b19fc8512 Add powerhook and shutdownhook to support Notebook.
Use PAGE_SIZE instead of OHCI_PAGE_SIZE for each DMA mem.
	OHCI_PAGE_SIZE(2kB) will be round up PAGE_SIZE, anyway.
	XXX: need more sophisticated way to manage buffer.
Clear IntEvent first not to lose SelfIDCompleted in multiple bus reset.
Be careful not to clear BusReset int event in SelfID duration to follow
the OHCI spec.
Initiate BusReset if selfid is not completed within 3sec after busreset.
2000-11-08 06:00:18 +00:00
matt d522d7acc9 Add fwlynx & fwnode. 2000-11-07 18:45:46 +00:00
tsutsui b666be4488 Add more names:
MI:       hifn, intersil7170, neo, siop_common, sysmon_envsys, sysmon_wdog
i386:     mca
newsmips: dmac, spifi, xafb
2000-11-07 15:33:53 +00:00
soren 232e2c5ef9 Regen. 2000-11-07 13:53:59 +00:00
soren 0dc9fd53b9 Just print 'Intel' for their other OUI. 2000-11-07 13:53:42 +00:00
augustss 5a356af882 Regen. 2000-11-06 22:32:49 +00:00
augustss 75367f830a Add some OUIs and models. From OpenBSD. 2000-11-06 22:32:26 +00:00
onoe 5d7a16ff8c make it compilable with FW_DEBUG 2000-11-05 23:04:00 +00:00
chs b6b3ee8657 remove what looks to be a bit of leftover debug code. 2000-11-05 23:00:10 +00:00
chs 1c76b8d14d fix types in debug code. 2000-11-05 22:59:27 +00:00
matt f0bd09f42d Merge in my some of my stuff. 2000-11-05 22:35:56 +00:00
matt 43ff857e29 Don't allow use of mapreg is they are at or above 0x10000 in I/O space. (in
other words, if the address uses bits in the top 16 bits, don't use it).
2000-11-05 21:14:59 +00:00
mhitch d458239a94 When doing the cacheflush for MIPS1, adjust the length to account for
an unaligned buffer.  The last word of the buffer was not getting flushed
if the buffer was unaligned and fit in a single DMA segment.  Now dump(8)
works on both MIPS1 and MIPS3 DECstations.
2000-11-05 21:02:13 +00:00
jdolecek 0f1770e08d make compilable without FW_DEBUG 2000-11-05 19:43:32 +00:00
onoe e83458422f First Prototype implementation of network interface part for IEEE1394 (if_fw).
Current status:
	Only OHCI chip is supported (fwohci).
	ping (IPv4) works with Sony's implementation (SmartConnect) on Win98.
	sometimes works but not stable.
Not implemented yet:
	IRM (Isochronous Resource Manager) functionality.
	Link layer fragmentation.
	Topology map.
More to do:
	clean ups
	MCAP
	charactor device part
	dhcp

There is no entry in GENERIC config file yet.
Follow sys/dev/ieee1394/IMPLEMENTATION to enable if_fw.
2000-11-05 17:17:12 +00:00
thorpej 1363813e0d Two things off the TODO list. 2000-11-05 16:44:08 +00:00
thorpej cde4f7415c Add mmap support (i386-specific for the moment). 2000-11-05 16:24:45 +00:00
thorpej 5a8a59d459 Weed out the Dell and HP versions which are known to work in
WSS emulation mode (i.e. won't work in AC'97 mode).
2000-11-05 16:13:17 +00:00
thorpej 70b3814a53 Add NeoMagic 256 audio. 2000-11-05 06:46:03 +00:00
thorpej f945fc008d Driver for NeoMagic 256 audio. Based on the OpenBSD driver, which is
in turn based on the FreeBSD driver, ported to NetBSD and somewhat
modified by me.  Thanks to Matt Thomas for testing.
2000-11-05 06:43:45 +00:00
thorpej aac73109ae Feh, fix st00p1d braino in last. 2000-11-05 05:41:25 +00:00
thorpej fce3c3a6a8 pcweasel carries the sysmon_wdog attribute. 2000-11-05 04:07:30 +00:00
thorpej 8e0eb1dc12 viaenv carries the sysmon_envsys attribute. 2000-11-05 04:06:53 +00:00
thorpej e67f5e66bc Split the envsys and watchdog parts of sysmon into their own
files.
2000-11-05 04:06:13 +00:00
scw 3b5fce6c46 Invert the sense of i82586_init()'s return value so that
it matches what ether_ioctl() expects.
2000-11-04 19:48:38 +00:00
thorpej 95b9ab0ebc Add a device driver for the Middle Digital, Inc. PC-Weasel serial
console board.  This glues into the `pcdisplay' driver and provides
support for the watchdog timer function on the PC-Weasel.
2000-11-04 18:47:20 +00:00
thorpej 7575e3d5e9 Update comment regarding watchdog timer toggle. 2000-11-04 18:44:28 +00:00
thorpej c48d521bdb Add a watchog timer framework to the system monitor. 2000-11-04 18:37:19 +00:00
veego 232ac6b3d1 Print the vendor and chip id in the DPRINTF with 0x%x and not just %d. 2000-11-04 18:28:19 +00:00
thorpej f3c38af11b Regen. 2000-11-04 16:43:14 +00:00
thorpej 601bcf9813 Add a couple NeoMagic products. From OpenBSD. 2000-11-04 16:41:57 +00:00
augustss f3030960da Add quirks for a Fuji camera. 2000-11-04 15:54:36 +00:00
thorpej 05d5f37522 Shadow the AC'97 codec registers. This adds two capabilities:
* support devices that crash when reading the codec registers; a flags
  interface is added to the host interface and one flag is defined
  (AC97_HOST_DONT_READ).
* new API (restore_ports) for restoring the user's settings.  This
  can be useful after an APM resume after a suspend to disk.

From OpenBSD.
2000-11-04 08:07:14 +00:00
thorpej 0bb6525f5b Add some more codec IDs. From OpenBSD. 2000-11-04 05:45:57 +00:00
ad 96d994ecae regen. 2000-11-03 16:31:51 +00:00
ad 10885fbd47 Oops 2000-11-03 16:31:01 +00:00
ad 62d4f894dc Regen. 2000-11-03 15:57:33 +00:00
ad 3789452cb3 Pequr Technology is now called ServerWorks. 2000-11-03 15:54:02 +00:00
pk 8ba559d056 st_touch_tape(): Pass XS_CTL_SILENT to st_mode_select(). 2000-11-03 12:08:41 +00:00
pk 4c7351ec7d * st_touch_tape(): start probing at the block size from the sense data if
we have it.

* st_unmount(): reset density to the device default. This prevents using
  stale density values after changing to a medium with different density.

  Section 9.3.3 of the SCSI specs states that a device shall return the
  density value specified in the last succesfull MODE SELECT after an
  unload operation, in case it is not able to automatically determine
  the density of the new medium.
2000-11-03 10:46:18 +00:00
pk e3aaa6c1ab * Per st(4), retrieving status and setting modes on the control device
should succeed even if no media is loaded.

* In stopen(), check the return value of st_mount_tape().
2000-11-03 10:22:02 +00:00
toddpw d3ca42abf0 Add support for Socket Comm. PC Card Ethernet, and tidy up naming. 2000-11-03 09:07:24 +00:00
tsutsui 39355e9743 Make this compilie with LANCE_REVC_BUG. 2000-11-03 06:21:32 +00:00
tsutsui d952450835 Wrap function declaration with "#ifndef sun3/#endif"
because sun3 does not have bus_space(9) support and
it have not switched to MI intersil7170 driver.

XXX We should split this into intersil7170{reg,var}.h ?
2000-11-03 05:23:07 +00:00
augustss 9702e75aa1 Sync with FreeBSD: Add a scanner. Fix a pasto. 2000-11-03 04:00:15 +00:00
bjh21 930c4cf062 First attempt at multicast stuff. I suspect it doesn't work.
Use ether_ioctl -- saves 300 bytes of text.
2000-11-03 00:25:36 +00:00
bjh21 42e564ed45 Remove unnecessary includes.
Add a compiled-in RCSID.
2000-11-02 21:56:46 +00:00
bjh21 13234acd0f Convert to using ether_ioctl().
G/C huge swathes of unused code and outdated comments.
2000-11-02 21:42:41 +00:00
mhitch f5f7066fc8 When a read DMA transfer is interrupted by a disconnect on the IOASIC SCSI
and the buffer is not 8-byte aligned, it leaves a partial transfer in the
SDRx registers.  This could cause data corruption in dump(8) because the
read-ahead buffers are allocated on a non-aligned address.  When the read
DMA transfer is interrupted and the current DMA position is not aligned,
call the dma_end() routine to flush the SDRx register contents to the
buffer.
2000-11-02 21:00:04 +00:00
thorpej b2429742a5 Print out product info on attach. 2000-11-02 18:55:46 +00:00
pk f71476a62f Introduce ST_Q_ERASE_NOIMM, a quirk indicating that the device rejects
an ERASE command with the `Immed' bit on.

Use it on the VIPER 21247 & 21531.
2000-11-02 13:34:59 +00:00
pk e4958f1fe6 Prevent printing sense information twice. 2000-11-02 13:12:58 +00:00
msaitoh 5bf3b4ba22 regen 2000-11-02 07:16:16 +00:00
msaitoh 24429db457 add support:
MELCO		LPC2-TX
	Telecom Device	TCD-HPC100
	MACNICA		ME1-JEIDA
2000-11-02 07:15:43 +00:00
msaitoh 41cfcbebb0 Fix two bugs.
- Doesn't fail ne_pcmcia_attach() if ne_pcmcia_ax88190_set_iobase() failed.

- Check whether LIOBASE register is writable or not (dirty hack!).
  Fix PR. 11285
2000-11-02 07:04:46 +00:00
pk 9c058471c3 Remove useless check for SDEV_MEDIA_LOADED from st_read_block_limits().
This command should work whether or not media is present in the device.
2000-11-02 00:56:59 +00:00
pk 3867a66a9a * In st_touch_tape(), don't bail out if the MODE SELECT fails since we are,
after all, probing the device for acceptable parameters.

* In st_loadquirks(), copy mode-specific quirks from the quirk table
  to `st_softc'; otherwise all such quirks save ST_Q_FORCE_BLKSIZE are ignored.
2000-11-02 00:52:15 +00:00
eeh 507aaec04c Adapt to the new line discipline scheme. 2000-11-02 00:01:44 +00:00
eeh 9350b8913d Adapt to new line discipline scheme. 2000-11-01 23:57:14 +00:00
eeh 2a860a3de9 Adapt to the new line discipline scheme. 2000-11-01 23:54:57 +00:00
eeh 55fd5a2fb0 Pass along the bus frequency too, for devices that need it. 2000-11-01 06:18:45 +00:00
eeh 34ed153955 Fix warning in a debug printf. 2000-11-01 06:17:32 +00:00
pk f5ba0a3942 fb_is_console(): we must match on the `fb' propery in a V0 PROMs root node
only after establishing that the PROM output device is a frame buffer device.
2000-10-31 21:54:35 +00:00
simonb 97e5badeae Line up columns in #define list. 2000-10-31 15:16:26 +00:00
eeh f9a51c7b15 Clean up a #define that doesn't belong. Oops. That's what I get for
working this late.
2000-10-31 08:06:14 +00:00
eeh 37486bb837 Get the bpp driver to work properly. 2000-10-31 06:32:06 +00:00
mjl a7fcd8b686 Fix hanging token ring when data size is multiple of 514, using
patch in PR/11316 by YAMAMOTO Takashi.
This fixes random hangs I experienced, and probably also
remedies PR/11300 and PR/9321.
2000-10-31 01:22:08 +00:00
wiz 55b8e84db5 Delete more files before import. 2000-10-28 14:51:08 +00:00
wiz d91eb6a0c3 Replace remaining vm_offset_t's in NetBSD code by vaddr_t; remove now
unnecessary casts added by thorpej in 1.11 of bktr_core.c. Strike one
from the TODO list.
2000-10-28 14:50:27 +00:00
wiz 134608261c Merge 2.17 changes to trunk. 2000-10-28 14:31:57 +00:00
wiz 9732164f76 Import release 2.17 of the bktr driver.
Changes: Integration of some NetBSD changes. (FreeBSD version now is also
usable as a KLD (~= LKM).)
2000-10-28 14:17:40 +00:00
tsutsui d214b09b47 Increase initial Tx drain threshold to 512 bytes.
My macppc complains about transmit FIFO underrun every time.
2000-10-28 08:36:57 +00:00
thorpej 4295299769 Regen. 2000-10-27 22:43:44 +00:00
thorpej 86342bb610 Add a bunch of Intel PCI chipsets. From OpenBSD. 2000-10-27 22:43:28 +00:00
thorpej 1b15310aaa Regen. 2000-10-27 17:37:02 +00:00
thorpej 24cba36ced Add a bunch of Pequr (ServerWorks) products. From OpenBSD. 2000-10-27 17:36:44 +00:00
nisimura 8a54846748 Fix errors in initializing the software copy of 256 entry colormap
stored in device softc.  rasops_cmap[] array is orginazed in 256
iteration of 3 byte long RBG triplet, which does not match with
struct wsdisplay_cmap design.
2000-10-27 07:24:04 +00:00
ad 528e314143 Work around a fatal firmware bug on some boards. From msmith@freebsd.org. 2000-10-26 14:43:50 +00:00
haya a4df364077 METHOD CHANGE: Use CIS_FUNCE data which is decoded by pcmcia_cis.c,
instead of decode cis tuple by itself.  This change leads to suppress
one power-cycling.
2000-10-25 09:32:11 +00:00
haya b44679b7ec Bugfix: reset 16-bit pcmcia in chip initialisation sequence. 2000-10-25 09:15:58 +00:00
augustss a675063a0d Add a hack to try and figure out if the TI UTUSB41 hub is bus powered
despite claiming to be self powered (it's important to know so that the
power budget can be met).
2000-10-24 15:01:26 +00:00
augustss 372ae0a636 The all time favourite hub, TI UTUSB41, doesn't report power right. :( 2000-10-24 14:57:35 +00:00
augustss 5cc8d65338 Adda quirk for hubs that do not report bus powered status in a normal way. 2000-10-24 14:56:09 +00:00
augustss 94e36acb29 Tell usbd_set_config_no() to be verbose. It's nice to know whyit fails. 2000-10-24 14:53:59 +00:00
augustss 71fc3f6ee2 Regen. 2000-10-24 14:51:51 +00:00