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
tsutsui
ab9b015dce
6 -> ETHER_ADDR_LEN
2000-09-28 10:10:14 +00:00
enami
b4b2cdf575
Replace misused DIAGNOSTIC with WI_DEBUG.
2000-09-28 06:29:41 +00:00
enami
2f625bf43f
Remove unnecessary and commented out code.
2000-09-28 06:24:48 +00:00
mhitch
af7ddd3659
Set up the physical addresses for DMAPTR/NEXTPTR before adjusting for
...
unaligned transfers and adjust the physical address to align the transfer.
If the buffer end just crossed the page boundary, the computation of the
NEXTPTR physical address resulted in using -1. The cleanup at the end of
the DMA transfer would try to copy the residual data to physical address
0x1ffffffc. This would silently corrupt data on the R3000 and usually
would hang the R4000.
2000-09-28 03:11:29 +00:00
augustss
64d672931e
Regen.
2000-09-28 01:27:16 +00:00
augustss
6f2ac8aed1
Add a couple of Apple products.
2000-09-28 01:26:49 +00:00
ad
4a8619ae15
Match the i82562.
2000-09-27 10:54:55 +00:00
abs
64f1d1a42f
Add missing cast of ms to (struct device *) in ms_deviopen and ms_deviclose
2000-09-27 10:31:42 +00:00
augustss
815d8f961b
Regen.
2000-09-27 02:15:30 +00:00
augustss
c3fa0043b1
Add some ATI Rage cards and some Intel chips.
2000-09-27 02:14:54 +00:00
sommerfeld
91178eae70
Add missing '&& defined(COM_MPLOCK)'
2000-09-26 14:12:42 +00:00
ad
44c90f4ef1
Pasto; shouldn't have bitten anyone.
2000-09-26 11:38:47 +00:00
enami
d52ba1b85f
Fix merge lossage in disabled code.
2000-09-25 01:07:25 +00:00
jdolecek
5eb24d5dd0
am7990[0]_intr(): only print the "entering with isr=XX" debug message
...
if compiled with LEDEBUG > 1
2000-09-24 18:37:22 +00:00
martin
70c8ada2ad
Add calls to ether_addmulti and ether_delmulti. This code looks a bit
...
different than other drivers due to the way ti_setmulti manages the
filters. Patch from Keijiro Ehara.
2000-09-24 14:19:52 +00:00
jdolecek
5fea96167f
use new generic bootverbose instead of local definition
2000-09-24 12:37:03 +00:00
augustss
9623e356f0
Recognize Acer 320U.
2000-09-24 03:22:47 +00:00
augustss
fc015f6833
Regen.
2000-09-24 03:22:26 +00:00
augustss
641ee8fd93
Add another scanner.
2000-09-24 03:21:55 +00:00
augustss
d71044b313
Don't give up so easily if the device does not respond properly.
...
Mostly from Nick Hibma (FreeBSD).
2000-09-24 02:08:38 +00:00
augustss
f2a2c14d9a
Recognize Sony memory sticks (from FreeBSD).
...
Add timing info in the debug output.
2000-09-23 21:03:00 +00:00
augustss
d9c7baa183
Add a way to do control transfers on other pipes than the default pipe.
2000-09-23 21:02:04 +00:00
augustss
6417d32d9d
Avoid "bandwidth reclamation" for control transfers. The kue device chokes
...
on it.
2000-09-23 21:00:10 +00:00
augustss
c412966bb3
Fix puctuation.
2000-09-23 20:24:47 +00:00
augustss
0fab9d10ca
Regen.
2000-09-23 18:42:05 +00:00
augustss
a5570006bc
Add some more vendors.
2000-09-23 18:39:41 +00:00
sommerfeld
6a71867356
Add `COM_MPLOCK' option to use a device-instance-specific spinlocks
...
when running at splserial(). This is a temporary measure (until
there's a MP-safe interrupt handling structure); until then, it should
be used when MULTIPROCESSOR and IPL_SERIAL > IPL_SCHED.
2000-09-23 17:17:11 +00:00
bjh21
a48f581877
Substantial overhaul, factoring out of common code, removal of redundancy
...
and general cleanup. Still not a beautiful driver, but one I'd be willing to
introduce to my parents now.
2000-09-23 15:13:02 +00:00
bjh21
65c1db338c
paddr_t -> bus_addr_t in prototypes too.
2000-09-23 12:08:16 +00:00
augustss
770f6e2ae3
Add RCS Id.
...
The driver initially came from Nick Hibma (FreeBSD), which I forgpt to
mention in my initial commit.
2000-09-23 05:05:31 +00:00
augustss
23116295f4
Remove some // type comments.
2000-09-23 04:33:04 +00:00
augustss
e832785e4b
Add USB scanner driver.
...
XXX Not tested yet.
2000-09-23 04:32:23 +00:00
ad
382141e2f7
Add a new, optional method to scsipi_adapter (scsipi_accesschk()), and use
...
it when considering whether to attach devices. This is to facilitate
`non-SCSI' RAID controller drivers that want to provide SCSI pass-through
services to the kernel.
2000-09-22 16:45:17 +00:00
eeh
d651adf44a
paddr_t -> bus_addr_t.
2000-09-22 14:46:38 +00:00
soren
cf3c3f9410
Rename to match Ben's naming scheme.
2000-09-22 05:48:50 +00:00
augustss
4b45dfbb69
Fix a device diconnect bug found by Christian Groessler <cpg@aladdin.de>.
2000-09-22 02:34:58 +00:00
eeh
c28a7b93c0
Support for Sun Keyboard/Mouse line disciplines.
2000-09-21 23:40:47 +00:00
eeh
56cf963264
Support for SPARC machines with `su' devices.
2000-09-21 23:27:32 +00:00
eeh
ac3f296768
Guts of the Sun Keyboard/Mouse line disciplines.
...
N.B. They don't recognize L1-A yet.
2000-09-21 22:25:08 +00:00
bjh21
f3ef35c447
Add rudimentary 80C04 support (basically saying "Oh look, an 80C04!").
...
Move printing the initial ":" into the board driver, like i82586.c does.
Don't bother printing the amount of RAM, as it's always 64 KB.
2000-09-21 22:20:38 +00:00
thorpej
a429573227
Some more register definitions for the DP83815.
2000-09-21 04:05:43 +00:00
oster
3ee0550572
convert tsleep()->ltsleep(), which makes the kernel complain less
...
when compiled with LOCKDEBUG.
2000-09-21 01:45:46 +00:00
oster
014e17fbdc
Correct a few calls to VOP_CLOSE().
2000-09-21 01:37:35 +00:00
augustss
236deb1acc
Apply a patch from the driver author (originally from OpenBSD).
2000-09-20 14:33:48 +00:00
thorpej
e925979f9b
Preliminary support for the National Semiconductor DP83815 10/100
...
Ethernet chip, which is based on the SiS 900 core, but with differences
in the PHY and filter programming interface, and different WoL and
802.3x flow control programming.
This chip appears on new NetGear FA-312TX cards. Thank goodness
they're finally ditching the LiteOn chips.
2000-09-20 05:44:48 +00:00
thorpej
b8675d1bea
Add additional register defintions for the National Semiconductor
...
DP83815, which is based on the SiS900 core.
2000-09-20 02:08:44 +00:00
itojun
3486500f77
repair multicast filter setup. PR 11037 from Ryoji Kato.
2000-09-20 01:26:14 +00:00
thorpej
24f4ce3eb0
Regen.
2000-09-20 00:46:35 +00:00
thorpej
6cc3e82c48
Add National Semiconductor DP83815 10/100 Ethernet.
2000-09-20 00:46:10 +00:00
bjh21
4b85232148
MI seeq8005 attribute.
2000-09-19 20:23:34 +00:00
fvdl
c5d8401866
Add support for the 3c555, 556 and 556B MiniPCI cards. Based on the
...
cardbus code and the FreeBSD xl driver.
2000-09-19 01:15:06 +00:00
fvdl
af02376ac9
Regen.
2000-09-19 01:11:38 +00:00
fvdl
fbf3c412e4
Add IDs for the 3c555, 556 and 556B 3Com MinPCI Ethernet cards.
2000-09-19 01:10:48 +00:00
fvdl
d9e2aff0df
Add explicit config values for 8 bit and offset EEPROMS, since this
...
property is now shared with the PCI frontend.
2000-09-19 01:10:12 +00:00
bjh21
40aba7cd4d
Split the arm26 Ether3 (ea) driver into an MI driver for the SEEQ 8005 chip,
...
and a front-end driver for the Ether3. Only semantic change is to remove
ea_claimirq() and ea_releaseirq() on the grounds that the seem too spurious
to warrant a callback to the front-end.
2000-09-18 20:51:14 +00:00
toshii
faf55ac40c
Change tiocm_to_{com,zs}'s second argument to u_long to match with
...
the type in their caller.
2000-09-17 22:07:39 +00:00
ichiro
60095a9e92
regen.
2000-09-16 11:46:17 +00:00
ichiro
de4b3b44f1
delete "128MB"
...
same products number; 32MB,64MB,128MB
2000-09-16 11:45:38 +00:00
toshii
8debbc34ab
Change the second argument of tiocm_to_ucom to u_long,
...
since the second argument of ioctl is a u_long value.
2000-09-15 17:03:24 +00:00
drochner
a960881851
-make the default screentype override less invasive, call it
...
VGA_CONSOLE_SCREENTYPE because the screen types are hardware specific
and make it affect the console only (no need to change runtime
behaviour), don't call vga_setscreentype() unless necessary (to avoid
trouble with strange hardware - PR kern/11025)
-some beginnings of ISO-7 (greek) font support
2000-09-15 14:13:01 +00:00
drochner
8d027cedf8
add definitions for ISO-7 (greek) support
2000-09-15 14:09:10 +00:00
augustss
c1682ac85d
Recognize Rio 600.
2000-09-14 03:13:21 +00:00
augustss
95cbe2c829
Regen.
2000-09-14 03:11:52 +00:00
augustss
d28bd1b67f
Ad some new devices and change vendor name from SUPRA to DIAMOND2.
2000-09-14 03:11:23 +00:00
hubertf
9b8c74f603
regen for trek thumbdrive
2000-09-14 00:04:15 +00:00
hubertf
494592f30d
Add Trek Technology ThumbDrive (128MB)
2000-09-14 00:02:56 +00:00
tron
dd9df6ffdf
Use correct product id for VIA VT6102 chip. Problem pointed out by
...
Jaromir Doleeek in private e-mail.
2000-09-13 16:40:15 +00:00
ad
dcdc66f936
Regen.
2000-09-13 15:58:13 +00:00
ad
b9bacc07be
Add product IDs for AMI MegaRAID boards.
2000-09-13 14:45:09 +00:00
tron
d4a2e19802
Add support VIA VT6102 chip found e.g on the D-Link DFE530TX NIC.
...
Fixes PR kern/11001 by Petter Lindquist.
2000-09-13 14:00:48 +00:00
tron
ea2fc5c0fd
Regen.
2000-09-13 13:58:25 +00:00
tron
928a30552d
Remove incomplete (and incorrect) entry for D-Link 530.
2000-09-13 13:58:06 +00:00
tron
e6debfdcbf
Regen.
2000-09-13 13:53:22 +00:00
tron
a42050f3e7
Use "VT6102 (Rhine II) 10/100 Ethernet" as description to be consistent
...
with existing entry for "VT86C100A (Rhine-II) 10/100 Ethernet".
2000-09-13 13:53:06 +00:00
tron
0c0911bb54
Regen.
2000-09-13 13:48:44 +00:00
tron
d6cf9f28b0
Add VT6102 Rhine II 10/100BaseTX ethernet chip used on e.g. the
...
D-Link 530TX NIC.
2000-09-13 13:48:09 +00:00
toshii
8b74873d54
Cleanup the error handling code introduced in rev. 1.26. Commented by jhawk.
...
No functional change.
2000-09-13 05:17:14 +00:00
nisimura
bf7a6e6857
Found glyph pixel order inverted on screen.
2000-09-13 02:11:14 +00:00
pk
aa6df7169b
yank error.
2000-09-12 19:13:30 +00:00
nisimura
c8321c45a7
Found glyph pixel order inverted on screen.
2000-09-12 09:45:48 +00:00
enami
9466b8d07e
Define an auto variable `bn' as off_t instead of int since it is finally
...
converted to byte offset.
2000-09-12 08:03:24 +00:00
haya
6502a2efd8
Clean-up: Remove unnecessary global reset (for debug) and change the
...
name of some variables for the consistency of naming rule.
2000-09-12 03:19:51 +00:00
oster
32802fc83f
Be consistent: use mcpair->cond instead of mcpair->flag.
...
This also lets us clean up a bunch of cruft.
2000-09-11 02:23:14 +00:00
oster
e8645831a5
Only reset the timer value if it actually accumlated time.
...
Otherwise it may never accumulate any time, and the recon delay
will never happen.
2000-09-11 00:22:45 +00:00
lukem
6439b28202
* rename vga_stdscreen* -> vga_25lscreen*
...
* in vga_init(), set the screen type to WSCONS_DEFAULT_TYPE, which defaults
to "80x25".
XXX: the code currently makes no attempt to ensure that a font
with the appropriate width & height is available, effectively
limiting this default to either "80x25" or "80x24" at this
time.
* make wsdisplay_screentype_pick() non static, so that vga_init() can use it
2000-09-10 11:44:13 +00:00
simonb
7381ac703b
KNF - variable declarations.
2000-09-10 10:43:53 +00:00
takemura
ed9f910cc8
Introduce WSDISPLAY_NULLSCREEN to allow low level device to detach control
...
process. Hpcmips frame buffer driver(hpcfb) call wsdisplay_switch with
WSDISPLAY_NULLSCREEN to notify user process of suspend/resume event.
2000-09-10 09:39:57 +00:00
toshii
f7d700a127
Make the control line handling a little better. Avoid a DTR/RTS issue
...
from uninitialized sc_mcr by not calling ucom_{dtr,rts} if possible.
XXX Flow control is still incomplete and needs more work.
2000-09-10 03:10:20 +00:00
nisimura
59178ec7b4
Use dev/{rasops,wsfont} instead of awesome dev/rcons. Still much to do
...
before being useful.
2000-09-09 06:15:17 +00:00
nisimura
48ff19c98b
u_char -> u_int for function argument and return of Zilog register
...
manipulation helper functions; no loss, no gain, for Alpha processor.
2000-09-09 06:08:42 +00:00
simonb
665eca96e0
In wsdisplay_usl_ioctl2(), use a u_long for the request to be passed off
...
to wsdisplay_internal_ioctl() instead of an int.
With this, the pcvt compat ioctl's work on an Alpha and probably other
64 bit archs.
2000-09-08 15:32:57 +00:00
ad
237007cd69
- Set CCB_ACTIVE flag in all cases when DIAGNOSTIC is defined.
...
- Correct arguments to bus_dmamap_create().
2000-09-08 12:16:17 +00:00
toshii
6bc11dce71
In ucomopen(), make sure to call splx() before returning
...
when initialization fails.
2000-09-08 07:20:52 +00:00
oster
3fa62c4642
Make sure we are passing a locked vp to VOP_CLOSE.
2000-09-08 01:36:35 +00:00
augustss
19f36696bc
ANSIfy last patch.
2000-09-08 01:27:12 +00:00
augustss
96d1acf3d6
Add isoc support. From FreeBSD via Berndt Josef Wulf <wulf@ping.net.au>
2000-09-08 00:55:26 +00:00
soren
f0c15086d2
Regen.
2000-09-07 23:26:41 +00:00
soren
36d7d0f902
s/AT&T Microelectronics/Lucent Technologies/
2000-09-07 23:26:28 +00:00
augustss
9a43fc6477
Regen.
2000-09-07 04:00:21 +00:00
augustss
006df0f4cb
Add scores of scanners (from FreeBSD).
2000-09-07 03:59:55 +00:00
thorpej
08e45b3689
Cast the argument to vtophys() to vaddr_t.
2000-09-06 18:56:45 +00:00
thorpej
e79103cb0a
Cast the arg to vtophys() to vaddr_t.
2000-09-06 18:48:36 +00:00
bouyer
2a11ec9347
Add definition for "Actiontec 56K PCI Master", from Bill Hudspeth.
2000-09-06 15:27:37 +00:00
augustss
130aad8a7d
ANSIfy.
2000-09-06 00:17:23 +00:00
augustss
6c0346a534
Regen.
2000-09-05 22:39:59 +00:00
augustss
0b631b84eb
Add a Logitech trackball.
2000-09-05 22:39:16 +00:00
thorpej
3cf4e948c1
Cast arg to vtophys() to vaddr_t.
2000-09-05 22:37:33 +00:00
haya
4171157155
Clean-up card-type depend code.
2000-09-05 09:01:17 +00:00
soren
6ade619f58
Regen.
2000-09-04 20:44:37 +00:00
soren
176549d557
Add Intel 440GX host bridge.
2000-09-04 20:30:50 +00:00
soren
fe2b627962
Fix 'RAID unsupported' printf.
2000-09-04 20:21:30 +00:00
soren
ac5ac55b06
Add support for the AAA-131 RAID controller by treating it as a 7890.
...
Taken from rev 1.32 of the FreeBSD ahc_pci.c.
2000-09-04 19:56:04 +00:00
itojun
824ddfd20e
regen
2000-09-04 13:13:36 +00:00
itojun
4f6829605c
Brooktree Bt8474 Multichannel Synchronous Communictaions Controller (MUSYCC)
2000-09-04 13:13:14 +00:00
itohy
572e9e2f80
Move ym_mixer_set_port() (if used) during attach AFTER initialization of
...
power ctl stuff, or it makes unwanted changes to the CODEC settings.
2000-09-04 00:57:17 +00:00
augustss
5cf4edb506
Handle output packet headers in a cleaner way. From IWAMOTO Toshihiro
...
<iwamoto@sat.t.u-tokyo.ac.jp>, fixes kern/10573.
2000-09-03 19:15:45 +00:00
augustss
b2af314f55
Add a few more defines. From Nick Hibma and FreeBSD.
2000-09-03 19:09:14 +00:00
wiz
c384f772f0
remove one
2000-09-03 02:05:44 +00:00
wiz
3a2e8fdc05
Use NetBSD's pcidevs file for vendors/cards as much as possible.
...
Recognize Pinnacle Studio PCTV Rave as Miro card, tested by rh@netbsd.org .
2000-09-03 02:01:32 +00:00
cgd
cfd89531b4
don't attempt to size Host Bridge BARs. (it's a good way to die.)
...
provide a clue about 16-bit vs. 32-bit I/O BARs.
2000-09-02 00:48:20 +00:00
cgd
6a22a36219
regen for changed pcidevs
2000-09-02 00:33:25 +00:00
cgd
dae6b41d27
after discussion with veego, rename constant for 3D Labs Permedia 2 from
...
PERMEDI2 to PERMEDIA2. (substance over style. 8-) Also, fix a typo
I noticed in a comment.
2000-09-02 00:32:15 +00:00
eeh
0d01e04003
Add support for write protecting clock registers.
2000-09-01 19:04:49 +00:00
ad
ec322f95aa
Regen.
2000-09-01 17:19:36 +00:00
ad
6dd2f101ad
Et763 -> Bt763
2000-09-01 17:19:25 +00:00
ad
e9bc438c50
- Simplify eisa_devinfo().
...
- New KNF.
2000-09-01 17:18:20 +00:00
drochner
641326ee44
-fix multicast filter programming
...
-support access to MII_ANER too for completeness
-remove some hacks which disappeared in FreeBSD if_rl.c
rev. 1.25 (Aug 31 14:45:49 1999)
(the driver could need more updating, but this is what I've tested
for months)
2000-09-01 15:07:23 +00:00
ad
f729f26133
FLUSH_CACHE will not return until complete.
2000-09-01 14:17:15 +00:00
ad
40f6cd2b96
The `cac' driver now frees CCBs on our behalf.
2000-09-01 12:23:57 +00:00
ad
688e72faf1
Add an EISA bus front-end for the `cac' driver.
2000-09-01 12:15:20 +00:00
ad
702747900f
- Interface cleanup. static, const in places.
...
- cac_pci_l0 has been moved to cac.c, since it's useful for EISA boards.
- Model-specific linkage now is responsible for DMA synchronization.
- If we don't recognise the board, print the subsystem ID.
- Add support for RAID LC2 and Smart Array 431.
- Start firmware background tasks on controllers that need it.
2000-09-01 12:13:08 +00:00
ad
671d7f91ae
- Interface cleanup. static, const in places.
...
- Move convenience macros from cacreg.h to cacvar.h.
- Add one hardware check in DIAGNOSTIC case.
- Declare `cac_l0'.
2000-09-01 12:12:29 +00:00
ad
ac2883e218
- Interface cleanup. static, const in places.
...
- Pull in linkage useful for both PCI and EISA boards from cac_pci.c.
- cac_ccb_done() now frees the done CCB if the CCB callback completes.
- Model-specific linkage is now responsible for DMA synchronization.
- Use wakeup_one() in cac_ccb_free().
- Start synchronous commands `manually'.
- Add one hardware check in DIAGNOSTIC case.
- Improve error messages.
- Start firmware background tasks on controllers that need it.
2000-09-01 12:11:37 +00:00
ad
d8e5466776
- Move convenience macros from cacreg.h to cacvar.h.
...
- Define EISA board register set and some other magic numbers.
- Add missing elements to `struct cac_controller_info'.
2000-09-01 12:10:21 +00:00
jdolecek
0bc8e23c3a
even through the integrated audio on my MSI 694D Pro
...
does not set AC97_CODEC_DOES_VRA in AC97_REG_EXT_AUDIO_ID request, it
works okay; only require the bit set for revision < 'H'
2000-09-01 00:02:04 +00:00
haya
ea9ef4ff69
Correct LED polarity bit. This bit and PHY power bit should be
...
defined in elinkxlreg.h.
2000-08-31 08:42:29 +00:00
haya
25147761ff
Add support 3C[CX]FE575CT.
2000-08-29 08:54:50 +00:00
wiz
4739c00231
regen
2000-08-29 01:18:17 +00:00
wiz
52454a3dd6
add vendors HAUPPAUGE, ASKEY, AVERMEDIA
2000-08-29 01:17:06 +00:00
jdolecek
a020e8fbb5
regen
2000-08-28 17:44:33 +00:00
jdolecek
8b242e878a
add entry for SupraExpress 56i Sp V.90, as sent in kern/10902
2000-08-28 17:43:59 +00:00
joda
00305bb997
provide some randomness
2000-08-28 13:25:22 +00:00
haya
403941c60d
Regen to correct wrong keyword.
2000-08-28 10:35:59 +00:00
haya
7591b1332b
Correct wrong keyword.
2000-08-28 10:33:58 +00:00
haya
128fa6e8fb
Correct PCI interrput setup routine for Texas Instruments PCI113X.
...
Now PCI113X is able to handle hot insertion and deletion properly.
2000-08-28 09:26:38 +00:00
haya
21ddff737c
Regen.
2000-08-28 09:18:09 +00:00
haya
86063b7c73
Add 3Com 3C656 LAN + MODEM CardBus cards.
2000-08-28 08:59:49 +00:00
mjacob
37c83e1340
fix some missing initializations
2000-08-27 21:43:26 +00:00
eeh
194bbc3c5d
Don't bcopy() from luserland.
2000-08-26 20:08:22 +00:00
eeh
a0f2ab32f7
Make 64-bit clean.
2000-08-26 16:02:06 +00:00
jhawk
ce7a425d77
Revert last, softc is now updated.
...
I neglected to checkin the if_wivar.h update earlier, sorry.
2000-08-26 00:08:43 +00:00
jhawk
a44862dea9
oops, missed this file earlier (Doh!):
...
Add support for "microwave oven robustness" with wiconfig -M.
2000-08-26 00:05:54 +00:00
haya
0e2c6c0cc1
Access on ELINK_W3_INTERNAL_CONFIG register with 32-bit mode. Remove
...
16-bit access code. This register is 32-bit. 16-bit access with the
register causes data inconsistency (especially for CardBus cards).
2000-08-25 09:01:59 +00:00
jeffs
d3afa878a2
Fix typo in SIATXRX_SPP comment.
2000-08-25 08:03:10 +00:00
sommerfeld
3a2b5d49a6
partial backout of last commit: #if 0 references to sc->wi_mor_enabled
...
since it doesn't exist in the softc.
2000-08-25 03:11:14 +00:00
nathanw
5127aa189d
In fdioctl(), allocate fd_formb dynamically when needed, rather than on
...
the stack, and remove the no-longer-necessary PHOLD()/PRELE() calls
in fdformat().
(This eliminates 1/3 of the instances of PHOLD()/PRELE() in the kernel code.)
XXX We still have too many mostly-redundant floppy drivers.
2000-08-24 20:04:28 +00:00
augustss
cf4250b7f3
Add UKBD_DEBUG.
2000-08-24 14:13:38 +00:00
augustss
fa9cfe5e39
Removed unnecessary variable declaration.
2000-08-24 14:12:34 +00:00
augustss
d08216d4e2
Add a quirk for audio devices that claim to have an extension unit, but it
...
can't be manipulated.
2000-08-24 14:11:09 +00:00
haya
6cbde58ee4
Add flag defines for 3CCFE575BT and 3CCCFE575CT (CardBus cards).
2000-08-24 08:54:31 +00:00
imp
9386fe0821
Sync to 1.98 of pcmciadevs
2000-08-24 07:12:20 +00:00
imp
cbacec4196
Sort BAY into numerical order.
2000-08-24 07:10:36 +00:00
jhawk
5056d0ce7c
Add support for "microwave oven robustness" with wiconfig -M.
2000-08-23 19:01:04 +00:00
pk
12cd7ada9a
Common framebuffer functions.
...
(currently includes a special cased fb_isconsole() for sun4u).
2000-08-23 13:41:15 +00:00
pk
a50a11e47f
Add fb_setsize_pfour() prototype.
2000-08-23 12:02:47 +00:00
pk
17e5f7b17c
Declare drivers moved here from arch/sparc.
2000-08-22 21:31:16 +00:00
pk
e02ba8698f
Declare drivers moved here from arch/sparc/dev.
2000-08-22 21:30:27 +00:00
pk
d29f2ce630
Get tcxreg.h from the correct location.
2000-08-22 21:18:57 +00:00
pk
40903bf7d3
Split off `pfour' code from sparc/dev/fb.c into a separate file.
...
This file will be pulled in by framebuffer drivers that define the `pfour'
attribute.
2000-08-22 21:18:14 +00:00
joda
ce1bf05583
update description
2000-08-22 11:42:14 +00:00
mrg
d12156f1bf
#include <compat/netbsd32/netbsd32.h> if necessary
2000-08-22 07:36:04 +00:00
enami
efb0ce0996
Recognize Promise ATA-100 controller as PDC-20262 instead of 20246.
2000-08-21 15:52:50 +00:00
enami
84ebb6165e
Match the Promise ATA-100 controller found on the mother board
...
MS-6321 (MSI 694D Pro). Reported in PR#10756 by Kazuki Sakamoto.
2000-08-21 15:43:46 +00:00
enami
b84a81b268
Regen.
2000-08-21 15:33:45 +00:00
enami
7012027317
Add a product id for the promise ata-100 controller found on
...
MS-6321 (694D Pro). Reported in the PR#10756 by Kazuki Sakamoto.
2000-08-21 15:28:17 +00:00
thorpej
7951ece147
Use splsched() instead of splhigh(), and explain why in a comment,
...
as well as document a pitfall of the approach being used.
2000-08-21 14:25:14 +00:00
ad
53204cdb36
Regen.
2000-08-21 14:11:45 +00:00
ad
360142a622
- Add vendor and product codes for Compaq array controllers.
...
- Pull in entries from OpenBSD that we don't already have.
2000-08-21 14:11:07 +00:00
haya
35c0f133ec
Regen.
2000-08-21 09:13:02 +00:00
haya
500edf585d
Add several Texas Instrument's PCI-CardBus bridges.
2000-08-21 08:58:51 +00:00
castor
2d8994210a
Add a bunch of macros of the form PCI_<regname>_CODE similar to
...
existing PCI_ID_CODE to create the PCI appropriate register from
parameters.
Avoid use of 'class' in macro -- it's a C++ reserved keyword.
2000-08-21 05:17:33 +00:00
castor
0c05c0b9f2
Add register definitions for S.M.A.R.T. -- an autonomous disk monitoring
...
standard.
2000-08-21 03:53:55 +00:00
augustss
b3b158b922
Implement handling of the UQ_SPUR_BUT_UP quirk. Some keyboards sometimes
...
generate a key up quickly followed by a key down for the same key, so we
take care of that.
(Finally I can type again without going nuts. :)
2000-08-20 22:30:17 +00:00
pk
124d256269
Move these SBus drivers here from arch/sparc.
2000-08-20 22:27:07 +00:00
augustss
d9426e06b6
Install usbdevs.h as well.
2000-08-20 22:25:20 +00:00
pk
f83d14e14b
Move declaration up, before it is used.
2000-08-20 20:01:45 +00:00
pk
5a308cf392
Split & move cgthree sbus attachment from arch/sparc.
2000-08-20 19:59:46 +00:00
pk
124ea6d974
<machine/fbio.h> -> <dev/sun/fbio.h>
2000-08-20 19:58:53 +00:00
pk
e8ed83e13f
Split & move cgthree from arch/sparc.
2000-08-20 19:58:19 +00:00
thorpej
a6b7f5a17d
Use RF_WAIT_COND() to avoid locking errors.
2000-08-20 16:51:03 +00:00
thorpej
d06cb9ab29
RF_COND_WAIT(): use ltsleep().
...
RF_SIGNAL_COND(): use wakeup_one().
2000-08-20 16:15:31 +00:00
pk
7857ad0b81
Move cgsix and bwtwo Sbus attach code here from arch/sparc.
2000-08-20 14:33:25 +00:00
pk
1eeffbaac6
De-P__
2000-08-20 14:30:13 +00:00
pk
6e36f80602
Move cgsix, bwtwo and BT DAC support here from arch/sparc.
2000-08-20 14:28:49 +00:00
pk
02c262b278
Move fbio.h and fbvar.h here.
2000-08-20 14:00:43 +00:00
eeh
7becceeb4b
Add COMPAT_NETBSD32 support.
2000-08-20 13:44:14 +00:00
pk
b369b979ae
Remove duplicate `flags' from printf format string.
2000-08-20 11:51:52 +00:00
oster
49742b54fa
Remove a bogus VOP_UNLOCK.
2000-08-19 18:20:07 +00:00
oster
3a17c9470d
Don't try to initialize a component label on a failed component.
2000-08-19 18:07:36 +00:00
pk
0c448da29b
When breaking up a transfer in vndstrategy(), only inherit B_READ and
...
B_ASYNC from the original buffer's flags.
2000-08-19 10:44:02 +00:00
sommerfeld
8f5586c98f
Avoid calling tsleep when running above splhigh()
2000-08-18 13:22:39 +00:00
bjh21
9c77b69be0
Add upc
2000-08-18 12:54:32 +00:00
wiz
6b569d798f
fix typo in comment
2000-08-18 05:55:31 +00:00
jhawk
8c3116e66a
Copy wi_{dst,src}_addr from struct wi_frame into faked-up ether_header
...
instead of addr1 and addr2. THis means that tcpdump -e will show the
correct MAC address for communications with access points instead of showing
the BSSID.
In the future there should be 802.11 support for bpf/libpcap/tcpdump,
but that is aways down the road.
Also fix a typo in a comment.
2000-08-18 04:11:48 +00:00
augustss
2af3c25d9d
Regen.
2000-08-17 23:28:00 +00:00
augustss
7e5bb38ef2
Add an XXX comment.
2000-08-17 23:18:56 +00:00
augustss
2d8b50667e
From FreeBSD: add code for Insystem USB cable.
2000-08-17 23:16:16 +00:00
augustss
44c15e95b5
Add two keys to the raw mapping for German keyboards.
...
From Matthias Kretschmer <McCratch@gmx.net>, fixes PR 10850.
2000-08-17 23:08:07 +00:00
darrenr
e1d18090ac
add vendor/product information for Rainbow i-Key 2000
2000-08-17 15:17:00 +00:00
bjh21
d7eebd9227
Basic driver for CHIPS 82C710 Universal Peripheral Controller and friends,
...
as used on later arm26 system (A5000, A4, A3010, A3020, A4000).
What we have got:
...
upc0 at iobus0 base 0x010000: config state bb 87 1c 00 00
fdc at upc0 offset 0x3f4 not configured
wdc0 at upc0 offset 0x1f0
lpt0 at upc0 offset 0x278
com0 at upc0 offset 0x3f8: ns8250 or ns16450, no fifo
...
What we haven't got:
- FDC support (found, but not configured).
- Clearing lpt interrupts on arm26 systems (needs help from IOEB).
- A upc(4) manual page.
- More than minimal testing (my A3020s don't have root devices).
- A proper probe routine (arm26 can't use one anyway).
2000-08-16 23:56:08 +00:00
matt
b0c9fcd14a
Add a NOPREVENT quirk which prevents the sending of PREVENT messages (some
...
manual 9track tapes don't support it). Add a quirk entry for the NCR H621
9track tape drive.
2000-08-16 19:22:25 +00:00
mjacob
4f5e77ca58
Change _res field in ispstatusreq_t to be req_response for FC.
...
Add some more FC specific response defines and split the response
defines into common, SCSI only and FC only cases.
2000-08-16 18:11:38 +00:00
mjacob
d9162135d4
Add some changes/notes suggested by eeh@netbsd.org (zero header of
...
response queue entry). Clean up some of the Fibre Channel completion
stuff so that thing we check actually match the current manual. There's
only one silly lossage that the manual doesn't cover at present- if
an FC command completes with SV (sense valid), the f/w does *not* s
et "GOT_STATUS" in the state bits- I guess they assume that you'd figure
out that if you have SENSE DATA you probably have a CHECK CONDITION. Still-
yet another fine f/w frotz from Qlogic. Add in an ISP_EXEC_THROTTLE
define to set a per-device execution throttle.
2000-08-16 18:10:21 +00:00
thorpej
f80d70f19a
Just add the mmap argument to vga_common_attach(), don't bother
...
with vga_extended_attach().
2000-08-14 20:14:50 +00:00
thorpej
6b97132ee9
Account for changes to how the SROM is read made some time
...
ago to the PCI and CardBus front-ends. Sigh, DE425, the
bastard child, no one pays enough attention...
2000-08-14 14:26:03 +00:00
onoe
7f6e2386a6
Make sure to reset length of data (len) and offset of mbuf (mlen) when
...
CRC is splitted into two mbufs in receiving. This fixes panic or hangup
in arc4_encrypt() when WEP is enabled on awi.
2000-08-14 11:28:03 +00:00
mjacob
ec701021fd
Add a maintenance note. Fix QFREE and QAVAIL macros to match change in usage.
2000-08-14 07:12:15 +00:00
mjacob
ed05406b77
Add a maintenance note
2000-08-14 07:11:14 +00:00
mjacob
b1c18a6bc7
Add a maintenance note. Move the single bit tags of islocked and
...
onintstack to be real integers. Add ISP_ILOCK/ISP_IUNLOCK macros.
Fix the isp_lock/isp_unlock inlines to stop being so embarrassingly
in error. Why, or why, can't I have mutex_enter/mutex_exit, pretty please?
2000-08-14 07:10:09 +00:00
mjacob
22ef6ec857
Add a maintenance note. Change all splbio's to use the ISP_LOCK/ISP_UNLOCK
...
or ISP_ILOCK/ISP_IUNLOCK macros.
2000-08-14 07:08:12 +00:00
mjacob
8801250c70
Add a maintenance note. Add a cast to u_int16_t which will keep
...
Solaris lint && the SUNPro SC5.0 complier happy.
2000-08-14 07:06:50 +00:00
mjacob
d7ee06672f
Add a maintenance note.
...
Clarify some startup SCSI mode settings. Insist that the FC f/w options
*must* have ICBOPT_PDBCHANGE_AE set (wasted a half day on this crock).
Make a specific comment in isp_start that the tags being selected for FC
cards, in lieu of any set by the outer layers, are there for safety's sake.
This removes the change from a previous commit.
For the ISP_TOGGLE_TMODE function, do a complete reset, not just an
isp_init (info from Solaris port). Make some cleanup changes for
code clarity.
2000-08-14 07:05:28 +00:00
mjacob
d8aef491c1
Add a maintenance note. Add a bus specific isp_sbus_intr function- this is
...
so we, ahem, note we're on an interrupt stack so we don't try and sleep
on any mailbox commands we might want to run.
2000-08-14 07:00:08 +00:00
mjacob
18e2c3aaad
Add a maintenance note. Minor change in some logic in the DMA mapping.
2000-08-14 06:58:45 +00:00
jhawk
324576262d
Fix typo in comment for WI_RID_AUTH_TYPE
2000-08-14 00:44:22 +00:00
jdolecek
cd1db4529e
describe more precisely when the keyboard freeze happens
2000-08-13 22:30:19 +00:00
augustss
ed274219d5
Fix race condition when unlinking xfers. Thanks to IWAMOTO Toshihiro
...
<iwamoto@sat.t.u-tokyo.ac.jp> for analyzing the problem and suggesting a fix.
Fixes PR 10662.
2000-08-13 18:20:14 +00:00
augustss
4f325f2674
Implement what in Intel-speech is known as "bandwidth reclamation".
...
It means that we continously poll USB devices that have a pending transfer
instead of polling just once every ms. This speeds up some transfers
at the expense of using more PCI bandwidth.
2000-08-13 16:18:09 +00:00
mjacob
927f61818e
Add "SYMBIOS" processor type to the SDEV_NOLUN category. These are usually
...
the GEM chips on a Sun D1000- and they cause Qlogic SBus firmware to blow
chunks if you access past lun 0.
2000-08-13 00:03:01 +00:00
augustss
8cfcd021bd
Take away some, add some.
2000-08-12 23:26:10 +00:00
augustss
0390dd7f3e
Fix spelling in comment.
2000-08-12 22:24:26 +00:00
augustss
be1aad52d8
Regen.
2000-08-12 14:58:20 +00:00
augustss
807228a4d8
Make attach message correct for non-umass devices.
...
Handle RBC (a SCSI subset).
2000-08-12 14:52:44 +00:00
augustss
3fff1255ea
Add some more vendors and devices.
2000-08-12 14:51:01 +00:00
augustss
124bec855a
Minor whitespace change.
2000-08-12 14:35:20 +00:00
tsutsui
23830f1e6c
- Check CR_RST rather than ISR_TXRCMP and ISR_RXRCMP in sip_reset()
...
- Add more delay after reset
- "Big endian mode" on SiS 900 seems broken so don't enable it;
use htole32()/le32toh() instead
- Don't cast u_int16_t array to u_int8_t pointer
- Add some delay() to FILTER_EMIT macro in sip_set_filter()
Now SiS 900 works on my macppc.
2000-08-12 07:38:40 +00:00
tls
c9dc8413bb
Make our policy WRT tagged queueing consistent and sane: ordered tags for sync writes, simple tags for all else. Should make ahc and adv a bit more reliable (metadata writes won't get reordered incorrectly...) and isp a bit more performant (it was using ordered tags all the time).
2000-08-11 21:31:19 +00:00
thorpej
8cb7deb85b
Add support for the DEC DE422 Ethernet, which is a DEPCA
...
attached to the EISA bus. This board is commonly found
on Alpha Jensen systems.
2000-08-11 02:27:07 +00:00
thorpej
d561771013
Add missing copyright noticed (it ended up in eisareg.h by mistake).
2000-08-11 00:46:17 +00:00
thorpej
5310aa68b8
Oops, back out previous. It wasn't intended.
2000-08-11 00:44:37 +00:00
thorpej
e207174eb0
Add functions to read EISA configuration data for MEM, IRQ, DMA, and IO.
...
XXX Just error stubs on the i386 right now -- someone needs to write
XXX EISA BIOS code for i386.
2000-08-11 00:43:18 +00:00
thorpej
30f7d691a0
Declare the ECU data in an MI location, so that drivers can
...
use it.
2000-08-10 23:30:08 +00:00
ad
19fd9da968
Define SIOC[SG]IFGENERIC in <sys/sockio.h>, as FreeBSD and OpenBSD do.
2000-08-10 11:48:41 +00:00
soren
363910c22b
s/Toshiba America Info Systems/Toshiba/ since they are the main PCI issuer.
...
Add new version of the Oboe FIR device.
2000-08-10 01:55:57 +00:00
drochner
a1b037bc3a
recognize the i440MX mobile chipset's IDE interface
2000-08-09 13:23:07 +00:00
tv
389bf995b5
%b -> bitmask_snprintf()
2000-08-09 01:56:33 +00:00
mjacob
0dc8c1fb35
Remove ispcmd_slow routine- SCBUSACCEL routine will set/clear tag/wide/sync.
...
Make some changes about where some things sit in the softc.
2000-08-08 22:58:30 +00:00
mjacob
9766fcf2be
Don't attempt to actually read SAF-TE temperature objects- nobody seems
...
to be obeying the original spec as to what the numeric value means.
Temperature flags are unaffected- these are still the 'pseudo-thermometers'
and overtemp/undertemp warnings will be caught and translated to SES objects
here.
2000-08-08 22:55:30 +00:00
mjacob
295864adef
During probe, use SCBUSACCEL ioctl to adapters that support it to
...
enable fast/wide/tagged.
2000-08-08 22:46:03 +00:00
bjh21
4f33d5a8ab
Register definitions for the C&T 82C710, 82C711 and 82C721, as used in
...
the Acorn A5000, A4, A4000, A3010 and A3020.
2000-08-08 22:14:53 +00:00
tv
91537bce4a
sizeof(fmtstring) + 8 wasn't enough for the string; that won't cope with the
...
printed version. Make a little more room for the bitmask_snprintf() call.
2000-08-08 19:59:41 +00:00
tv
2b3a50d3de
%b -> bitmask_snprintf()
...
Because this code is shared, add a macro for bitmask_snprintf() that
should expand to the equivalent snprintf() on non-NetBSD systems. This is
only used in ?HCI_DEBUG cases anyway.
2000-08-08 19:51:46 +00:00
tv
87ab5c42c5
%b -> bitmask_snprintf()
2000-08-08 19:42:40 +00:00
jeffs
aaa5c58d70
Update arc map routine prototype to compile again.
2000-08-08 02:11:05 +00:00
drochner
78fa2d7e41
fix interrupt priority botch
2000-08-07 17:34:41 +00:00
billc
aac52686f0
Manually edit the headers to show which version of pcidevs this was
...
generated from.
XXX - this really should be automated
2000-08-07 08:27:11 +00:00
billc
7ba2890ab8
Added PCI IDs for 3Com's Home Connect (3c450) and Office Connect (3cSOHO100).
...
They both are register compat with later versions of the 3c905 (tornado/
vortex) series.
2000-08-07 04:08:35 +00:00
briggs
b103a8ca48
Label the buffer size as such on probe. 128 KB makes sense, but 4608 does not.
2000-08-06 00:19:04 +00:00
ad
8d37a29277
Regen.
2000-08-04 14:32:05 +00:00
ad
fc2908cf8a
Vortex Computer Systems changes, from OpenBSD:
...
- Add product ID for GDT6518RS.
- Fix bogus product IDs.
2000-08-04 14:31:40 +00:00
augustss
daff45a51a
Regen.
2000-08-04 11:57:59 +00:00
augustss
c54b0fde7a
Add ATEN serial adapter.
2000-08-04 11:57:34 +00:00
tsutsui
ef86d29308
Add one more delay() to sip_read_eeprom().
2000-08-04 09:30:56 +00:00
bouyer
8464bde7e8
If the SET_FEATURE for piomode is rejected, fallback to mode 0 instead of
...
reporting an error.
This fixes the "piomode error (0x4)" problem with some ATAPI ZIP drives
reported on port-i386.
2000-08-03 23:14:31 +00:00
nathanw
fb20241fda
When performing pci_config_dump:
...
- Display the full value of 64-bit BARs.
- Avoid displaying the upper 32 bits of 64-bit BARs as a separate 32-bit BAR.
2000-08-03 19:58:55 +00:00
bouyer
1b00421876
Add quirk entry for NEDICOM CRD-BP2, from kern/10738.
2000-08-03 12:36:08 +00:00
bouyer
a8421d4787
Some W83781 have ID 0x11 instead of 0x10; handle these too.
...
Restore printing sdata for each sensors if DEBUG.
2000-08-03 09:27:01 +00:00
castor
b6dd28b4ce
Support some differences in the Macronix 98715AEC-C and E chips from the other
...
98715* series.
The MX98715AEC-[C,E] use a different location in the serial eerom for
LED control, and programming it with the original location's values
caused unpredictable behavior.
Also, start integrating fixes where media changes on an adapter
under load may fail. There's more work to be done here, but I need
to sort out our internal changes a little more carefully.
2000-08-03 03:07:30 +00:00
mjacob
cb4d63d57c
More compilation breakage in the non-DEBUG case
...
(from Castor Fu <castor@geocast.com>)
2000-08-03 03:00:04 +00:00
jeffs
e97c2066ab
Add options DDB_BREAK_CHAR. This overrides break on the serial console
...
break character with the supplied one. This is useful for cases where
break is hard to generate, or you are connected to a PC that "sends"
breaks when power cycled. For this mode in com, interpret break char
in the polling section, which allows entry into the debugger before
the tty is opened. Only supported in the com driver currently.
2000-08-03 00:30:47 +00:00
bouyer
de378db998
W83781D: Explicitely reselect bank0 before using "value RAM" registers.
...
Hopefully this will make the W83781D works.
Also use common functions to set up fan & temp info[] & sensors[] for
the W83781D.
2000-08-02 22:20:41 +00:00
bouyer
e445e43ddc
Add support for the W83697HF - basically a W83627HF with only 2 temp sensors.
2000-08-02 21:50:37 +00:00
bouyer
46c3f0204d
PCIIDE_CMD0646U_UDMA->PCIIDE_CMD0646U_ENABLEUDMA for consistency with
...
PCIIDE_AMD756_ENABLEDMA
defopt PCIIDE_CMD0646U_ENABLEUDMA, PCIIDE_AMD756_ENABLEDMA,
PCIIDE_CMD064x_DISABLE
Fix a typo pointed out by John Hawkinson
2000-08-02 21:49:09 +00:00
bouyer
bd0766459c
Add support for the CMD PCI646U. Linux claims that this driver is brocken
...
with UDMA, so enable Ultra-DMA only if "options PCIIDE_CMD0646U_UDMA" is set.
2000-08-02 20:23:45 +00:00
mjacob
1ae072f471
Fix bonehead bug for compiles w/o DEBUG set
...
(thanks to KANETA Shin'ichi <kaneta@cr.chiba-u.ac.jp>)
2000-08-02 17:39:50 +00:00
mjacob
068c76fc80
Core version 2.0 (platform version 1.0) rewrite of ISP driver. Some
...
interace cleanups, some new common functions. The major impact that
will be noticeable right away is that if you boot with not Fibre connected
to the FC cards, you no longer hang indefinitely.
2000-08-01 23:55:09 +00:00
bouyer
76c77aca38
Add support for the CMD PCI0646U2, an Ultra/33 version of the 0646.
...
Note: there's also a PCI0646U, for which I don't have docs for now.
2000-08-01 21:02:55 +00:00
briggs
02e3c1ef40
Use bus_space_read/write_multi_stream_2 for FIFO instead of bsr/w_multi_2.
2000-07-31 22:48:49 +00:00
gmcgarry
f21a75dee3
XIDEBUG_CONFIG -> XID_CONFIG. From R.Massar@Fh-Worms.DE
2000-07-31 21:49:47 +00:00
ad
067f5e9814
Previous would have misbehaved if polled commands overlapped.
2000-07-31 13:16:34 +00:00
enami
35913a898c
Sync internal state and ifmedia state. Addresses PR#10424.
2000-07-31 03:25:11 +00:00
briggs
3628f3e00c
Make sure that we do not call bus_space_*_multi_* with zero count.
2000-07-31 02:14:47 +00:00
bouyer
100a4a6b22
Add support for the W83781D and W83782D hardware monitors.
2000-07-30 22:23:53 +00:00
briggs
e6dde2bd42
Add MII support to smc91cxx driver. This is supported for the 91c100
...
and 91c100FD (FEAST) controllers. Existing controllers should continue
to work as they have. Added the card's memory to the probe message.
2000-07-30 21:34:47 +00:00
bouyer
538126d75a
swap lm_match() and wb_match(), as wb_match() is more restrictive.
...
Otherwise a winbond can be mis-probed as a lm if it has the rigth device ID.
Problem reported by Bernd Ernesti.
2000-07-30 17:22:26 +00:00
takemura
b5e3ec56a8
Remove src/sys/dev/apm/*. (They've gone to arch/hpcmips/dev/apm.)
2000-07-30 04:41:15 +00:00
jhawk
d569dc2fb5
Whitespace fix (space rather than tab after #ifdef)
2000-07-29 17:49:08 +00:00
jlam
cbd3022e31
Make this compile without PUCCN defined.
2000-07-29 17:43:38 +00:00
castor
b2bf026f39
Guard the console code in puc.c with the defopt PUCCN so we can
...
use the puc driver without having the com drivers.
2000-07-28 20:43:45 +00:00
drochner
457d8d7c7e
print parent device name too, so we know which socket a card was probed at
...
and whether pcmcia or cardbus
2000-07-28 19:17:02 +00:00
thorpej
081f57c846
Handle booting without a serial expander box connected.
2000-07-28 06:10:54 +00:00
martin
10debdeb9c
Fix to autonegotiation problem with some fxp cards. Fix found and reported
...
by Erich T. Enke et al. on current-users. This fixes PR 10550.
2000-07-27 22:14:48 +00:00
bouyer
e955a714ba
Add support for the W83627HF: lm7x like, but with more sensors, and more
...
registers.
2000-07-27 21:49:22 +00:00
bouyer
ca5b9b0c22
Force 64bit arithmetic for timeout computation; a 32bit int opverflows for
...
large timeouts. Should fix PR kern/10575.
2000-07-27 21:28:17 +00:00
bouyer
a7d2293ea4
My 16 port boca seems to fail to update the interrupt bit in it's interrupt
...
register for a port under high load. The effect is that the port is wedged
waiting for an interrupt that will never come.
Add a callout-based watchdog which periodically (hz/10) scan trough the ports
for missed interrupts.
Problem also noted by Chris Jones, and this fix also helped him.
2000-07-27 20:08:47 +00:00
bouyer
0154cbce36
Ops, forgot this one: Add interrupt disable bit #define for HPT370
2000-07-27 15:26:16 +00:00
bouyer
aa0d4a41d5
HPT370: clear disable interrupt bit; make it works in Ultra/66 mode.
2000-07-27 14:28:45 +00:00
ragge
acb96154d0
More intelligent BI vector assignment.
2000-07-26 12:41:40 +00:00
pk
34604a9f79
No point in forcing SECDAY to be a long int.
2000-07-26 11:07:45 +00:00
onoe
188122248a
I've confirmed that Samsung MagicLAN SWL-2000N (PRISM-II) works
...
with WEP enabled.
2000-07-26 07:28:56 +00:00
onoe
cc8e6675e2
add Samsung MagicLAN SWL-2000N
2000-07-26 07:24:15 +00:00
jeffs
fa8ff381d8
Add code to allow the PCI com serial ports to be used as the system
...
console. This is not enabled by default, and is turned on with
options PUCCN. Done by castor@netbsd.org .
2000-07-25 23:18:42 +00:00
pk
969b4bc568
Define the todr(9) interface.
2000-07-25 22:38:14 +00:00
pk
4ba0c6b55c
New time-of-day clock chip drivers. These implement the todr(9) interface.
2000-07-25 22:33:02 +00:00
onoe
27d41a1de3
Map txrate for prism2, where each bit is apparently assigned to the
...
corresponding rate; 1Mbps, 2Mbps, 5.5Mbps, 11Mbps.
2000-07-25 12:04:29 +00:00
gmcgarry
5463f7b316
Improve the model identification and match. Addresses PR-10485.
2000-07-24 21:50:10 +00:00
gmcgarry
b023fdd2b7
Regen.
2000-07-24 21:47:40 +00:00
gmcgarry
0f37cacaf1
Add entries for all Xircom ethernet models.
2000-07-24 21:45:00 +00:00
bouyer
10afc4e0a8
create a funcion, siop_busreset(), to reset the scsibus.
...
Reset the scsi bus at attach time, to be sure all devices start in narrow/async
mode.
Defer sync/wide negotiation until after whe have a valid
xs->sc_link->device_softc, so that we can honnor the NOSYNC/NOWIDE quirks.
2000-07-24 15:15:00 +00:00
scw
197f977187
Pass the level and vector to vme_intr_map() in the correct order.
2000-07-24 15:00:41 +00:00
ad
74cf7af4a9
Increase polled command timeout to 2s.
2000-07-24 12:28:31 +00:00
mycroft
f9f72ecf9a
Purge C++-style comments.
2000-07-24 04:28:51 +00:00
augustss
a119131555
Be a little more explicit and careful about setting links in TDs and QHs.
2000-07-23 19:43:37 +00:00
jonathan
5f7778cd1e
* Add entries for older Yamaha YMF chips (724, 740) plus the
...
newer steppings (740C, 724F) which use the same microcode as the
DS-1S/DS-1E.
Regen.
2000-07-23 00:18:24 +00:00
jonathan
2169753fc5
* Add entries for older Yamaha YMF chips (724, 740) plus the
...
newer steppings (740C, 724F) which use the same microcode as the
DS-1S/DS-1E
2000-07-23 00:14:15 +00:00
pk
19bd1749ad
Add short device descriptions in comment lines.
2000-07-22 21:25:52 +00:00
is
8be010f00d
- Big endianness cleanup:
...
a) use stream methods when transferring data via the MEMPORT into/out of
the chips buffer memory
b) use htole16/le16toh when interpreting 16bit values in the chips memory
Both where NOPs on i386 machines, which is why this worked before on the
test machine(s), but would break when on a big-endian machine.
2000-07-21 13:54:38 +00:00
onoe
afa5b645c2
add support for SIOCS80211NWKEY and SIOCG80211NWKEY.
2000-07-21 04:48:55 +00:00
abs
c9355a957c
Add the pccard controller for a Toshiba Portege drive. No vendor ID, no
...
product ID, and in this temporary loan, no bleeding power supply so it
can only probe the controller and not the drive. Still, its something.
2000-07-20 23:20:01 +00:00
scw
a1b8e79bb1
Take advantage of generic soft interrupts, if available.
2000-07-20 20:44:50 +00:00
ad
b60bcd873d
Regen.
2000-07-20 14:47:35 +00:00
ad
d3b42c18e4
Add what is apparently ESS's old vendor ID and corresponding product ID for
...
the Maestro 1.
2000-07-20 14:46:51 +00:00
bouyer
6e88d58524
Make it compile when PCIIDE_AMD756_ENABLEDMA is defined. From kern/10555
...
by MURATA Shuuichirou.
2000-07-20 12:19:41 +00:00
tsutsui
83f94dc417
Regen.
2000-07-20 07:11:28 +00:00
tsutsui
4af0fbdb1a
Add PMAG-JA framebuffer.
2000-07-20 06:38:39 +00:00
deberg
0d5d0bd93a
don't define LIST_FOREACH, it's in sys/queue.h now.
2000-07-20 03:47:56 +00:00
mjacob
c47c527343
add some more CTIO flags
2000-07-19 22:19:23 +00:00
mjacob
0615788781
zero result queue entry when done if debugging.
...
don't do an isp_notify_ack if we're not at run state.
2000-07-19 22:19:00 +00:00
mjacob
93379fb341
fix mislabelled error case
2000-07-19 22:18:02 +00:00
pk
f9e6c9cf42
Fixx off-by-one error in handlereset().
2000-07-19 16:07:00 +00:00
nathanw
554019cd4b
More printf format munging for off_t: when printing as %lld, cast to long long.
2000-07-19 13:44:24 +00:00
augustss
00cafd0569
Add MIDI support. From Tatoku Ogaito.
2000-07-19 09:58:45 +00:00
onoe
0ab524f389
moved the check priviledge for SIOCS80211NWID from each driver to ifioctl().
...
it also fixes the problem that non-priviledged user can change nwid
for wi and ray drivers.
2000-07-19 06:00:39 +00:00
ad
7d1b0e5b39
Use device_lookup() and ditch TAILQ sillyness.
2000-07-18 15:27:44 +00:00
onoe
47f692248f
add WEP support also for PRISM2 cards.
...
Corega works fine with WEP, but farallon doesn't work well with WEP for now..
2000-07-18 15:01:55 +00:00
onoe
905b4e497f
Add support for Corega Wireless LAN PCC-11, and Farallon SkyLINE 11Mb.
...
Note that Corega card works at 3.3V only, then it requires cardbus code
for now.
2000-07-18 14:53:26 +00:00
onoe
4a2a3bf091
Add Farallon SkyLINE 11mb card as Intersil Prism2
...
vendor:product of the card is Lucent:WaveLAN, and CIS string shows
"INTERSIL" "HFA384x/IEEE"...
2000-07-18 14:48:10 +00:00
soda
c41ca10d33
add "#define PCI_INTERRUPT_PIN_MAX 0x04"
2000-07-18 10:59:04 +00:00
thorpej
693ff4c94d
PAGE_SIZE -> IOASIC_DMA_BLOCKSIZE in one last place. From Izumi Tsutsui.
2000-07-18 06:14:05 +00:00
thorpej
b91d520dc9
Back out previous. It is no longer needed, as both the Alpha
...
and DECstation IOASIC drivers clear the appropriate interrupts
in the dispatch routine.
2000-07-18 06:12:33 +00:00
tron
5446d3c92e
Don't make assumptions of the actual value of PCI_PMCSR_STATE_D0.
...
Problem noted by John Hawkinson.
2000-07-17 18:12:00 +00:00
tron
cfae3184d8
Don't clobber bits from 2 to 31 when trying to change the power state.
...
Problem noted by John Hawkinson.
2000-07-17 17:53:44 +00:00
thorpej
5e275d7012
Clear the DMA pointer reload interrupt bits in the IOASIC_INTR
...
register to prevent interrups from looping on the Alpha.
From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>.
2000-07-17 17:43:16 +00:00
augustss
3aacf9101a
Regen.
2000-07-17 13:07:21 +00:00
augustss
82b491eecc
Some more products (from FreeBSD).
2000-07-17 13:06:54 +00:00
thorpej
8746b7c870
- Write the registers 7930 registers properly on the Alpha (it's
...
different than on the DECstation).
- Use IOASIC_DMA_BLOCKSIZE instead of PAGE_SIZE.
Should make this work on the Alpha. From discussion with
Izumi Tsutsui, Gregory McGarry, and Chris Demetriou, and
much reading of EK-D3SYS-PM.
2000-07-17 04:37:27 +00:00
thorpej
887bebaa71
Define IOASIC_DMA_BLOCKSIZE (4096 bytes).
2000-07-17 02:18:17 +00:00
thorpej
8623daff6d
G/c some unused (and incorrect, for our usage) definitions.
2000-07-17 02:17:13 +00:00
thorpej
95f72dd4aa
Use the IOASIC_DMA_ADDR() macro now that it is fixed.
2000-07-17 01:29:02 +00:00
thorpej
cd6fa19644
Make sure to get the upper 5 bits of the page address mixed in
...
in IOASIC_DMA_ADDR(), as the le_ioasic attachment does. Noted
by Gregory McGarry.
2000-07-17 01:28:16 +00:00
tron
114bb7f9d9
If card is in power state D3 put it into power state D0 so that it will
...
at least work after the next reboot.
2000-07-16 20:18:48 +00:00
jhawk
859057e6b3
Fix uninitialized variable (reg) in fxp_pci_confreg_restore();
...
this could result in garbage being written to the PCI status register,
which is unlikely to have had a serious effect. This was with us from
an #if 0 added in rev 1.6.
2000-07-15 21:36:19 +00:00
tron
9feae259a4
Avoid printing duplicate colon when card is waked up.
2000-07-15 20:57:24 +00:00
tron
cfe61a3025
Un-__P'ify kernel prototypes.
2000-07-15 19:59:27 +00:00
drochner
54ccff0437
define "80x24" screen types for better vt100 compatibility
2000-07-15 18:47:54 +00:00
scw
20305c6623
Fix a typo in the `device_lookup()' changes.
2000-07-15 18:12:42 +00:00
tron
61c607b9fe
Improve kernel message when card is in power state D3. Instead of...
...
epic0 at pci0 dev 11 function 0 epic0: unable to wake up from ...
... print this:
epic0 at pci0 dev 11 function 0: unable to wake up from power state D3
2000-07-15 10:32:36 +00:00
tron
498310f5be
Check if card was put into sleep mode using PCI/ACPI power management
...
and try to restart it. This patch based on hints by Jason Thorpe.
2000-07-14 22:00:32 +00:00
soren
b141a6bfe8
Merge-o.
2000-07-14 21:09:45 +00:00
oster
dc4b749234
Fix the status reporting for copybacks. Thanks to Hubert Feyrer for
...
reporting the problem.
2000-07-14 15:26:29 +00:00
is
d8205b6db1
Do a dummy read after writing through the memory access pipeline, to flush
...
it, before starting the command to install the multicast list.
(We did it right for writing data packets, but failed here.)
Without this, the last multicast address installed won't be made active.
2000-07-14 10:50:50 +00:00
jun
ceafcbd834
apply Kenji Aoyama <aoyama@nk.mcu.or.jp>'s patch
...
on port-hpcmips-ja@jp.netbsd.org Mon, 10 Jul 2000 21:21:47 +0900
FIX:
Can't read CIS tuple chain:some TDK CF Flash memory card.
2000-07-14 08:02:12 +00:00
soren
c675def443
Update comment.
2000-07-12 23:14:09 +00:00
thorpej
1a82fc879b
Regen.
2000-07-12 22:59:54 +00:00
thorpej
16a4fd2bff
Add DEC DE422 Ethernet.
2000-07-12 22:59:23 +00:00
thorpej
b2a5b02fc9
Fix a couple of LP64 problems (long -> int32_t).
2000-07-12 21:15:33 +00:00
onoe
6c4d97da13
Indicate WEP capability to association request when WEP is enabled.
...
Without this fix, some (IEEE802.11 conformant) APs will send data to this
station without using WEP.
2000-07-11 12:54:00 +00:00
nisimura
4f051180a0
- Use PMAD-BA name for device match logic. It's not a real TURBOchannel
...
device and the id string is not found in option ROM string, but
ULTRIX/OSF1 call it so anyway.
- Squash IOASIC DMA buffer allocation into device attach() sequence.
2000-07-11 04:10:25 +00:00
ad
b71bddab49
Regen.
2000-07-10 16:32:07 +00:00
ad
5a5452c95d
Add ICP Vortex RAID controllers.
2000-07-10 16:14:02 +00:00
onoe
b99e56173c
do not allow non-priviledged user to change nwid via ifconfig.
2000-07-10 14:36:17 +00:00
mrg
0de5b6e260
these don't need <uvm/uvm_extern.h> at all, actually.
2000-07-10 13:54:54 +00:00
onoe
c2ed037f55
move associated/synced/no-recent-beacons messages to IFF_DEBUG.
2000-07-10 12:32:53 +00:00
jhawk
469c88cc11
Clarify that the RX5C47X requires writes to the PCI_LEGACY to
...
disable and not PCI_BCR_INTR; this is what rev 1.9 did under
the label of "Maintenance."
2000-07-09 22:06:02 +00:00
jhawk
e6e9cc5c41
Move legacy pcic-mode disabling code from pccbb_chipinit() to
...
pccbbattach(). This is necessary as pccbb_chipinit() is deferred, and
may not run until after the pcic is already attached.
Now pcics are properly disabled on Sony VAIO, f'rinstance.
2000-07-09 21:58:30 +00:00
pk
406e0f779f
Add a `device class' interrupt level argument (from machine/intr.h)
...
to bus_interrupt_establish().
It's currently only used in sparc64/dev/psycho.c to assign a CPU interrupt
level to devices in PCI slots.
2000-07-09 20:57:41 +00:00
mycroft
d621cc4cb0
Add missing newlines in some messages.
...
Set Vpp the same as Vcc by default. We need to do more with voltage sense.
2000-07-09 01:55:18 +00:00
mycroft
bd8f07c394
Recognize the i82559ER.
2000-07-09 00:46:26 +00:00
mycroft
5cdb782283
Regen.
2000-07-09 00:45:56 +00:00
mycroft
9d0e35cc63
Add ID for i82559ER.
2000-07-09 00:45:14 +00:00
sommerfeld
dcf6e7b09e
When receiving an rx interrupt on a closed or unconfigured port, read
...
the data out of the board anyway so it won't re-interrupt anyway.
Fix tested by C Kane <ckane@best.com>
2000-07-08 18:36:02 +00:00
sommerfeld
ed9ce99d8c
printf format paranoia
2000-07-08 17:12:08 +00:00
mrg
6421cc8af8
regen
2000-07-08 04:39:50 +00:00
mrg
d74c0a2e3e
add microSPARC IIep PCI controller
2000-07-08 04:38:55 +00:00
pk
0d97100854
Use vme_dmamap_create().
...
Also, this device lives in VME_D16 data space.
2000-07-07 21:12:21 +00:00
pk
67f1f77b78
Use vme_dmamap_create().
2000-07-07 21:11:08 +00:00
bouyer
2646cf1612
Use the CMD PCI0648/9 IRQ ACK code for the 0646 too, makes the 0646 works
...
in native mode.
2000-07-07 13:54:25 +00:00
mjacob
58a60a43f2
Gah. Bad port from FreeBSD code (thanks Robert Elz) for setting
...
up default timeout for watchdogging commands.
2000-07-07 03:14:53 +00:00
wrstuden
f420228afb
Define splaudio as splbio and IPL_AUDIO as IPL_BIO only if IPL_AUDIO
...
is not defined. Previously tested for specific system architectures (i386,
etc.) rather than just looking for IPL_AUDIO.
2000-07-07 01:11:12 +00:00
ragge
8cc5c2c8f1
Rename NODESIZE to BI_NODESIZE.
2000-07-06 17:47:02 +00:00
ragge
c0f8f713bf
Initial support for the XMI bus on VAX, MIPS and Alpha systems.
...
Not completely finished yet.
2000-07-06 17:45:52 +00:00
onoe
a4d6bdac79
do not show wep keys to non-root users.
2000-07-06 17:22:25 +00:00
hannken
c8793c3d7e
Change type `kbd_t' from `u_int_16_t' to `u_int32_t'.
...
This eliminates bogus casts from `int *' to `u_int_16_t*'.
2000-07-06 16:29:49 +00:00
bouyer
e2aaf9ef7f
Work around a bug in AMD756 rev D2, from patches provided by David Sainty:
...
disable multiword DMA for these chips. multiword DMA can be forced with
options PCIIDE_AMD756_ENABLEDMA on rev D2 chips, but use at your own risk !
While I'm there remove a duplicate allocation of sc_wdcdev.nchannels in HPT
code.
2000-07-06 15:08:11 +00:00
augustss
555fde1163
Fix reversed test in umass_activate(). Probably fixes PR 10520.
2000-07-06 07:11:18 +00:00
thorpej
d28fe378bc
Use device_lookup().
2000-07-06 02:02:48 +00:00
mjacob
b47890a934
Reserve top nibble of status for use by the HBA. It's up to the
...
HBA to set or clear it.
2000-07-06 01:56:23 +00:00
thorpej
cb450cc444
Use device_lookup().
2000-07-06 01:47:34 +00:00
mjacob
7ed7b1b9fd
Per advice from thorpej, reinstated some of Erik's changes.
2000-07-06 01:17:38 +00:00
thorpej
5297dab6a8
Use device_lookup() *more*.
2000-07-06 00:48:53 +00:00
thorpej
cfaba33937
Use device_lookup().
2000-07-06 00:43:04 +00:00
thorpej
cde72a2c2b
Garbage-collect __BDEVSW_DUMP_OLD_TYPE.
2000-07-05 23:31:12 +00:00
mjacob
f78b367775
Roll core version. Get rid of dogactive (no longer used). Add in some
...
volatile flags (isp_mboxbsy- keeps a bitmask of expected output mailbox
registers) and storage for them (isp_mboxtmp). Get rid of macroized
LUN widths. This is determined at run time.
2000-07-05 22:28:08 +00:00
mjacob
7358822ab5
Fix incorrect uint8_t vs. u_int8_t usage. Add in offset macros for outgoing
...
mailbox regs and a INT_PENDING_MASK macro.
2000-07-05 22:26:53 +00:00
mjacob
b520c663d0
add MBOX_GET_RESOURCE_COUNT command
2000-07-05 22:25:53 +00:00
mjacob
93778c19b8
pick up FreeBSD changes
2000-07-05 22:25:34 +00:00
mjacob
3626695b49
Roll platform minor. We are now always supporting ISP2100_FABRIC. Add
...
in new MBOX_WAIT_COMPLETE/MBOX_NOTIFY_COMPLETE macros (ready for SMPizing).
Define STRNCAT inline for our usage.
Stealing a bit of the xs_status flags to maintain command state that
is pertinent for the hBA- should really reserve them for private usage
in scsipiconf.h.
2000-07-05 22:25:06 +00:00
mjacob
a743834a38
Redo watchdogs to handle cases of false death of commands- time
...
each command now.. Get rid of SCCLUn stuff. Use an isp_done routine
to handle cases of watchdog and isp_done racing to completion.
2000-07-05 22:23:05 +00:00
mjacob
a7560ced04
Add back in a (corrected) isp_prtstst function.
2000-07-05 22:21:44 +00:00
mjacob
e946846577
Back out previous commit- the author is incorrect. There is no 'narrow'
...
Qlogic controller driven by this chipset. If they don't want the verbosity,
don't compile a DIAGNOSTIC kernel.
Major amount of mailbox command rewrites- hopefully should fix some of the
outstanding PRs.
Change header to note that this is no longer maintained at NASA/Ames.
2000-07-05 22:20:51 +00:00
mjacob
c466b99a9a
Use new isp_handle_index function. Redo how firmware is checked for
...
and loaded. Remember to enable interrupts after isp_reset but before
isp_attach. Return CMD_EAGAIN on request queue overflow so we can retry
the command when there's more queue space.
2000-07-05 22:12:23 +00:00
mjacob
855b5ef9b0
Use new isp_handle_index inline function. Change order in whch
...
some things are done. Remember to enable interrupts after calling
isp_reset but before isp_attach.
2000-07-05 22:10:56 +00:00
mjacob
f73a4d37e2
split firmware into smaller files
2000-07-05 22:09:08 +00:00
bouyer
3c5afc2677
Back out previous, it has to be done in a different way.
2000-07-05 19:05:31 +00:00
bouyer
838676ce64
Apply patch from David Sainty <David.Sainty@optimation.co.nz>:
...
Some AMD controllers have a bug which can look up the machine when using DMA, so
disable DMA for some revisions (info provided by AMD).
"options PCIIDE_AMD756_ENABLEDMA" can be used to force DMA on these chips.
2000-07-05 18:58:41 +00:00
itojun
e93c7e8dd2
typo. From: jdolecek
2000-07-05 18:47:51 +00:00
itojun
5f1c4bb519
use memory mapped address, instead of i/o memory access, for control
...
registers. rationale:
- Netwave cards choke if we map i/o memory to >= 0x400
- even though, CIS tuple talks nothing about it
- it is not possible to specify range in pcmcia_io_map
- it would be very bad to do a try-and-error bus_space allocation for
i/o memory regions < 0x400
- we can have exactly the same functionality with memory mapped access
this should correct PR 10139.
the memory mapped access idea was from WIDE wildboar/bsdi cnw code.
2000-07-05 18:42:19 +00:00
bouyer
fa436f165c
HPT: use pciide_channels[i] not pciide_channels[0]. My HPT370 now probes
...
both channels (but still doesn't work properly; I suspect I got a broken one).
2000-07-05 16:11:35 +00:00
nisimura
30c1d4ba1c
- Withdraw ZS_IOASIC_DMA conditional which has never been useful.
...
- Sanitize ZS register access.
2000-07-05 07:50:57 +00:00
nisimura
728e424e54
Repopulate 4 files, zs_ioasic.c and zs_ioasicvar.h from arch/alpha/tc,
...
zskbd.c and zsms.c from dev/dec/, respectively. No functionality
change this time.
2000-07-05 02:48:50 +00:00
onoe
807a12c8cd
change the argument of SIOCS80211NWID and SIOCG80211NWID ioctls from
...
u_int8_t array to struct ieee80211_nwid to prepend length field.
The length field is necessary because IEEE 802.11 spec doesn't prohibit
even '\0' for SSID.
Though the name and the value of SIOC... macro is unchanged, this change
breaks binary compatibility. The only affected userland program on the
tree is ifconfig(8).
As Jason suggested on tech-net, it is better than live with problems
since there are no releases for this ioctls yet.
2000-07-05 02:35:53 +00:00
onoe
af32c63489
remove unneeded include "opt_awi.h"
2000-07-05 02:27:25 +00:00
enami
88a0f6ee93
Match with promise ultra100/ata contoller. I haven't actually test this
...
contoller with ultra100 drive, but it works at least with ultra66 or more
older drive
2000-07-04 16:34:33 +00:00
enami
fa92d1c635
Regen.
2000-07-04 16:30:42 +00:00
enami
a710a5e35e
Add device ID of promise ultra100/ata controller.
2000-07-04 16:27:32 +00:00
tsutsui
904f3cd34f
Add wlan.
2000-07-04 15:57:02 +00:00
pk
e7adcbdb13
enet dma: claim interrupt as appropriate.
2000-07-04 14:58:36 +00:00
onoe
7411709050
Support WEP functions for awi driver.
2000-07-04 14:47:58 +00:00
onoe
793eb28211
Support WEP functions for awi driver.
...
arc4 implementation by Kalle Kaukonen has been added.
define "wlan" in files.
XXX: only awi depends on wlan for now.
Allow authentication for adhoc (IBSS) mode.
Disable adhoc mode without bssid (mediaopt adhoc,flag0) for FH radio.
FH cannot work without synchronization by beacons.
Align IP header for ethernet encapsulation (IFF_FLAG0) mode.
Print available access points for IFF_DEBUG.
2000-07-04 14:27:56 +00:00
is
87803a8f14
amigappc: siop -> asiop
2000-07-04 14:18:06 +00:00
onoe
0e23cbd506
Remove unneeded include <sys/kernel.h> from FreeBSD by <phk@freebsd.org>
2000-07-04 14:16:21 +00:00
tsutsui
93d627808a
Update some entries:
...
- add amigappc devices
- add sgimips devices
- add cmpci, cy82c693, cz, fwbus, fwohci, sysmon, viaenv, viapm and xmi
- add necpb for arc
- add pcons for sparc64
- add xsii for pmax
- ncr for vax is renamed to si
- si for sparc is now MI
XXX siop for amigappc should be renamed to asiop?
2000-07-04 14:01:31 +00:00
augustss
8f0fb77674
MAke sure bass&treble start in their mid position.
2000-07-04 10:02:45 +00:00
thorpej
a02e08bf4f
Remove work-around for Lite-On PNIC in tlp_filter_setup() that is
...
apparently no longer necessary (probably due to other fixes that
have happened in the filter setup path) and is in fact harmful.
Based on a patch from Krister Walfridsson, who claims this makes
his newer NetGear FA-310TX work (although, my older NetGear FA-310TX
still does not, but fails in an entirely different way).
2000-07-04 04:18:17 +00:00
itojun
33d6ee7269
sync with sys/dev/ic/adwlib.h change (s/ADV_TICKLE/ADW_TICKLE/)
...
not sure if it is right. comments?
2000-07-04 04:17:03 +00:00
thorpej
49014bf59f
Restructure the PHY entry points to use a structure of entry points
...
instead of discrete function pointers, and extend this to include
a "reset" entry point. Make sure any PHY-specific reset routine is
always used, and provide one for the LXT-970 which disables MII
interrupts (as is done for a few other PHYs we have drivers for).
2000-07-04 03:28:59 +00:00
nisimura
87eac96162
Make sure to settle tcdsreg.h and tcdsvar.h in /usr/include/dev/tc/.
2000-07-04 02:31:21 +00:00
nisimura
1de4ec68b4
Repopulate TCDS dual channel SCSI adapter to MI dev/tc, squashing
...
internals for better layering between TCDS DMA ASIC and ASC SCSI
controller.
2000-07-04 02:22:08 +00:00
thorpej
d0827b0ed7
sparc/dev/sireg.h -> dev/vme/sireg.h
2000-07-04 01:29:14 +00:00
nisimura
0c92b006c6
Fix negative timeout symptoms caused by integer multiply overflow,
...
which is revealed with larger HZ systems like NetBSD/pmax (256Hz)
and NetBSD/alpha (1024Hz) as reported by PR#8645. Polled tape
drive access is done with maximum 6 hour timeout which ended up
with negative time and then confused SCSI bus severely.
2000-07-04 01:10:18 +00:00
pk
93f987a210
The `si' driver has been transformed into an MI VME frontend.
2000-07-03 23:30:33 +00:00
dante
fa845b7795
Fix a off-by-one error in sc_freeze_dev[].
...
Thanks to kwesterback@home.com
2000-07-03 18:14:18 +00:00
gmcgarry
cc05a49fb0
Regen.
2000-07-03 06:05:44 +00:00
gmcgarry
72cbe1224d
Devices found in NEC Versa Note VX
2000-07-03 06:01:17 +00:00
augustss
feb8219648
Regen.
2000-07-03 01:07:25 +00:00
augustss
3c9acfbb29
Add some Alcor products.
2000-07-03 01:07:04 +00:00
sommerfeld
06f1d399e2
Take just the low-order 32 bits of cpu_counter() here.
2000-07-02 21:04:33 +00:00
takemura
0d28ab1838
Common part of APM (advanced power management) support for Hpcmips.
2000-07-02 09:48:12 +00:00
cgd
1ce8331ad9
nuke some final __BROKEN_INDIRECT_CONFIG bits that weren't caught by
...
unifdef last time. (bloody things just won't stay dead!)
2000-07-02 06:25:46 +00:00
wiz
235a799246
re-add README that got lost in 2.12-to-2.14 merge.
2000-07-01 01:59:54 +00:00
wiz
c01704a9db
remove unnecessary #ifdef __NetBSD__'s in #ifdef __FreeBSD__;
...
move one #include <vm/vm.h> into #ifndef __NetBSD__
2000-07-01 01:53:37 +00:00
wiz
d307475c33
resolve conflicts.
2000-07-01 01:38:58 +00:00
wiz
5457abf9cb
Import release 2.14 of the bktr driver. Changes: mostly integration
...
of NetBSD changes; support for new Hauppauge tuner types.
2000-07-01 01:30:43 +00:00
joda
5f9b72f44c
match 3Com 3CRWE737A (AirConnect)
2000-06-30 16:40:31 +00:00
joda
c8edea398b
regen
2000-06-30 16:33:38 +00:00
joda
35c8e4d91e
add 3Com 3CRWE737A (AirConnect)
2000-06-30 16:33:17 +00:00
ad
e211fdee79
Use my proper name in copyrights.
2000-06-30 13:36:47 +00:00
veego
a9d80391d0
Move the include of <vm/vm.h> into the ifndef __NetBSD__ part.
2000-06-30 08:12:10 +00:00
mjacob
7b0ccbb669
need uvm_extern.h for a function definition
2000-06-30 00:01:22 +00:00
pk
8c46f6d687
#include "opt_ahc.h"
2000-06-29 23:12:19 +00:00
fvdl
dd3e309684
Fix some missed vm/vm.h -> uvm/uvm_extern.h conversions.
2000-06-29 19:27:55 +00:00
thorpej
756aa08443
Since the RFA is allocated in a normal mbuf, as opposed to DMA-safe
...
memory that is explicitly mapped in a DMA-coherent manner, we must
make sure to PREREAD sync the RFA after noticing a clear "complete"
bit. Without this, the clear bit will linger in the cache, and the
CPU will not notice when the chip updates the bit via DMA later.
From Izumi Tsutsui on port-arm32@netbsd.org .
2000-06-29 16:53:48 +00:00
bjh21
72d99f2b0c
Add all arm26 devices with drivers
2000-06-29 12:49:18 +00:00
oster
ce2b2827e5
Nuke a printf that *I* added at least as early as Nov, 1998, and which is
...
as bogus now as it was then.
2000-06-29 00:22:27 +00:00
thorpej
0b82c9610f
Don't check for a BAR address past PCI_MAPREG_END; some devices
...
have BARs way out in left field.
2000-06-28 17:32:48 +00:00
mrg
314f1e97c5
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-28 17:12:48 +00:00
mrg
b5e0d5686e
remove include of <vm/vm.h>
2000-06-28 17:09:41 +00:00
mrg
a14baa8257
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-28 17:05:20 +00:00
mrg
261538ecac
remove include of <vm/vm.h>
2000-06-28 16:39:25 +00:00