Commit Graph

9987 Commits

Author SHA1 Message Date
mjacob
5dafac6e18 Add a few opcodes for target mode. Define firmware attributes (for FC f/w). 2001-04-05 02:28:53 +00:00
mjacob
ad454c818c Keep up with the Joneses: sync with common core target mode code. Eventually
we'll do something with it here.
2001-04-05 02:28:17 +00:00
mjacob
6c28def28f Change how SCSI defaults are latched if we're supporting Target Mode.
Make sure we pick up the channel for dual bus cards when enabling target
mode. Catch a silly null pointer dereference.
2001-04-05 02:27:33 +00:00
toshii
fa02f7a053 Add Japanese model keyboard mapping. 2001-04-04 05:31:57 +00:00
bjh21
0c5b5be69f Tweak product ID printing in light of the 80C04A data sheet.
Split out Rx and Tx interrupt handlers into their own functions for clarity.
2001-04-02 22:25:17 +00:00
ichiro
dbbff52c3d support USB-serial PLANEX USB-RS232 URS-03
reported by sakamoto@splhack.org (Kazuki Sakamoto)
2001-04-02 13:38:14 +00:00
augustss
8086f5e0ec Print portno when attaching. 2001-04-02 13:18:31 +00:00
bjh21
7b7d57c2da Add some definitions for the 80C04A, thanks to Reinoud, who found me a data
sheet for it.
2001-04-01 21:15:15 +00:00
augustss
9d6dabe88a Regen. 2001-04-01 19:24:28 +00:00
augustss
557561727e Add more Keyspan adapters. 2001-04-01 19:24:06 +00:00
augustss
95af1455f2 The ZiO! MMC adapter doesn't have a flex geometry page. 2001-04-01 19:05:44 +00:00
augustss
d265e74a94 Make the ZiO! MMC adapter work. 2001-04-01 19:04:52 +00:00
augustss
c1dfafc4de Regen. 2001-04-01 18:25:14 +00:00
augustss
39ccfa3beb Add some new devices. 2001-04-01 18:24:49 +00:00
ad
87fee883e5 - Allocate any private space thats requested.
- Just use mapreg_map().
2001-04-01 15:06:22 +00:00
ad
99187cdd56 - Allocate any private space that's requested.
- Fix a few bogons with the last update.
- Add some more LAN defs.
2001-04-01 15:02:08 +00:00
augustss
cb47887dc2 Add two missing splx() (inside DIAGNOSTIC). From OpenBSD. 2001-04-01 15:00:29 +00:00
augustss
1077c84a99 Avoid a potential null pointer dereference. From OpenBSD. 2001-04-01 14:59:52 +00:00
augustss
f994193bf7 Add Epson 1240. 2001-04-01 14:50:58 +00:00
augustss
b20d51da79 Regen. 2001-04-01 14:50:43 +00:00
augustss
9132bd9643 Add Epson 1240. Add a comment about the purpose of this file. From FreeBSD. 2001-04-01 14:50:22 +00:00
augustss
2abf6b66a5 Change handling of the UFI protocol so it goes through atapibus instead
of scsibus.  This removes a whole bunch of specioal cases for UFI.
All this great simplification comes from Brett McCoy <bmccoy@genuity.net>.
2001-04-01 14:41:39 +00:00
augustss
97fa4f3453 Fix some bad indentation. 2001-04-01 03:28:11 +00:00
rh
ba614ae877 Fix DPRINTF statements so this compiles with debug enabled. 2001-03-31 10:10:37 +00:00
jdolecek
ba9261ba08 add year 2001 to copyright for NetBSD 2001-03-31 09:50:14 +00:00
jdolecek
5a3d02fe8b fix the copyright - Charles's name was added here by mistake, use
standard TNF cookie instead
2001-03-31 09:49:00 +00:00
minoura
5e2f81a0cf Regen. 2001-03-31 09:08:06 +00:00
minoura
27fcb60ea5 Add Cyrix products (MediaGX). 2001-03-31 09:06:45 +00:00
jdolecek
5f3d9f1da2 Add driver for AT1720 MCA cards. This uses generic MB86960 support code,
and shares some bits with ISA AT1700 driver. Gee, this one was really
easy :)

This card turned out to be quite good performer - I get about 360KB/s
on 386DX PS/2 machine, which is best of all supported cards so far.
Tested with AT1720T, card donated by David Brownlee.
2001-03-31 00:43:05 +00:00
enami
2ceebb6c0e Remove unnecessary test of tp->t_linesw against NULL; they are results
of confusion while correcting compilation error after t_line is
replaced with t_linesw.
2001-03-31 00:35:21 +00:00
jdolecek
6f8f19b16e fix typo in comment 2001-03-31 00:30:22 +00:00
jdolecek
592dfdc76b Prepare for MCA attachment:
* split off sharable stuff to dev/ic/ate_subr.[ch], move ate(4) device
  definition to conf/files
* cosmetic: attach with ate_isa
2001-03-31 00:26:53 +00:00
enami
d04f4ebff1 WSDISPLAY_FONTENC_SONY is gone. 2001-03-31 00:14:32 +00:00
christos
95fda43dd5 make all debugging messages conditional on sc->sc_debug. 2001-03-30 17:30:18 +00:00
ad
30b7c151f0 AEN 0x000c appears to mean `init started'. From lukem. 2001-03-30 16:48:57 +00:00
minoura
28f83415ad Update TODO list. 2001-03-30 15:53:25 +00:00
minoura
6a18583c73 Add yds. 2001-03-30 15:23:44 +00:00
minoura
537038859e Yamaha YMF724/740/744/754 (DS-1) PCI audio driver. 2001-03-30 14:32:08 +00:00
tsutsui
42e44c1408 Make Sony's fonts ISO8859-1 compliant. 2001-03-30 13:06:45 +00:00
bjh21
f6ec9b4ab2 On an 80C04, try not to start reads at addresses of the form xx,ea, xx,ee, or
xx,f0.  This appears to heavily alleviate, but not to eliminate entirely,
the problems I've been seeing with garbage being read from the rx buffer.
I suspect the real solution lies elsewhere.
2001-03-29 20:49:44 +00:00
bjh21
2f6fd6b040 Print a warning message when the DMA FIFO fails to fill or empty before we
time out.
2001-03-29 17:46:39 +00:00
jdolecek
6db03feca9 Remove unneeded #includes 2001-03-29 08:56:27 +00:00
jdolecek
2a2070aec3 kill bunch of unneeded includes 2001-03-29 08:48:55 +00:00
petrov
ae964a3f9b use NCR_F_DMASELECT instead ncr53c9x_dmaselect 2001-03-29 03:26:52 +00:00
petrov
b0605f71d5 fas support added 2001-03-29 02:58:38 +00:00
ichiro
718d1ed83c add UMCT_DEBUG option 2001-03-28 19:00:39 +00:00
ichiro
2c750ca482 add umct device name 2001-03-28 18:48:01 +00:00
ichiro
19c0a21aaa support USB-RS232 Converter of Magic Control Technology Corp.
More information about this product found at http://www.mct.com.tw
2001-03-28 18:42:13 +00:00
ichiro
4b8789fde8 regen 2001-03-28 18:36:32 +00:00
ichiro
6724d33a12 add PID Sitecom USB-232 adapter and D-Link DU-H3SP USB BAY Hub 2001-03-28 18:36:07 +00:00
msaitoh
bb73804714 add NetBSD RCS id again 2001-03-28 17:22:51 +00:00
msaitoh
2815a110f3 add NetBSD RCS id 2001-03-28 17:08:29 +00:00
drochner
adf9edcd41 update for miidevs changes 2001-03-28 14:16:49 +00:00
drochner
3752421a75 regen 2001-03-28 14:15:23 +00:00
drochner
bf6a2bf86c adapt to corrected OUI calculation 2001-03-28 14:14:57 +00:00
drochner
9e8def737f Reading the IEEE specs shows that the bits have to be reversed when
mapping an OUI to the MII id registers.
Doing this in the MII_OUI() macro would be too complex, so put it into
a helper function and move the MII id register interpretation stuff
into miivar.h.
2001-03-28 14:13:06 +00:00
enami
caf82786af - Unmap space used to read tuple.
- No need to zero clear temporary storage twice.
2001-03-28 01:55:55 +00:00
enami
f5f3098c7c Cosmetic changes; mostly knf. 2001-03-28 01:53:14 +00:00
bjh21
758fa94327 Print the address within the Rx buffer whenever anything goes wrong: it seems
to be significant.
2001-03-27 22:17:51 +00:00
bjh21
4beebf7d5d Clean up debugging printfs a little. 2001-03-27 21:43:13 +00:00
bjh21
8fc709ee67 Add some extra diagnostics:
* Use the timer to timoe out transmit operations.
 * Spot when the "next packet" pointer falls outside the recieve buffer and
   reset the interface.
 * Don't reset the interface when we get a bad packet (unless there's
   something else wrong as well).
2001-03-27 20:26:45 +00:00
toshii
d85c2b7e17 Change place of tuple.{memt,memh} initialization. 2001-03-27 18:09:31 +00:00
bjh21
7dae264309 Comment and #ifdef cleanup. 2001-03-27 18:03:04 +00:00
bouyer
f099a26df2 Cast to u_int64_t when computing callout argument, to avoid int overflow.
Fixes kern/12471.
2001-03-27 17:24:03 +00:00
haya
d610c23da4 Cosmetic changes. 2001-03-27 10:34:05 +00:00
augustss
262675e051 Regen. 2001-03-26 15:27:11 +00:00
augustss
ea509434b6 Add Microtech Cameramate. From PR 12477. 2001-03-26 15:26:54 +00:00
ichiro
d2cf77cd51 support CANON N656U scanner
not tested :P
in order to check using scanner, someone should teach that
what should be used application?
2001-03-26 13:42:05 +00:00
ichiro
224de64cd2 regen 2001-03-26 13:14:05 +00:00
ichiro
20e7881e71 add VID&PID
CANON USBScanner Canoscan N656U
GREEHOUSE CF-writer with MP3 Player
2001-03-26 13:13:33 +00:00
ichiro
9261ee5adc fix typo 2001-03-26 12:58:44 +00:00
ichiro
2350819ec5 support interrupt endpoint.
add more comment
2001-03-26 12:49:39 +00:00
ichiro
2ef094d072 add UPLCOM_DEBUG 2001-03-26 12:40:39 +00:00
sato
6c5da9bd76 o Change initialization for config_hook() base lcd control.
o Fix backlight control in case that light is controlable but not be
  able to get status.
o change some verbose prints.
2001-03-26 09:40:45 +00:00
augustss
e884187819 Small code rearrangement. 2001-03-25 23:02:34 +00:00
augustss
0207e2ea75 Comment out some strange code. 2001-03-25 22:59:43 +00:00
augustss
24dfbb6c35 Regen. 2001-03-25 22:54:30 +00:00
augustss
68723be904 Add Atmel DWL-120 wireless LAN adapter. 2001-03-25 22:53:56 +00:00
augustss
a2c1a2899f Try to make resume work on more machines. 2001-03-25 22:52:21 +00:00
ad
d54c705158 Missing splx(). From OpenBSD. 2001-03-25 14:48:28 +00:00
is
51144af34f improve readibility 2001-03-25 14:38:23 +00:00
jdolecek
fda74a0b78 add pcmb (i386) 2001-03-25 09:56:15 +00:00
jmc
06fc8b2014 Actually fix fwlynx correctly. Got the right filename this time. 2001-03-25 03:48:36 +00:00
bjh21
a995ac4f75 eb is MI now, too. 2001-03-25 01:10:39 +00:00
bjh21
8edd158910 MI(ish) EtherB driver using the MI SEEQ 8005 driver. Very lightly tested. 2001-03-25 01:09:36 +00:00
bjh21
0ac712a013 Remove obsolete #defines. 2001-03-25 01:08:56 +00:00
bjh21
39c267bb01 Tweak handling of multicast on 80C04. I think we need to set the match mode
to "multicast" for it to work, but I could be wrong.

Also make ALLMULTI work on 80C04, but this is untested.
2001-03-25 01:06:59 +00:00
bjh21
56ac2cf6bc Supply the extra arguments that seeq8005_attach() now needs. 2001-03-24 23:37:34 +00:00
bjh21
304809f5f1 Re-arrange board memory to suit the current (crude) transmit code.
Add ea_writembuf() from mark's code, and re-work eatxpacket() to use it.
2001-03-24 23:31:06 +00:00
thorpej
a9d20501af Remove a comment; this module has not been compatible w/ BSD/OS's
for quite a long time.
2001-03-24 20:44:26 +00:00
bjh21
b94b953e92 Enormous pile of changes from mark's (uncommitted) work on this driver.
About the only bit of his code not here is the transmit routines, which I'll
merge in separately.

Also a few bug-fixes, so (for instance) multicast on an 8005 doesn't
immediately fall back to IFF_ALLMULTI.
2001-03-24 20:38:41 +00:00
briggs
2dbd96c75c There is no need to accept all ARP packets (regardless of destination
address) on the DP83815.  Noted by Shiva Shenoy <shiva@riverstonenet.com>
in private correspondence.
2001-03-24 19:40:51 +00:00
uch
2f3cc13258 add HP 620LX Japanese model keymap. 2001-03-24 17:33:12 +00:00
bjh21
b83b8ac01f Change all the register definitions to match the names using in mark's
improved version of the driver.
2001-03-24 13:40:41 +00:00
bjh21
2e51f5568b Get podulebus includes from the right place. 2001-03-24 12:58:51 +00:00
martin
5171d409a5 First step to cleanup the hardware driver <-> upper layers interface.
This now provides slightly more functionality than the FreeBSD layer1-newbus
interface. It was meant to be a simple change to one header and a few
c files, but the change rippled all through various stuff.

To prevent a change to the kernel<->userland interface right now the kernel
is now lying about card types to userland (but who cares). This will be fixed
when the userland interface changes, after layer 3 <-> layer 4 has been
fixed.

Functional changes:

Provide a clean interface for hardware drivers to attach to the upper
layers. This will need another small change in the B-channel handling
when a similar change to the layer 3 <-> layer 4 interface happens.

Avoid passing indices into global arrays of pointers around, instead pass
the pointers itself. Don't code hardware driver types by predefined magic
numbers (think LKM). Prepare for detachable drivers (think pcmcia).

While there remove some sets of function pointers always pointing to the
same function (meant to be the configurable set of D channel protocol
handlers). It is unlikely another supported D-channel protocol will fit into
that (maximal layer interface) abstraction. When we get support for another
protocol, we will need to come up with a workable interface. Besides, the
old implementation was, uhm, strange.
2001-03-24 12:40:29 +00:00
jdolecek
887a4368ce regen 2001-03-24 09:48:39 +00:00
jdolecek
c86a2420fb Add couple AT1720 entries 2001-03-24 09:48:11 +00:00
christos
3319b05361 There was a stray debugging message "OptionMode = %x\n". Prefix it with
the device name, and enable it only in debugging mode.
2001-03-24 02:04:40 +00:00
bjh21
18db220fba Handle IFF_ALLMULTI correctly. We can now cope with multicast, but for
some reason DAD fails when starting IPv6.
2001-03-24 00:16:41 +00:00
bjh21
de791f82d8 "ea" is now borderline MI. 2001-03-24 00:15:38 +00:00
bjh21
8bd452c648 Create an MI Ether3 driver. It's derived from the arm26 driver, which uses
my MI SEEQ 8005 driver, which is based on the arm32 ea driver.
2001-03-24 00:14:52 +00:00
briggs
70f969e600 if_wereg.h is no longer here. 2001-03-23 23:14:32 +00:00
jdolecek
d0b4b2499f regen 2001-03-23 20:04:51 +00:00
jdolecek
7fe8df83a3 cosmetic change for autoconf printing: for memory extension cards,
just print ": configured" if they are enabled; they don't need any
special driver to work, printing "not configured" might be confusing
2001-03-23 20:04:28 +00:00
jdolecek
c3ba22cf5f Forgot this one:
if_we.c was split and ISA-specific part is now in if_we_isa.c,
we(4) device is defined in conf/files.
2001-03-23 19:41:34 +00:00
jdolecek
75b7bea508 Add MCA we(4) attachment for WD80x3 cards and clones. Tested with
WD8003W/A, card provided by David Brownlee (thanks!). The SMC Elite stuff not
tested since I don't have any; hopefully it's correct, should match
information in ADF files.

The MCA-specific init quirk taken from Linux smc-mca.c driver.
I don't quite grok why it works, but it does *cross fingers*.

The WD8003W/A seems to be quite a good choice. I get like 340KB/s on my
machine, where 3c523 does only like 310KB/s. The numbers would be probably
even better with faster CPU than 386DX :)
2001-03-23 19:25:35 +00:00
jdolecek
43b0593b91 regen 2001-03-23 18:12:45 +00:00
jdolecek
593eb4314b Change names of WD80x3x cards to what is in ADF's at
http://members.aol.com/mcapage1/adflist1.htm
Add couple IBM WD80x3x clones
Arrange so that appropriate defines are generated for WD80x3x cards
2001-03-23 18:12:13 +00:00
jdolecek
6d79f8ce1e Split we(4) driver to bus independant and ISA-specific parts, in preparation
for MCA attachment.
2001-03-23 17:34:41 +00:00
fvdl
2e3722d635 Remove a debugging printf. 2001-03-23 14:11:39 +00:00
is
b1e3063f0b Move tx chain result handling into iystart(). This way, ww normally only
need an interupt when the hardware hits tx chain end. We switch on one
int per packet sent when we fill up and go into OACTIVE mode.
Measured total interupt savings on large NFS writes: 20%.
2001-03-23 13:15:27 +00:00
lukem
b240b7a4e1 #ifdef KGDB, call kgdb_connect(1) if KS_Cmd_Debugger (a la ddb invoking
console_debugger() in the same situation).
this makes it easier to get remote kgdb going if you forget to use boot -d.
2001-03-23 04:22:36 +00:00
uch
51243a1c74 add Hugarian and German keymap
patch by Laszlo Szabo <rka@rka.hu>
2001-03-22 18:37:32 +00:00
jdolecek
031c6d8c24 Add MCA ep(4) attachment, for 3Com 3c529-type cards. Tested with 3c529-TP,
provided to me by David Brownlee (thanks!).

Performance of this card is quite poor on my PS/2 with 386DX, like 100KB/s
at best, but as low as 5KB/s when transferring bigger files due to
packet overruns. It would be good to revisit this later, probably by
teaching the ic code to use RX Early.
2001-03-22 16:54:45 +00:00
is
fe9376e508 Oops. We _do_ need to receive broadcasts. At least as long as we want ARP. 2001-03-22 14:30:47 +00:00
jdolecek
4ffa6a80d6 convert to use ether_ioctl()
fix bunch of typos
2001-03-22 12:00:26 +00:00
soren
1d7d1bd0db Regen. 2001-03-21 18:10:34 +00:00
soren
984c03180f Lower-case a few hex digits for easier searching. 2001-03-21 18:10:13 +00:00
ad
fad8449663 Decrease the timeouts on QUEIESCE and CLEAR lest the adapter doesn't reply. 2001-03-21 14:27:05 +00:00
bouyer
be5f917514 Add a small delay before reset at attach time, required by one old ATAPI
CD. Reported by Onno van der Linden.
2001-03-21 08:44:14 +00:00
hubertf
b11582be50 regen for trident cyberclade 2001-03-21 01:10:06 +00:00
hubertf
d54969d21f Add Trident CyberBlade as found in Toshiba Satellite Pro 4600 2001-03-21 01:09:36 +00:00
bjh21
998606396f Move struct podule_list and struct podule_description to podulebus.h.
They're MI, even if only arm32 actually uses them at present.
2001-03-20 23:27:04 +00:00
bjh21
86d6442c28 Move machine-dependent podulebus headers to <machine/podulebus_machdep.h>.
<dev/podulebus/podulebus.h> is the canonical file to include, and includes
<machine/podulebus_machdep.h>.
<arch/${MACHINE}/poudulebus/podulebus.h> remains for backward compatibility.
2001-03-20 22:59:39 +00:00
augustss
2ff439c85c Add quirks for Panasonic MultiMediaCard adapter (attaches via USB). 2001-03-20 22:39:51 +00:00
augustss
93b623b541 Extend quirks to 32 bits. Add two new ATAPI quirks, one to
deal with a bad byte5 of the capacity descriptor, one to
handle devices that lack the flex geometry page.
2001-03-20 22:39:08 +00:00
bouyer
66f705d045 Don't set up PDC2xx_SCR the same way for promise Ultra/66 & Ultra/100,
this special setup seems to break some adapters.
Reported by Kazushi Marukawa.
2001-03-20 17:56:46 +00:00
bouyer
df43ec1064 Add BUS_DMA_STREAMING for the data bus_dmamap_load(). 2001-03-20 17:54:39 +00:00
reinoud
d7858fb571 Add RiscPC (arm32) keyboard. It basicly returns AT scancodes but since it has to
use a seperate keyboard driver (pckbdc not available) i cant guarantee that it is
100% compatible with AT scan codes
2001-03-20 15:51:18 +00:00
pk
4cefebdf8d Fix fall-out from previous change: the map's DMA address is valid only
after bus_dmamap_load().
2001-03-20 15:39:20 +00:00
ad
056ea0d17a +#include <dev/i2o/iopio.h> 2001-03-20 13:21:00 +00:00
ad
ef80e73a4e Split limits and ioctl defs out of iopvar.h. 2001-03-20 13:02:25 +00:00
ad
ebf5110997 Major update; basically, improve performance somewhat and play nicer with
Intel and AMI IOPs. There still exists one nasty problem with Intel adapters
when under load, which I'm working on.
2001-03-20 13:01:48 +00:00
mrg
b10a79d548 regen 2001-03-20 00:41:19 +00:00
mrg
f921de978d add sun device ids found on sunblade1000 systems. 2001-03-20 00:39:12 +00:00
bjh21
b4d35ec9a7 ei(4) is now MI, in a limited sense at least. 2001-03-20 00:15:26 +00:00
bjh21
90567f2deb Quick hack to pull in podulebus.h for the current architecture.
This should be done better (probably with <machine/podulebus_machdep.h> later.
2001-03-19 23:59:33 +00:00
bjh21
66261e4fd6 Shared arm26/arm32 version of arm26 Ether1 driver. Seems to work on both
architectures.
2001-03-19 23:58:12 +00:00
jdolecek
3dfa223aa3 Stylistic nit - don't use mca_devinfo(), print the info directly, we know
what we are attaching.
2001-03-19 22:33:35 +00:00
jdolecek
8a2d4dc652 regen 2001-03-19 22:24:17 +00:00
jdolecek
198b90eb12 Add entry for ATI AT1720T, another card I've got from David Brownlee. 2001-03-19 22:23:58 +00:00
jdolecek
e6d6148e4d regen 2001-03-19 22:20:30 +00:00
jdolecek
4f0e120ebb Add couple of Computone products; I looked up ADF for 0x61f3 (which
I am owner of) and found couple others as well.
Mark 3c529-type cards and IBM Internal modem for inclusion in mcadevs.h.
2001-03-19 22:20:05 +00:00
jdolecek
40d893a3f7 remove bogus ef entry 2001-03-19 21:58:09 +00:00
jdolecek
1c341b3d49 Provide MCA com(4) attachment. Tested with IBM Internal modem, kindly
donated to me by David Brownlee <abs@anim.dreamworks.com>.
2001-03-19 21:56:43 +00:00
ichiro
89063179ad enable I-O DATA WN-B11/PCM wlan card with WEP
reported by Shingo WATANABE <nabe@nabechan.org>
2001-03-18 21:13:12 +00:00
ichiro
7c7a848854 regen 2001-03-18 21:12:01 +00:00
ichiro
6fb0c29aed add product I-O DATA WN-B11/PCM wlan 2001-03-18 21:11:30 +00:00
bjh21
e6a3d0d5c9 Move generated files from sys/arch/arm32/podulebus to sys/dev/podulebus. 2001-03-17 20:32:00 +00:00