Commit Graph

9042 Commits

Author SHA1 Message Date
augustss
0510b1739c Update documentation link. From OpenBSD. 2000-11-10 13:53:23 +00:00
augustss
9a10107274 Some OpenBSD defines. From aaron@monkey.org 2000-11-10 13:52:28 +00:00
enami
da071ce468 Remove lonely splx in fw_detach. 2000-11-10 03:45:09 +00:00
hubertf
a7398324e3 Regen for ELSA WaveLan IDs 2000-11-10 01:03:29 +00:00
hubertf
e00d559554 Add ELSA WaveLAN card & a noname clone(?) 2000-11-10 01:02:32 +00:00
ad
c8c52e320a Match controllers hiding behind a Symbios 53c1510; thanks to Jonathan Lemon
<jlemon@flugsvamp.com> for providing clarification.
2000-11-09 18:19:40 +00:00
itojun
611c77c7df unused variable 2000-11-09 17:20:24 +00:00
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
augustss
963138bceb Add Apple's cool new mouse. 2000-10-24 14:51:24 +00:00
explorer
7817cc2ba7 another Ricochet quirk, this time a well-known one. No device strings are provided from it. 2000-10-24 03:59:16 +00:00
bouyer
fc92601259 Fixes related to QUEUE FULL status:
- move status handling in siop_scsicmd_end(), it's better than in siop_intr()
- define 2 internal SIOP status, for "no status reported by device" and
  reset condition
- add a list of "urgent" command, to be executed before the list of command
  queued the normal way; this is used for command which got aborted
  by a QUEUE FULL and have to be requeued in order.
- Don't accept to send a Q_TAG message not immediatly folowing a IDENTIFY
2000-10-23 23:18:10 +00:00
bouyer
cce4838c1f Add ram size to struct properties, and pass it to the bus independant part. 2000-10-23 14:57:23 +00:00
bouyer
7777f61cbe Rearrange for script changes (scheduler core in main script, command part
of the scheduler in command table).
Add tagged command queuing support.
2000-10-23 14:56:16 +00:00
bouyer
5113af09e3 Regen 2000-10-23 14:54:50 +00:00
bouyer
7ae5c097e5 Rearrange things a bit to have less jumps
Install the core of the scheduler in main script (so it's in RAM when there is
one), and avoid jump in the common case. The command part of the scheduler now
lives in host memory, with tables.
Add template for a tag switch.
2000-10-23 14:53:53 +00:00
bouyer
3b7321e1c0 Allow conditionnal branch like "JUMP foo, IF FALSE"
The branch will never be taken as is, but the driver can patch the script.
2000-10-23 14:51:51 +00:00
ad
96562d2d4f Add missing splx() call. 2000-10-23 11:27:52 +00:00
onoe
644aa13a51 Fixed the value of TULIPF_DBO; which was accidentaly shared with the same
value of TULIPF_BLE.  Pointed out by Enami-san.
2000-10-23 04:05:21 +00:00
explorer
365f7337ea make ucom into a random source, type TTY 2000-10-22 19:01:44 +00:00
explorer
eb27dda01d Add a new quirk: ASSUME_CM_OVER_DATA.
Set this on the Metricom Ricochet GS USB modem.

This particular modem breaks if the USB command to enable the feature
CM_OVER_DATA.  Since it appears to wake up in that mode already,
just pretend it is already on, and don't try to set it.

Since this commit is happening over my Ricochet modem, I assume it works
now.
2000-10-22 08:20:09 +00:00
mjacob
0a481d850d fix SBus bursting *correctly* this time 2000-10-22 03:04:50 +00:00
bouyer
2ebf1a0cd0 Ops, sync the script DMA map when the script RAM *don't* exists. 2000-10-21 13:56:17 +00:00
ad
833dea96d1 - tsleep()/wakeup_one() will hurt when under load, so use a queue instead.
- Don't copy to or from the aligned buffer unless there's a need to.
2000-10-20 15:14:25 +00:00
ad
5e0c8a6d51 - ca -> lsu
- Note twe.
2000-10-20 11:47:43 +00:00
bouyer
e999ecae48 Support ETHERCAP_VLAN_MTU. Tested on a sparc 2 with:
le0 at sbus0 slot 0 offset 0xc00000 level 5: address 00:00:3b:86:19:92
le0: 8 receive buffers, 2 transmit buffers
2000-10-20 09:40:26 +00:00
mrg
0c6aa8d3ed ensure DMA mappings are not mapped streamable. fixes ethernet problems on
ultrasparc sbus class machines.  from eeh.
2000-10-20 06:08:02 +00:00
mrg
3af567c485 rework to use bus_dmamem_map() then bus_dmamem_load(), rather than
bus_dmamem_load_raw() then bus_dmamem_map().

tested on SS2 and SS5 and sbus cards.
2000-10-20 05:57:50 +00:00
simonb
25f61791dd Only install wsconsio.h, wsdisplay_usl_io.h, wsksymdef.h and wsksymvar.h
into /usr/include/dev/wscons.
2000-10-20 05:32:47 +00:00
oster
d349cdf1ef Move disk_busy() and disk_unbusy() to more sane locations. Values
reported by 'systat iostat' and friends are now much more correct for
RAIDframe devices.  Thanks to Andrew Doran for poking me about this,
and for suggestions on and review of the changes.
2000-10-20 02:24:45 +00:00
ad
16a062538b Nuke unused includes, sort decls. 2000-10-19 15:31:20 +00:00
ad
e05c79ba66 Regen. 2000-10-19 15:29:14 +00:00
ad
5110b7e58d Add Compaq IEAS. 2000-10-19 15:28:50 +00:00
ad
67fe5fbbb4 Update for lsu; untested. 2000-10-19 14:28:46 +00:00
ad
e9b69699e0 Hook in twe. 2000-10-19 14:24:44 +00:00
ad
9813a10184 Driver for the 3ware Escalade family of RAID controllers. 2000-10-19 14:11:30 +00:00
ad
b3434771a3 El-cheapo disk driver for RAID controllers. If this bugs you, let me know. 2000-10-19 14:06:02 +00:00
nisimura
ad74c7dbd6 - Put comment about wsevent structure counts 0 for the left most mouse
button with a bit coding improvement.
- signed char -> int to hold integer values.  Contributed 16 insn savings.
2000-10-19 10:27:04 +00:00
bouyer
d239df5374 Adapt for script change: don't assume Ent_lun_switch_entry == 0 2000-10-19 07:22:06 +00:00
bouyer
8561c00a0a Regen 2000-10-19 07:20:33 +00:00
bouyer
67618a69ae Move restore_scntl3 before the lun switch, to ease freeing of unused lun
slots.
2000-10-19 07:20:16 +00:00
thorpej
5247e9db0b Regen. 2000-10-19 05:52:15 +00:00
thorpej
24477b4281 Add the ICS Advent PCI-WDT500/501 watchdog timer boards. 2000-10-19 05:51:34 +00:00
bouyer
f629a0ae67 Ops, add proper bus_dmamap_sync() calls for reselect switch operations. 2000-10-18 20:06:54 +00:00
bouyer
9d3f5d7fbd Adapt for new lun switch script.
Implement SCBUSACCEL ioctl.
Snapshot of work in progress on tagged queuing: we can send/receive
queue tag messages. Infrastructure to manage multiple commands per
devices not here yet.
2000-10-18 17:06:52 +00:00
bouyer
b66120e445 Regen 2000-10-18 17:01:46 +00:00
bouyer
75246b83c0 Redo the target/lun sw in a better way, and handle queue tag messages. 2000-10-18 17:01:13 +00:00
bouyer
9836ff3913 Looks like frame size isn't checked; just say we can do VLAN MTU.
Tested with a SMC9432TX.
2000-10-18 16:49:13 +00:00
bouyer
8ec46d1679 Fix off by one error when using RETURN, WHEN/IF ... 2000-10-18 16:05:23 +00:00
mjacob
cecccb23b2 quiet chatty boot messages 2000-10-17 17:39:10 +00:00
bouyer
f87b1573c3 Support ETHERCAP_VLAN_MTU by ignoring the EX_UPD_ERROR and EX_UPD_OVERSIZED
status bits. Tested with a 3c905-TX.
2000-10-17 16:16:52 +00:00
bouyer
5cc13a273b Support ETHERCAP_VLAN_MTU. It seems the chip doesn't check the frame size.
Tested with a NetVin 5000 and a WD8013EBT.
2000-10-17 16:14:42 +00:00
haya
8130f0ec5d Add a cis decoding function which decodes some CISTPL_FUNCE tuples for
disk and network functions.
2000-10-17 10:13:46 +00:00
nisimura
8a526d9513 Remove sc_lance_dmam field from ioasic_softc structure. It was obsoluted
by the removal of ioasic_lance_dma_setup() made in if_le_ioasic.c 1.15.
2000-10-17 09:45:49 +00:00
nisimura
f3d4ccd750 Have consistent #if's for machine dependent clauses. 2000-10-17 09:27:22 +00:00
nisimura
1fd2521475 - efforts to merge TC Alpha and IOASIC DECstation, derived from Mattias
Drochner's work made in nisimura-pmax-wscons branch.  Still a little
  to do before useful for DECstation.  MI softintr required.
- allow wildcard matchs to have zstty/zskbd/zsms in default hardware
  configuration.
- abandon to check zs_ioasic_cnattach() return value; it doesn't fail.
- have zs_ioasic_cnattach() serial line parameters hardcoded inside, in
  symmetry with zs_ioasic_lk201_cnattach().
2000-10-17 08:55:43 +00:00
oster
f9a49b32bf Don't touch a failed component at all. Thanks to Robert Elz (kre) for
noting the problem and providing additional comments.
2000-10-17 03:39:41 +00:00
shin
6444136d42 cosmetic change. 2000-10-17 01:50:40 +00:00
thorpej
1da5a95dc5 Oops, wdt_msec is a short, not a char. 2000-10-17 00:34:41 +00:00
thorpej
4b0c3e182c Fix a typo in an constant name that is currently unused. 2000-10-16 23:03:45 +00:00
thorpej
a5e3251d5f Register definitions for the Middle Digital, Inc. PC-Weasel
serial console board.
2000-10-16 22:59:24 +00:00
itojun
d01f7f6e2b correct memory size to be mapped. PR 11242. 2000-10-16 10:26:41 +00:00
mjacob
c64069308b Make changes relevant to changes in WWN defaults.
Also fix egregious bug where we would never decrement
the islocked recursion counter. I guess this means
that we don't recurse on this platform! All of this should
go away when we have real lock primitives to use in drivers.
2000-10-16 05:18:15 +00:00
mjacob
c7c2783178 Change some of the WWN macros- eliminate PORT_FROM_NODE_WWN and make
sure we have a DEFAULT_{PORT,NODE}WWN and ISP_{NODE,PORT}WWN macro
as a requirement for all platforms.
2000-10-16 05:16:56 +00:00
mjacob
ffdbddbd79 Add in commented-out hiwater measurement.
Remove egregious older bug which had us refusing to log into
fabric devices unless they were NL ports. Whuff.
2000-10-16 05:15:55 +00:00
mjacob
298ec0ecd9 Clarify/cleanup how node and port names are derived from nvram. Remove
clause 2 of licence. Remember to print initiator ID (LOGINFO level).
2000-10-16 05:15:05 +00:00
mjacob
7cc31292b3 Turn on 32 byte bursting for ISP 2000-10-16 05:13:13 +00:00
mjacob
3607efd3d7 Remember to establish default PORT WWN. Add in some LOGDEBUG2 messages
for the dma mapping code.
2000-10-16 05:12:26 +00:00
mjacob
8ddb5fd594 roll SBus f/w to latest released level (1.37) 2000-10-16 05:10:37 +00:00
thorpej
4318834442 Don't trim off the FCS, pass it up. 2000-10-15 19:56:31 +00:00
explorer
b4bbac9584 add Ricochet GS USB modem 2000-10-15 17:53:17 +00:00
bjh21
83666f01fa Shuffle printfs around so they look right when we've got a drive attached. 2000-10-14 23:45:57 +00:00
matt
b885772956 The input packet has the FCS attached to set M_HASFCS before passing up.
Revove eh = ... since it's no longer used.
2000-10-14 20:06:02 +00:00
nisimura
ca7bd5f302 Make sure wsmouseopen() returns ENXIO when no VSXXX mouse is attached. 2000-10-14 08:51:51 +00:00
simonb
c8d4a6140c Regen 2000-10-14 06:23:21 +00:00
simonb
30dbba4dd1 Add ATI Mobility M3 (both PCI and AGP). 2000-10-14 06:12:46 +00:00
jonathan
6e67f82712 Fix wi_intr() to avoid touching card registers during insert/remove events,
when sharing an interrupt with other devices:
check sc->sc_enabled,  and drop the interrupt if its' off.

Also check for IFF_RUNNING, on advice of Enami Tsugotomo.
2000-10-13 19:15:08 +00:00
augustss
86974d7235 Regen. 2000-10-13 18:16:53 +00:00
augustss
67c8e3701d A bunch of scanners. 2000-10-13 18:16:36 +00:00
augustss
764c5e3eea Recognize HP 5300C. 2000-10-13 16:18:48 +00:00
augustss
8abfde6138 Regen. 2000-10-13 16:18:22 +00:00
augustss
54480a36e4 Add HP 5300C. 2000-10-13 16:18:02 +00:00
mjl
2898929f94 Revert previous since the finnish keymap is already present under
the name "sv". Note to myself: Read PRs completely before acting.
Note to Santa Claus: I want a mailing list that carries all follow
ups to PRs!
2000-10-13 12:53:23 +00:00
augustss
b5b3e28ce7 Add uscanner. 2000-10-13 12:31:10 +00:00
augustss
3a05d9ba7b Avoid empty strings for vendor&product. 2000-10-12 23:11:04 +00:00
augustss
4ed4915295 Regen. 2000-10-12 22:51:42 +00:00
augustss
0b0fb8e466 Add Kingston KNU101TX Ethernet adapter. 2000-10-12 22:51:20 +00:00
wiz
06ab77c680 typo fix in comment (stallen -> stolen) 2000-10-12 12:42:52 +00:00
wiz
8a9e5b82d3 typo in comment (consifuration -> configuration) 2000-10-12 12:42:03 +00:00
mjl
38fd6528ac Add finnish keymap, from Heikki Kallasjoki in PR/11186. 2000-10-12 12:41:22 +00:00
enami
3a909c64a6 Use splnet instead of splimp in wi_ioctl. 2000-10-12 04:50:58 +00:00
enami
4c00a9d6aa Bail out initailzation on buffer allocation failure. 2000-10-12 03:29:59 +00:00
oster
fc40c38df6 Minor fixup for a printf(). Noted by Robert Elz. 2000-10-12 03:28:49 +00:00
itojun
32e7a2cd70 hifn7751 crypto card driver. from openbsd.
does nothing useful at this moment - initailize the chip, that's all.
TODO: crypto logic framework in kernel (see openbsd sys/crypto)
TODO: ipsec frontend (need major rework in ipsec tree - should start with busywait)
TODO: character device frontend
2000-10-12 02:59:59 +00:00
itojun
8d7ce38746 regen 2000-10-12 02:54:13 +00:00
itojun
429b0af909 pci device ID for hifn 7751-based crypto cards. from openbsd. 2000-10-12 02:52:58 +00:00
enami
b204f9e433 Use ether_ioctl. 2000-10-12 02:24:08 +00:00
sommerfeld
2383226766 Silence format warning. 2000-10-11 22:03:33 +00:00
thorpej
2198741306 Use ether_ioctl(). 2000-10-11 16:57:45 +00:00
onoe
fcde56c9ba Add flags to indicate that tlp_init() should set some more BUSMODE bits.
TULIPF_BLE	/* data is big endian */
	TULIPF_DBO	/* descriptor is big endian */
These setting is required for Big-endian bus front-end (such as APbus for
newsmips) to work with tulip.  Also,
	sc_maxburst
member is added to the tulip_softc to limit the maximum burst length.
This member defaults to zero which means no restriction for burst length.
2000-10-11 14:59:52 +00:00
pk
0abaf0f210 Fix compilation errors: unused variable & missing function return values. 2000-10-10 23:33:52 +00:00
augustss
41bb27ce0d Regen. 2000-10-10 12:38:24 +00:00
augustss
1f06d9f822 Another vendor&product code. 2000-10-10 12:38:00 +00:00
augustss
8adc2fb7f3 Don't free unallocated pointer in detach (can happen if detach happens
before attach has finished).
2000-10-10 12:37:01 +00:00
itojun
b69ea2a63d make it work right on non-32bit arch. from kjc@csl.sony.co.jp 2000-10-10 10:15:00 +00:00
bouyer
64c818a7e2 Emit a warning when a symbol is undefined. 2000-10-09 15:57:56 +00:00
enami
db6fba6bdf Move inclusion of rnd.h and sys/rnd.h from tulip.c to tulipvar.h. 2000-10-09 14:31:01 +00:00
enami
ca88e2b6bd Make tulip a random source. 2000-10-09 12:54:28 +00:00
augustss
cc577ca5c6 Regen. 2000-10-08 23:57:10 +00:00
augustss
b132b36f4d Add a few more devices (from FreeBSD). 2000-10-08 23:56:53 +00:00
augustss
62fb025c5c Regen. 2000-10-08 21:26:47 +00:00
augustss
447c19ac22 Add another DLINK adapter. 2000-10-08 21:26:26 +00:00
augustss
966f1692e1 Don't use a plural `s' if there is only one button. 2000-10-08 20:52:18 +00:00
augustss
b6db5a8622 Regen. 2000-10-08 20:51:30 +00:00
augustss
3598b417a3 Add a Fuji camera. 2000-10-08 20:51:00 +00:00
cgd
a3dbabc67b Update for current PCI device class/subclass and capability codes.
(also, tweak the I2O subclass string to be "standard" -- the removal
of version info didn't extend that far.)
2000-10-07 18:58:13 +00:00
nathanw
34f3869cdc Change int->bus_addr_t in com_kgdb_attach() prototype.
Compiles again with KGDB enabled.
2000-10-06 21:12:01 +00:00
bouyer
f6bf6762ab Ops, disable debugging messages. 2000-10-06 20:07:10 +00:00
bouyer
c8ad9b6302 Regen 2000-10-06 16:39:22 +00:00
bouyer
171adcf634 Fix recurent typo: shed->sched 2000-10-06 16:39:04 +00:00
bouyer
e353a6d9b2 Adapt for reselect handling from the script. While here, fix typo
(SIOP_SCXFER -> SIOP_SXFER).
2000-10-06 16:35:13 +00:00
bouyer
eae96f0267 Regen 2000-10-06 16:31:31 +00:00
bouyer
c67eef4e7d Handle reselect entirely in script; for this provide a script area,
modified by the driver, which will load the appropriate DSA for a given
target/lun.
2000-10-06 16:31:17 +00:00
ad
5df1120c67 Add some more completion status codes. 2000-10-05 11:23:05 +00:00
bouyer
2e6cb6a878 When 802.1Q MTU, we have to ignore the Frame Too Long errors, and there's no
need to disable RWT and JAB.
2000-10-05 07:22:43 +00:00
augustss
7ce859b8d0 Allow 16-bit only speakers to work. 2000-10-05 01:35:07 +00:00
tsutsui
cc135eb39f Add MI mk48txx. 2000-10-04 18:44:24 +00:00
tsutsui
d11ef545cd Enable sanity checks in mk48txx_gettime().
(Many news68k have dead NVRAM.)
2000-10-04 17:00:45 +00:00
bouyer
a2c02690af only VT82C586A rev >= 6 supports Ultra-DMA. From OpenBSD. 2000-10-04 09:34:09 +00:00
augustss
5d4d9ec965 Update with uscanner.c 2000-10-04 02:45:07 +00:00
augustss
c068cf3953 Regen. 2000-10-04 02:09:37 +00:00
augustss
9d09a17e7c Add more vendors. 2000-10-04 02:09:07 +00:00
thorpej
5fcde4924f Support ETHERCAP_VLAN_MTU by igorning Receive Watchdog and Transmit Jabber
errors if VLANs are configured on the interface.
2000-10-03 23:35:55 +00:00
thorpej
cbfe7605c9 Support ETHERCAP_VLAN_MTU by doing extra error checking upon packet
reception and saving other "bad frames" (i.e. ones that are larger
than the standard Ethernet frame length) if we have VLANs configured
on the interface.
2000-10-03 23:35:02 +00:00
simonb
5d4fa9b0ce Revert rev 1.31 of bha.c (and associtated changes in the headers and
config glue files).

Fixes PR kern/9841.  Tested by Tracy J. Di Marco White with a bt948
and 6 disks.
2000-10-03 14:07:36 +00:00
tsutsui
91959d389e Typo in comment. 2000-10-03 13:54:02 +00:00
tsutsui
33e8ebeef3 1970 -> POSIX_BASE_YEAR 2000-10-03 13:52:39 +00:00
tsutsui
df9baa1d7a Move #define POSIX_BASE_YEAR to clock_subr.h. 2000-10-03 13:41:07 +00:00
tsutsui
5c0aabad0d For SECDAY, use "24 * 60 * 60" rather than "86400". 2000-10-03 13:00:30 +00:00
augustss
623aae812b Only probe for drive 0. Fix es problem reported by Nathan Williams
<nathanw@MIT.EDU>.
2000-10-03 04:33:03 +00:00
thorpej
7edd5d54bc Add support for the ADMtek AN983 and AN985. 2000-10-03 04:32:00 +00:00
thorpej
4462a44b87 Regen: ADMtek AN985 2000-10-03 02:59:05 +00:00
thorpej
618e7b93c6 Add ADMtek AN985 10/100 Ethernet. 2000-10-03 02:58:30 +00:00
tsutsui
10da4aa927 Add MI md_root.c, per discussion on tech-kern. 2000-10-02 15:22:32 +00:00
ad
903ae58e7b I2O subclasses currently have nothing to do with the protocol version. 2000-10-02 14:48:13 +00:00
itojun
1af3d80bce fix compilation without INET. 2000-10-02 03:53:07 +00:00
thorpej
7ca3fb9ef0 Move the check for "promisc + unicast + not for us" into ether_input(),
and change Ethernet drivers to always pass all received frames to
ether_input() (with a few exceptions, which are documented in the
code).
2000-10-01 23:32:39 +00:00
itojun
3e401aa14d upl(4) is a IPv4 only device. 2000-10-01 11:35:28 +00:00
takemura
dcfcbaf8ae - Add ioctl commands to wsdisplay which set/get some LCD status,
backlight, brightness and contrast.
- Add 9 command key symbols which make wskbd to call wsdisplay's
  iocontrol.
- Add special key map variant KB_MACHDEP. This variant does not
  have any real keymap but it's just a placeholder for machine dependent
  maps which will be overwrite by machine dependent keyboard driver.
2000-10-01 03:29:12 +00:00
deberg
9a37177d17 fix 16BPP support (for next68k), from Timm Wetzel. 2000-09-29 06:29:47 +00:00
tsutsui
710c43c745 6 -> ETHER_ADDR_LEN 2000-09-28 10:56:57 +00:00
tsutsui
f4ef578da7 6 -> ETHER_ADDR_LEN 2000-09-28 10:29:42 +00:00