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