mjacob
38f6ada8b6
Add SDRETRIES and SD_IO_TIMEOUT option for sd.
2001-05-22 18:58:15 +00:00
thorpej
607b14bf7b
Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.
2001-05-22 16:58:23 +00:00
thorpej
a888f6ef73
If the cache line size in the BHLC register is not configured,
...
then clear the MRL/MRM/MWI command-ok flags when attaching a
device.
2001-05-22 16:10:44 +00:00
soren
79859fb138
Regen.
2001-05-22 16:07:56 +00:00
thorpej
6e2bc5b352
Enable the PCI MWI command for memory writes on the i82558 and
...
higher.
2001-05-22 16:05:01 +00:00
soren
b16ba1d8cd
Add i82562ET id.
2001-05-22 16:04:27 +00:00
thorpej
188e0d6625
Some changes from the new FreeBSD `fxp' driver:
...
- Add some additional config block bits for the i82558/i82559.
- Change the config block template to only fill in the must-be-one
reserved bits, leave fxp_init() to fill in all the important things.
- On the i82558/i82559, we can use "Receive Long Frames" rather than
"Save Bad Frames" to support the VLAN MTU.
- Use 802.3x flow control on the i82558/i82559. This is all handled
transparently by the hardware. When in promiscuous mode, allow
wire-watchers to see the flow control frames.
- Use the Extended TxCB format on the i82558/i82559. This places two
Transmit Buffer Descriptors directly in the TxCB, which should cover
the vast majority of packets transmitted. This saves PCI transactions
that would otherwise be required to fetch the TBD list.
With the tansmit queue length changes from yesterday, this gets us up to
11.5MB/s TCP transmit speed, out of an absolute maximum of 12MB/s possible
on a 100Mb/s link.
2001-05-22 15:29:30 +00:00
bouyer
2a604875d6
Remove one extra byte from scsipi_mode_select; pointed out by Juergen
...
Hannken-Illjes.
2001-05-22 15:14:24 +00:00
augustss
e25bf167a1
Regen.
2001-05-22 10:43:15 +00:00
augustss
f43e2c6ba1
Add Scanjet 4300.
2001-05-22 10:38:56 +00:00
thorpej
a5a03e13dd
Report 82558, 82559, etc. based on chip revision. Also, remember which
...
revsion we have for feature enables later.
2001-05-22 01:23:25 +00:00
jhawk
4af61a686a
oops. Make it compile.
2001-05-22 00:43:12 +00:00
jhawk
b5805fa0c8
Sigh. Regen correctly.
2001-05-22 00:41:52 +00:00
thorpej
611e112566
A little slight cleanup.
2001-05-22 00:27:01 +00:00
jhawk
7a31dfa328
Supoprt the IOGEAR/ATEN UC-232A, which uses the Prolific 2303.
...
Make this the "PRODUCT_PL2303" because it's actually id 0x2303
and change the old PRODUCT_PL2303 to PRODUCT_RSAQ.
2001-05-22 00:18:03 +00:00
thorpej
fb4607ec45
Add some additional register definitions, from FreeBSD.
2001-05-22 00:07:32 +00:00
thorpej
0064d69faf
Re-arrange the transmit control data somewhat so that we can
...
use the extended TxCB format (that change will happen later).
2001-05-21 23:58:44 +00:00
minoura
92d92b1cb2
Correct an easy mistake in initializing gain registers.
...
This will fix the L-R imbalance.
Suggested by Ryo HAYASAKA <ryoh@jaist.ac.jp>.
2001-05-21 23:55:04 +00:00
thorpej
65ac078927
Sigh, typo in last.
2001-05-21 23:21:27 +00:00
thorpej
00f922fa70
Change NTXSEGS from 16 to 8, and the TXQUEUE len from 128 to 256. Also
...
increase the number of Rx buffers from 64 to 128.
These mirror some performance tweaks made to the sip(4) driver.
2001-05-21 22:20:31 +00:00
thorpej
afdab0cab8
The ICH3 also has the Resume Bug.
2001-05-21 22:12:08 +00:00
thorpej
a0f9e3c6fb
Regen; add ICH3 network controller IDs.
2001-05-21 22:11:31 +00:00
thorpej
6b51adfbff
Add ICH3 network controller IDs.
2001-05-21 22:11:06 +00:00
thorpej
d84e2452ea
Fix non-fatal typo -- CB_NOP -> CU_NOP in the ICH work-around (they
...
have the same value).
2001-05-21 21:49:51 +00:00
thorpej
b4538a0165
The 82801BA built-in Ethernet has a bug which requires us to
...
issue a NOP before a CU_RESUME when in 10baseT mode. Handle
this.
2001-05-21 21:47:52 +00:00
thorpej
e7a0ef6145
ANSI'ify.
2001-05-21 20:59:38 +00:00
jhawk
ecb3a30463
add $NetBSD$
2001-05-21 20:47:13 +00:00
mjacob
3462fe5d99
Remove reference to adapter_q in scsipi structure. Comment about the
...
usage of channel_q.
2001-05-21 15:50:46 +00:00
ichiro
598241f757
add product COREGA FEther-PCC-TXF
...
kern/11357 and report from goro@venus.dti.ne.jp
2001-05-21 13:48:25 +00:00
ichiro
fd7d5008e8
regen
2001-05-21 13:45:10 +00:00
ichiro
4108bc4645
add product COREGA FEther PCC-TXF
2001-05-21 13:44:48 +00:00
christos
2ed6d9dbf7
PR/12991: Dave Huang: DVD ioctls don't work because we send the wrong size
...
CDB (16 instead of 12).
2001-05-20 21:07:58 +00:00
bjh21
86e12294cd
Add Multi-media/Ethernet card from Irlam.
2001-05-20 21:07:06 +00:00
bjh21
65165c3deb
16-bit podules I acquired at Wakefield:
...
- Added SJ Research Nexus
- Note HCCS use same ID for IDE and SCSI cards
- Update Castle EtherSCSI entry
2001-05-20 20:40:19 +00:00
ichiro
cb675810e0
add more comment about firmware of EVAL-CARD.
2001-05-20 13:14:54 +00:00
ichiro
c13971f816
chenge chip and card identity,
...
print RF-chipset, Medium Access Controller(MAC) and CARD-identity
2001-05-20 12:57:57 +00:00
ichiro
309a9b433c
delete RCS Id from pcmciadevs rev 1.128
2001-05-20 10:47:50 +00:00
ichiro
3b35709de7
make compile again
...
(fix warning : missing white space after `#define....)
2001-05-20 09:54:47 +00:00
ichiro
a2dd9d529f
regen
2001-05-20 09:16:14 +00:00
ichiro
caed7fa236
add vendorID National Instruments
...
add productID PCMCIA-GPIB
2001-05-20 09:15:54 +00:00
soren
281f1795a4
Add TI 1410 to yc_chipsets[].
2001-05-19 19:46:08 +00:00
tsutsui
3d863329cc
space/TAB cosmetics
2001-05-19 12:04:07 +00:00
is
5c9dc5b0d0
When abusing structs to describe on-wire (or in-hardware) data structures,
...
they need to be packed. (Without this, breaks on at least m68k.)
2001-05-18 21:11:43 +00:00
enami
e4334b830d
Don't capitalize the word sync or async. It's inconsistient with other
...
messages.
2001-05-18 16:25:07 +00:00
enami
d5338ae90e
Regen.
2001-05-18 15:35:49 +00:00
enami
679f6a1a54
Add product IDs of internal devices found in NEC VRC4173 and vendor/product
...
ID of MediaQ MQ200.
2001-05-18 15:35:19 +00:00
bouyer
8aa2f73d43
Enable tagged queuing again; should work now with scsipi_base rev 1.42
2001-05-18 12:57:42 +00:00
bouyer
8b5bf22895
Workaround for broken drives (explained to me by Chris G. Demetriou):
...
some devices can't handle tag number larger than some values and always
reject commands with QUEUE FULL if the tag number is larger than this.
Under some circonstances the scsipi system may not decrease periph_openings
(as a workaround of other odd behavior) and we may end up requeuing the command
with a hight tag value again, and the driver could loop on this.
Workaround: in case of queue full, decrease periph_openings to
min(periph_active - 1, periph_openings - 1) so that, after some iteration,
periph_openings is less than the max tag value acceptable by the device.
Solves the problem with tagged queuing on ncr53c9x for me.
2001-05-18 12:56:28 +00:00
fredette
d76bcda838
Fixed some typos, removed unused asm() labels. Removed
...
the DMA map creation, now the bus glue does this.
2001-05-18 12:51:58 +00:00
drochner
3df4a7a4a8
do this console device lookup thing the right way this time
...
(This "dev" argument to the console functions is nonsense - nothing
should depend on it.)
2001-05-18 11:49:21 +00:00
jhawk
4601552595
Regen
2001-05-18 06:14:40 +00:00
jhawk
6f032f45b3
Support the Socket EA pcmcia ethernet (ne). It's ooooold.
2001-05-18 06:05:52 +00:00
thorpej
f1f78293df
- Add some instrumentation which can be enabled by defining
...
SIP_EVENT_COUNTERS.
- Decrease SIP_NTXSEGS to 8 and increase SIP_TXQUEUELEN to 256.
This gives us 256 transmit jobs with only twice the descriptor
memory footprint. This prevents stalling transmissions due to
lack of transmit jobs under heavy load.
- Increase SIP_NRXDESC to 128 so we don't run out of receive descriptors
under extreme load.
- As recommended by the manual, leave one descriptor in the transmit ring
with OWN clear to prevent wrap-around.
- Even though the manual claims that driver software must initialize
TXDP if there are no pending transmissions when a new transmission
is to be initialized, doing so causes serious performance degredation
on the DP83820 under heavy load. Not initializing TXDP also increases
performance on the DP83815.
All of this gets us up to ~90Mb/s on both the DP83820 and DP83815 when
connected to a 100base network.
2001-05-18 04:38:30 +00:00
thorpej
dbdf3820d8
Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
...
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.
2001-05-18 02:03:53 +00:00
bouyer
7ddcb8122d
SDEV_DB -> SCSIPI_DB
2001-05-17 20:02:56 +00:00
drochner
bc8eda57c9
increase the delay after PHY reset - it seems that mii register accesses
...
can fail if attempted too soon after reset
2001-05-17 19:00:18 +00:00
drochner
199e9f8164
regen
2001-05-17 17:39:30 +00:00
drochner
10aff2d3f0
argh - the OUI of PMC-Sierra is 00-e0-04, according to IEEE.
...
They managed to mess it up in a new way.
2001-05-17 17:39:00 +00:00
drochner
c1f451f54d
regen
2001-05-17 17:37:01 +00:00
drochner
2e9334d53e
add some stuff I got between my fingers
2001-05-17 17:36:30 +00:00
drochner
c1617a9b13
check PCI subsystem ID for a SMC9432BTX1 or SMC9432FTX and tell the common
...
driver about their media support (BNC and 100FX, respectively)
2001-05-17 17:35:13 +00:00
drochner
323adb5a41
support BNC interfaces (serial mode) as on the SMC9432BTX and 100FX
...
on the SMC9432FTX
2001-05-17 17:32:47 +00:00
drochner
1ea0cb1ea4
support the fiber output of the PHY device, enabled if the MIIF_HAVEFIBER
...
flag is passed in from the board driver
2001-05-17 17:29:54 +00:00
drochner
002851041c
re-enable mii_flags in attach args - I've found a use for it: tell the
...
PHY which support it that a fiber interface is present
2001-05-17 17:28:21 +00:00
ichiro
0fcd8f3c7f
regen
2001-05-17 13:15:47 +00:00
ichiro
8f8e3e808f
add products
...
Intel PRO/Wireless 2011 LAN PC Card
2001-05-17 13:14:19 +00:00
drochner
5e1115908d
Revert previous change; this breaks for the old controllers which 1.6
...
should help for. Instead, weaken the "echo" test: don't insist in
getting the same value back which was written.
2001-05-17 10:48:39 +00:00
scw
d1bc67e029
In osiop_scsidone(), call scsipi_done() even for polled operations.
...
This fixes a `hang' on shutdown when the `Synchronise Cache' command
is sent to a disk. (It uses polled mode because it is called from inside
a shutdown hook).
2001-05-17 10:35:30 +00:00
jmc
c2b5ec5220
Add a few nits. Hubs seem problematic on resets sometimes.
...
Also, make sure fwohci can detach cleanly (for cardbus).
2001-05-17 05:30:37 +00:00
chs
bcc2ce4f8c
give sunkbd and sunms a "poll" routine.
2001-05-17 02:24:00 +00:00
mjacob
90cabee3fb
Per helpful suggestion from LukeM- make INLINE usage consistent (and
...
use correct __inline format).
2001-05-16 21:41:52 +00:00
jdolecek
8e532c1ad1
Make sure to allocate big enough mbuf data area before elevating
...
interrupt priority, to avoid allocating additional mbufs on
splsched(). Move some other misc bits out of splched()-guarded
section. This should make the code a bit more friendly wrt e.g.
clock interrupts. Sligh performance improvement was observed with
this change (like 1-2% on slow machine), even.
This also fixes ancient kern/2478 by Bill Sommerfeld.
2001-05-16 20:30:52 +00:00
ichiro
8a78799bf4
support BUFFALO AirStation WLI-PCM-S11
...
this card are PRISM2.5 card.
2001-05-16 14:33:21 +00:00
ad
c6da2452c0
Put back /usr/include/dev/tc/sticreg.h.
2001-05-16 13:48:52 +00:00
ichiro
25221c413e
regen
2001-05-16 12:57:55 +00:00
ichiro
4c575cc65b
add product
...
BUFFALO AirStation 11Mbps WLAN Card
2001-05-16 12:57:27 +00:00
tsubai
eef5fa50d3
Big-endian support.
2001-05-16 10:45:36 +00:00
ichiro
15833cae3b
add prism chip identity, Prism2 with SST flush.
2001-05-16 07:53:28 +00:00
lukem
ff47810d07
fix previous delint
2001-05-16 06:29:01 +00:00
lukem
c15945130c
delint: remove unnecessary assignment to same objection (hidden in #define)
2001-05-16 04:50:11 +00:00
lukem
be493349d2
delint: zero sized array initalisation is a gccism
2001-05-16 04:39:03 +00:00
lukem
927097774a
delint: remove volatile from fxp_mdi_read() decl
2001-05-16 04:20:55 +00:00
mjacob
b81e69fa8e
beginning basic 2300 infrstructure support
2001-05-16 03:58:34 +00:00
mjacob
9f2c2c7a8c
Keep up with the Joneses.... further synchronization for the eventual
...
implementation in NetBSD for target mode.
2001-05-16 03:58:03 +00:00
mjacob
73eba1a839
Long overdue- put locks on the usage of the mailbox command stuff. This
...
keeps us from stomping on ourselves.
Say we're in the middle of re-evaluating a loop (and sleeping) when a
command completes, or a timer refires, and this *other* thread decides
*it* wants to start re-evaluating the loop. Bad news.
We have to be a bit careful- if we can't acquire the MBOX semaphore at
interrupt level, we will simulate a host interface error. This is a bit
of a temp workaround. There's some work underway driven by a NetBSD
commercial user that will try and force most mailbox stuff into a
part A/part B interrupt driven model.
2001-05-16 03:55:15 +00:00
mjacob
a1dd9d78ee
It's 'role None', not 'role No'.
...
Also, pay attention to the difference in the ISPASYNC_CHANGE_NOTIFY
between loop and fabric changes.
2001-05-16 03:52:10 +00:00
ichiro
9a3074ffce
cosmetic change.
...
change version format: <major>.<minor> variant <num>
2001-05-16 02:36:37 +00:00
matt
91d9961f24
Regen
2001-05-15 23:18:16 +00:00
matt
75d77bf185
Add OUI for PMC-Sierra. Add BCM5221 Phy. Add PM8351 Phy.
2001-05-15 23:17:48 +00:00
matt
f5d9baae2f
Note that extended status is in register 15
2001-05-15 23:16:40 +00:00
christos
6ae38c2f7a
Try the kbc_auxtest if the random write/read to the aux port fails (it returns
...
0xfe on my gateway 2000 circa 1993). That should not affect broken controllers
that choke on the kbc_auxtest, because for those the write/read test succeeds.
2001-05-15 22:01:07 +00:00
thorpej
c2ffdccb2b
Regen; Add National Semiconductor DP83861 1000baseTX PHY.
2001-05-15 21:37:33 +00:00
thorpej
8fd542b023
Add National Semiconductor DP83861 1000baseTX PHY.
2001-05-15 21:37:04 +00:00
lukem
d62b92e0f7
delint: () protect some macro args
2001-05-15 15:41:27 +00:00
lukem
889762fbcf
delint: need ; between case label and }
2001-05-15 15:25:04 +00:00
lukem
e3134697e1
delint: remove comments from macro args; confuses cpp/lint
2001-05-15 15:06:23 +00:00
lukem
09ba301f07
delint: () protect some macro args
2001-05-15 15:00:04 +00:00
lukem
9bef152bd7
delint: need ; between case label and }
2001-05-15 14:57:49 +00:00
lukem
0b6a1eb95a
delint: () protect some macro args
2001-05-15 14:37:36 +00:00
lukem
d3e16de232
delint: need ; between goto label and }
2001-05-15 14:30:24 +00:00
lukem
b6b83e2ec3
delint; use MAX(sizeof(..),sizeof(..)) instead of max(...) for array size
2001-05-15 14:03:27 +00:00
lukem
13a9902fc6
delint: can't have an empty case item at the end of a switch; need a ; at least
2001-05-15 13:53:20 +00:00
ad
ae0203ee27
Correct arguments to bus_dmamap_create(), and add a reset routine for the v3
...
interface.
2001-05-15 12:49:37 +00:00
ichiro
0071e88a8c
fixed mistake.
...
major version and minor version were made reverse.
2001-05-15 11:45:50 +00:00
ichiro
08d33f4cc0
Fix indentation in recent commit.
2001-05-15 09:06:15 +00:00
ichiro
4afb07bd12
getting prism2 firm ver routine to wi_get_id().
...
if firm ver is more than 0.8c3, promiscuous mode is off.
typo WI_RID_STA_IDENEITY -> WI_RID_STA_IDENTITY
2001-05-15 09:01:27 +00:00
jmc
0aae41bf84
Clean up comment about unregistering callbacks
2001-05-15 06:54:07 +00:00
jmc
c3967bca55
Various small changes.
...
Clean up one bug in a DPRINTF in arrs_input which could panic on some packets.
Gut the ack/response functionality and clean it up so all packets get checked
correctly and the abuf struct isn't used once the ab_cb has happened (there
still could be ack packets waiting to be processed at that time).
Finally, add some documentation explaining read/write/inreg and their
purpose/argument calling.
2001-05-15 06:52:30 +00:00
jmc
d91da495a9
Back out last change until I get fwohci rototilled better for checking the ack bits. Makes things compile again.
2001-05-15 06:30:30 +00:00
ichiro
caa399b739
WEP cannot be used when Prism2 Firm version is lower than 0.8.3.
...
Although WEP is used in Windows also in an old firm,
because WEP is processed by the windows driver side.
If Prism2 Firm version is more than 0.8.3, WEP does work without 'Promiscuous ON'.
2001-05-15 04:27:22 +00:00
kanaoka
4d4231d0e9
Add support for "Corega FEther CB-TXD".
...
kern/12709: from Yamashiro Jun <j99060@ie.u-ryukyu.ac.jp>.
2001-05-15 04:26:23 +00:00
kanaoka
b003ab3d9c
Regen.
2001-05-15 04:25:12 +00:00
kanaoka
0f5babc5cb
Add product "Corega FEther CB-TXD". Modified from kern/12709.
...
from Yamashiro Jun <j99060@ie.u-ryukyu.ac.jp>.
2001-05-15 04:24:28 +00:00
ichiro
2970b99ac9
It enabled it to control roaming mode and authentication mode.
...
Roaming mode can change value into 'firm mode' and disable.
Authentication mode can change into 'Open System authentication'
and 'Shared Key Authentication' with Prism2 chip.
wi_get_id() was introduced in order that chip might judge automatically
whether it is Prism2 chip. Therefore, a pp_prism2 entry in
"struct wi_pcmcia_product" became unnecessary.
2001-05-15 04:14:06 +00:00
thorpej
38c798fe9f
Encapsulate name declarations in macros in preparation for adding
...
conditionally-compiled code for the DP83820.
2001-05-15 03:06:21 +00:00
thorpej
edfd12a9b1
Define the register/descriptor differences between the DP83815 and the
...
DP83820. The DP83820 definitions are wrapped in #ifdef DP83820, since
there are enough differences that a single binary object would not be
able to efficiently drive both the DP83815 and DP83820.
2001-05-15 02:19:05 +00:00
thorpej
bdb6ea6ecc
Regen; added DP83820 Gigabit Ethernet chip.
2001-05-14 22:37:24 +00:00
thorpej
285931ff50
Add product ID for the National Semiconductor DP83820 Gigabit Ethernet
...
chip.
2001-05-14 22:36:06 +00:00
matt
2573405952
Add latent vendor entries for ServerWorks and Winbond IDE controllers.
...
No code to use them as yet.
2001-05-14 20:41:27 +00:00
bouyer
bc980d7eba
Use SCSI/ATAPI common definition for MODE_{SELECT,SENSE}{,_BIG}. Define
...
functions to send theses commands in scsipi_base.c and use them instead
of ad-hoc commands setups.
2001-05-14 20:35:27 +00:00
jdolecek
85c02ac331
epintr(): eliminate write-only variable 'addrandom'
2001-05-14 09:28:49 +00:00
jdolecek
6ff7de5716
remove unneeded #includes, fix typo
2001-05-14 08:01:23 +00:00
jdolecek
1f7c685ce3
remove //-commented debugging stuff
2001-05-14 07:35:33 +00:00
jdolecek
497bb809df
do not use the synchronous read mode for MCA 3c529
2001-05-14 07:03:50 +00:00
jmc
61ca5f641b
Remove ackcb. It's a duplicate of existing functionality.
2001-05-14 06:51:36 +00:00
jmc
98139fa8b9
Make sure and zero out the malloc'd abufs before using them.
2001-05-14 05:46:41 +00:00
ichiro
7f2de75450
Corega FEther PCC-TXD works fine.
2001-05-14 01:44:42 +00:00
ichiro
9a107674e5
regen
2001-05-14 01:43:42 +00:00
ichiro
70f4199532
add product Corega FEther PCC-TXD
2001-05-14 01:41:16 +00:00
jdolecek
2cd8833615
Change the comment about sucky performance to recommendation to remove
...
DIAGNOSTIC/DEBUG from the kernel. This helped to boost the performance
on my test machine from ~5KB/s to like 800KB/s for ftp test, and
to like 700KB/s for netio test. I wouldn't have imagined the options
are THAT costly ....
2001-05-13 20:43:04 +00:00
ragge
9654c235a7
Note TS11 (ts).
2001-05-13 15:34:25 +00:00
ragge
59b29023fd
Update the TS11 driver to useable state.
...
Thanks to Michael Kukat for providing a machine to test this driver.
2001-05-13 15:32:40 +00:00
ragge
f66126b9f0
Moved from sys/arch/vax/uba/.
2001-05-13 15:30:10 +00:00
ragge
637bffc245
Add bus type to softc.
2001-05-13 15:23:37 +00:00
jmc
3790f44eac
Add a retries counter to abuf
2001-05-13 05:02:08 +00:00
jmc
880b3e6a6f
Add locators support
2001-05-13 05:01:42 +00:00
jmc
a3263e073a
Turn off PCMCIADEBUG by default. This should get set with options in a config file
2001-05-13 04:24:51 +00:00
jmc
95cc3bf342
Turn off PCMCIACISDEBUG by default. This should get set with options in a config file
2001-05-13 04:24:28 +00:00
jmc
6cf92c7dba
Turn off PCMCIADEBUG by default. This should get set with options in a config file
2001-05-13 04:23:46 +00:00
christos
6f62797262
Don't leak memory in case of a realloc failure.
...
Reported by: grendel@heorot.stanford.edu (Ted U)
2001-05-12 19:18:57 +00:00
jmc
bfd7dcb931
Add first pass generic ack callback code (to eventually replace mbuf specific code).
...
Change ab_node's to ab_req.
Fix a bug where setting BIBValid on OHCI 1.0 chips (this is a reserved bit
on 1.0)
2001-05-11 06:10:44 +00:00
jmc
29499573cd
Change ab_node's to ab_req.
...
Use read/write instead of input/output.
Fix a bug in attach where the abuf wasn't getting zero'd out.
2001-05-11 06:09:01 +00:00
jmc
5bf1559a64
Rename input/output to read/write to match ieee1394var.h
2001-05-11 06:07:40 +00:00
jmc
2d235c864f
Add some notes
2001-05-11 06:07:02 +00:00
jmc
b4974f0526
Add first pass of generalized hooks for packet completion (i.e. ack) codes. This will eventually replace the mbuf code when it moves back to if_fw.c where it belongs.
2001-05-11 06:06:03 +00:00
jmc
6dc32302f3
Add mask for getting the ACK bits out of the status area of a DMA context descriptor
2001-05-11 06:04:49 +00:00
jmc
b7d6b60f87
Change abuf to include both requestor and responder softc's (for dealing with requests from other nodes later).
...
Add a callback so the ACK bits can be looked at if wanted.
Change the input/output pointers to proper proto's and rename to read/write.
2001-05-11 06:03:55 +00:00
jmc
32a67a12cd
Remove extraneous prototype
2001-05-11 06:00:17 +00:00
matt
0f8a2c610f
Add MI cprofb (used on shark and netwinder)
2001-05-11 04:47:55 +00:00
thorpej
240de9a426
Definitions for the Dallas Semiconductor DS1286/DS1386 Real Time Clock.
...
From Rafal K. Boni.
2001-05-11 02:07:09 +00:00
thorpej
18e25d5feb
Add a flag to suppress SCC reset at attach time.
...
From Rafal K. Boni.
2001-05-11 01:40:48 +00:00
fvdl
ba2882488a
Despite what the hardware docs say, the global reset command is not
...
done when the command-in-progress bit has been cleared. The 1ms
time that is mentioned also seems wrong; 20,000us is not enough
on at least one machine. So, do a delay(100000) in ex_reset.
Fortunately, this function is only called when the card is
attached or when hardware failure is suspected.
While here, only mask one 1 bit in the 'reset hack' case.
2001-05-10 22:57:44 +00:00
ad
8aad07ad6a
Add missing printf().
2001-05-10 09:41:19 +00:00
augustss
59f85c4e3e
Ansify a function I forgot last time.
2001-05-09 19:33:07 +00:00
thorpej
6300e455b4
Make sure `bhlc' is initialzed before we consult it to determine
...
the number of functions on the card.
2001-05-09 18:16:39 +00:00
tsutsui
330ab2b636
Print a clock frequency of the chip.
2001-05-09 16:24:43 +00:00
augustss
94b7017e7f
Point out where the documentation is wrong.
2001-05-09 12:08:44 +00:00
augustss
f82cb49523
Add FireWire OHCI controller on Cardbus.
2001-05-09 12:07:40 +00:00
augustss
7ac3b0b5a9
Ansify.
2001-05-09 12:07:01 +00:00
augustss
c37a0f8fb8
Fix grammaer in error message.
2001-05-09 12:06:25 +00:00
uch
ecdf760718
fix locking problem of event queue access.
2001-05-08 17:23:09 +00:00
ichiro
09858f6fc8
change promisc mode in case of SIOCSIFFLAGS of wi_ioctl.
...
Fix indentation.
2001-05-08 16:42:49 +00:00
uch
dbb7276f40
fix RCS Id.
2001-05-08 14:46:06 +00:00
ichiro
1480c8fae2
delay(10) is too much enough for command waiting routine.
2001-05-08 13:42:04 +00:00
lukem
a9bf1b0410
delint
2001-05-07 08:15:41 +00:00
ad
3db21b039c
We map in by MLX_EISA_SLOT_OFFSET, so remember that when accessing the
...
IOCONF registers. Pointed out by thorpej.
2001-05-06 20:34:41 +00:00
fvdl
8311862915
Add amd766 support. Rename some variables to 7x6 now that it supports
...
both 756 and 766.
2001-05-06 20:06:35 +00:00
ad
ae9cc4fa8a
Add an (untested) EISA front-end for the `mlx' driver.
2001-05-06 19:54:59 +00:00
ad
95450fbced
Make provision for resetting the board at start-up.
2001-05-06 19:53:04 +00:00
ad
d4d6497c45
Regen.
2001-05-06 19:44:14 +00:00
ad
0c528fcfc0
Add some Mylex products.
2001-05-06 19:43:54 +00:00
drochner
06fc2f85cc
Since __HAVE_OLD_DISKLABEL, DISKMINOR(u, p) isn't continuous over "p"
...
anymore. So we can't pass a range to vdevgone() but have to loop over the
partitions explicitely.
(otherwise the next device unit will be killed)
2001-05-06 18:30:56 +00:00
ragge
fda35ea62c
Add dmc.
2001-05-06 17:38:36 +00:00
ragge
816247df06
Add il, dmc, ts and if_uba.
2001-05-06 17:37:52 +00:00
ragge
09a79adad2
Driver for the DMC-11/DMR-11 DDCMP interface, (untested) from 4.4BSD.
2001-05-06 17:36:04 +00:00
fvdl
9fce66b9a0
Regen.
2001-05-06 16:10:45 +00:00
fvdl
6e51539959
Add some IDs for the AMD760 chipset, as specified in the datasheet.
2001-05-06 16:09:38 +00:00
ragge
bb0a481471
Add il + ifuba.
2001-05-06 15:32:47 +00:00
ragge
7026635893
Driver for the Interlan NI1010 Ethernet Controller, from 4.4BSD.
2001-05-06 15:30:46 +00:00
ragge
93011fb5f6
Use if_uba + ether_ioctl routines. Removed ~150 lines of duplicated code.
2001-05-06 15:27:48 +00:00
ragge
9b9db3a6bd
Back from the dead, but now changed to use the bus_dma interface.
...
Still to do:
- ubaresets
- BDP handling
2001-05-06 15:21:44 +00:00
fvdl
9bf58a757b
Add missing break statement.
2001-05-06 14:32:35 +00:00
takemura
54d9a46bbc
Vrc4172 GPIO support. This device is currently configured on PenCentra 130.
2001-05-06 14:25:15 +00:00
hannken
3446a61cb3
Fix a typo from thorpej_scsipi merge. No-sense information with retval == 0
...
should only print if SCSIPI_DEBUG is defined.
2001-05-06 11:31:08 +00:00
ichiro
8bb5cfe6aa
divided into PCMCIA attachment and common code of wi.
...
since if_wi_ieee.h does not depend for pcmcia,
sys/dev/pcmcia/if_wi_ieee.h was moved to sys/dev/ic/wi_ieee.h .
2001-05-06 03:26:38 +00:00
bouyer
bef8b534cc
Now that we can do it, print "HPT366" or "HPT370" depending on PCI revision.
2001-05-04 18:38:36 +00:00
bouyer
7e9f9eaaa1
Better support for VIA chipsets: look at the product/rev ID of the ISA bridge
...
to guess the pciide capabilities, rather than trying to guess it by ourselve.
Add preliminary support for the 686b (Ultra/100) guessed from FreeBSD/linux
driver (datasheet not publically available, I contacted via).
Let chip-specific map routine do the autoconf printf if ide_name is NULL
(they may have more details about the controller than we have in pciide_attach)
2001-05-04 15:25:05 +00:00
bouyer
956a71c1c5
Add pci bus number to pci_attach_args, as suggested by Jason on tech-kern
...
(needed for pciide)
2001-05-04 15:13:17 +00:00
jdolecek
5b3932d176
Implement polled command mode, and use it for writing system dump
...
and for initial autoconf probes; the latter eliminates need for
deferred configuration (and makes dmesg a bit nicer).
g/c EDF_IODONE flag - protect against interrupt by calling tsleep()
at splbio in worker thread
g/c unneeded stuff, improve some autoconf messages
2001-05-04 12:58:34 +00:00
bouyer
27155d9a6d
Add an ATAPI front-end to the st driver. Completely untested for now,
...
but st at scsi should still work :)
2001-05-04 07:48:56 +00:00
ross
e3f2f91bfb
Split pci and eisa/isa attachment calls, plus misc cleanup.
2001-05-03 20:34:54 +00:00
fvdl
487447a9bf
Bump values of the number of up- and downlaod descriptors such that
...
saturating a 100Mbit link will not lead to running out of them.
2001-05-03 17:59:24 +00:00
hpeyerl
dcd7e604ed
Make weasel watchdog timer work reliably with help from <thorpej@zembu.com>
...
Remaining issues to deal with:
- recognize when watchdog timer is deactivated on the Weasel.
- deactivate weasel watchdog timer if we pop into ddb.
2001-05-03 17:55:47 +00:00
jdolecek
c58375dd6a
Well, 16us is certainly more than 500 nanoseconds, but 1us is too, right?
...
This change improves elmc performance to ~350KB/s on my 386DX,
which is better than even WD8003.
2001-05-03 11:17:36 +00:00
matt
893ab0ad39
export dec_boot.h
2001-05-03 05:26:08 +00:00
jmc
f29b37329e
Change to DPRINTF/DPRINTFN for debug output.
2001-05-03 04:42:11 +00:00
jmc
3aa56ffc5a
Retabify to correct style. Also, change to using DPRINTF interface for debug output.
2001-05-03 04:41:34 +00:00
jmc
4e54f2d907
Style police. Got the tab'ing correct
2001-05-03 04:37:43 +00:00
minoura
58b62ea0cf
Correct playing mu-law and linear.
2001-05-03 02:09:11 +00:00
minoura
ff3917c60f
Oops, it contained some debug code.
2001-05-02 13:34:33 +00:00
jdolecek
63a7c0b5ad
Add IBM SCSI Adapter support to the list - this is the last thing
...
I'm aware Linux MCA supports and NetBSD not
2001-05-02 13:32:21 +00:00
jdolecek
63958eee01
One item off TODO list - we check for MCA bus presence via bios call
2001-05-02 13:20:31 +00:00
minoura
af80ef9d9a
Add vs for x68k.
2001-05-02 13:01:19 +00:00
minoura
1a9388aa50
Software codec for Oki MSM6258 voice synthesizer.
...
Recording untested.
2001-05-02 12:53:31 +00:00
minoura
399af9e4a8
X68k built-in voice synthesizer supports 4bit ADPCM.
2001-05-02 12:49:41 +00:00
bouyer
90b27e80b9
Redo attachement of scsi/atapibus, so that atapibus at umass works again
2001-05-02 11:24:01 +00:00
scw
2963ff5c58
Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point
...
in each tty driver to indirect through it.
This allows tty line-disciplines to handle poll(2) system calls.
2001-05-02 10:32:08 +00:00
bouyer
6baecd7e87
Don't forget to init chan_bustype.
2001-05-02 10:31:41 +00:00
bouyer
28d47d8db3
Use same type for first field of struct ata_atapi_attach and struct
...
scsipi_channel, so umass has better chances of working on big-endian systems.
2001-05-02 09:47:45 +00:00
lukem
796f5b43a7
delint
2001-05-01 16:40:03 +00:00
jmc
4dbb3cf591
Add a few more items
2001-05-01 13:57:41 +00:00
toshii
43800774d5
Add hpcarm devices (sacc, sacom, sacpcic, saip, saost).
2001-05-01 12:44:40 +00:00
enami
37ed68b3e4
Avoid null pointer dereference.
2001-05-01 06:17:23 +00:00
enami
d483a2c9e2
Fix whitespace usage (fow now, previously existing code only just due to
...
my time shortage):
- Use 8 column for basic indent.
- Use 4 space for 2nd level indent.
- Use tab instead of 8 spaces.
- Don't put space before function call operator. That's unary operator.
- Wrap lines so that it fits in 80 columns.
2001-05-01 06:15:42 +00:00
jmc
5044375656
Wrap some variable definitions with #ifdef FW_DEBUG that only apply in debug mode.
2001-05-01 05:17:40 +00:00
jmc
f58c020bfc
Remove some one-off debug printf's
2001-05-01 05:17:08 +00:00
jmc
9625a01e94
Change to IPL_BIO
2001-05-01 05:10:30 +00:00
jmc
af20295c95
Extend ieee1394_abuf to include read/write operations cleanly.
...
Add ieee1394_attach_args
Add sc1394_configrom_len
Add list links for nodelists from parent bus.
2001-05-01 04:48:11 +00:00
jmc
370ee1f0f0
Add a 64bit version of CSR_BASE
2001-05-01 04:48:10 +00:00
jmc
59c9536fe4
Add proc struct for kthread, interrupt handler flags, and nodelist
2001-05-01 04:48:10 +00:00
jmc
06dd6e0f40
Extensive changes from fwnode integration
...
Move interrupt routine to simply updating state flags and ack'ing interrupts
Move main processing into kthread
Change IPL level to IPL_BIO and try not to hold splbio very much if at all.
Add baseline support for attaching/detaching/updating fwnode's.
Start adding higher level API which isn't tied to if_fw/mbuf's
2001-05-01 04:48:10 +00:00
jmc
b44a25d8d6
Initial checkin for fwnode code. Needs extensive cleanup
2001-05-01 04:48:10 +00:00
jmc
cd6ceaf2cd
Put in the structure for fwnode/fwscsi
2001-05-01 04:48:10 +00:00
jmc
59bde215a7
Initial checkin for fwnode support
2001-05-01 04:46:23 +00:00
jmc
46ebed2ee8
Initial checkin for fwnode support
2001-05-01 04:19:20 +00:00
jmc
b2230effa3
Doesn't need fwohci include's. Change struct device to ieee1394_softc.
2001-05-01 04:18:29 +00:00
takemura
a8304325bf
Fix 'busname' to attach nodes correctly.
2001-05-01 00:25:16 +00:00
thorpej
d3a64bd0d8
Add code to recognize and set media on GMII (Gigabit MII) PHYs.
...
802.3 doens't specify ANAR or ANLPAR bits for GMII. Need to
use PHY-specific registers for this, for now, which means we
need specific drivers for the Gigabit-capable PHYs (I think the
most common is the BCM5400).
2001-04-30 19:49:08 +00:00
thorpej
63604adafa
Add a bunch of Gig-E definitions.
2001-04-30 19:21:03 +00:00
bouyer
19b0c05827
Ops, don't forget to increment li->used for each tagged command.
2001-04-30 13:58:32 +00:00
bouyer
2cc0fbbe14
remplace /*
...
*/
with
#ifdef notdef
#endif
to avoid:
../../../../dev/ic/hmereg.h:275: warning: `/*' within comment
2001-04-30 12:22:42 +00:00
takemura
26b0905dd0
Machine independent GPIO interface.
2001-04-30 11:42:17 +00:00
takemura
4ca3c858b6
Copy of sys/arch/hpcmips/vr/button_vrgiu.c.
2001-04-30 10:10:18 +00:00
takemura
c732b45553
Copy of sys/arch/hpcmips/vr/pwctl_vrgiu.c.
2001-04-30 10:09:14 +00:00
jmc
1a5e77115a
Place holder until real fwscsi code is fleshed out.
2001-04-30 09:06:27 +00:00
jmc
dfc69462fd
First pass at the overall TODO list. Some of these may come off before I get the full code checked in even
2001-04-30 09:05:40 +00:00
jmc
98182717b8
Rework implementation notes/ideas with a more fleshed out example.
2001-04-30 09:02:38 +00:00
tsutsui
00085e9fc8
Add MI osiop.
2001-04-30 04:53:41 +00:00
tsutsui
0ceded7d3b
Generated from osiop.ss rev. 1.1:
...
Initial compiled script for 53c710.
2001-04-30 04:49:57 +00:00
tsutsui
613923b42e
Add a MI driver for the Symbios/NCR 53c710 SCSI controller.
...
This is based on amiga's siop driver, but converted to use
bus_space(9) functions and modified to fit bus_dma(9) framework.
Currently tested on NetBSD/arc with jazzio 53c710 SCSI,
which really requires bus_dma(9) functions :-)
Sync transfers and disconnect/reconnect are also working.
TODO:
- Test under more heavy load
- Clean up osiop_checkintr() hander
- Reorganize command queue and sync negotiation handling more suitable
for thorpej-scsipi mid-layer
- Re-think defered interrupt handling for amiga
2001-04-30 04:47:50 +00:00
lukem
b3b4a527b3
remove trigraph
2001-04-30 03:53:19 +00:00
lukem
5de219fbef
delint
2001-04-30 03:49:12 +00:00
lukem
c83fa97ec8
remove trigraph
2001-04-30 03:48:06 +00:00
lukem
52a1d62934
delint
2001-04-30 03:45:35 +00:00
lukem
786063e4da
use #if 0 rather than // or /* to comment out blocks of code
2001-04-30 03:43:09 +00:00
lukem
f863105161
remove some lint, including ansifying funcs
2001-04-30 02:55:08 +00:00
jmc
36d8e99d14
Cast args correctly to match format strings.
2001-04-30 02:49:04 +00:00
jmc
5a6772df26
Cast base correctly for format string.
2001-04-30 02:46:20 +00:00
lukem
9d02aae3a9
minor lint
2001-04-30 02:44:53 +00:00
lukem
85772a1cef
remove some lint
2001-04-30 02:34:58 +00:00
lukem
abf1970c82
delint newline in string
2001-04-30 02:17:55 +00:00
lukem
599ac910c6
this is _C_ not _C++_, and // is NOT valid in _C_
2001-04-30 01:34:04 +00:00
lukem
d2ac513298
remove some lint
2001-04-30 01:19:40 +00:00
christos
afdcbf7e55
Correct formatting. Put the port and the ethernet address in their own
...
line.
XXX: it is stupid that pcmcia_io_map() prints " port 0xNNN[-0xMMM]". This
makes the printing code confusing.
2001-04-29 20:12:01 +00:00
christos
3ae161c702
don't put a trailing comma in pcmcia_devinfo. All the drivers use
...
printf("%s\n", devinfo) and it looks stupid.
2001-04-29 20:10:24 +00:00
ragge
c3736bf111
Use ubmemalloc() for data structures. Remove unused vars. KNF.
2001-04-29 12:32:18 +00:00
tsutsui
b83fe1a852
Correct register address map for 53c710.
2001-04-29 11:20:44 +00:00
jmc
a2d52d0ed4
Add #define for 1394 ROM signature
2001-04-29 08:37:04 +00:00
erh
acc17cc823
Set the delta for the particular source so telling mixerctl to decrease the
...
volume (using --) adjusts it far enough to stick.
2001-04-29 02:47:25 +00:00
bouyer
1346d56311
- don't wait when called from interrupt context (basically this means we
...
can't sleep in HBA drivers)
- pool_get can fail, so return XS_RESOURCE_SHORTAGE instead of panic()
- don't try to bzero() a NULL pointer
2001-04-28 15:09:42 +00:00
augustss
e67bc465a2
Make it compile with DEBUG after SCSI changes.
2001-04-28 14:48:39 +00:00
tsutsui
862125c057
Don't forget to set XS_CTL_DATA_OUT (that was removed in previous).
2001-04-28 09:33:25 +00:00
thorpej
335ac52a5b
Use simple tags for read and write, unless B_ORDERED is set, in
...
which case we use an ordered tag.
2001-04-28 04:11:31 +00:00
bouyer
74b15b27a2
Don't forget to call psw_done() !
2001-04-27 21:36:58 +00:00
jdolecek
2758818d81
regen - SKNET cards
2001-04-27 18:04:14 +00:00
jdolecek
3367b801f2
Add driver for SKNET Personal and MC+ - AMD Lance 7990 based ethernet cards.
...
Both models tested and seem to be quite stable and fast.
Thanks to:
- Hans Hubner <hans@Huebner.org> for giving me the cards for testing
- Georg Klug of Syskonnect, who provided me with hw docs for these cards,
very promptly and willingly - I wish all vendors would be like this
- Alfred Arnold, Linux SKNET driver author, for giving me valuable Syskonnect
contact :)
2001-04-27 18:03:40 +00:00
jdolecek
b28d00fa02
Introduce mca_match_disabled() - this returns true if cards with particular
...
id should be handled even through it's marked as disabled in POS registers.
There are some cards which need this due to nonstandard hw design.
2001-04-27 17:52:51 +00:00
jdolecek
d66e548d92
Introduce mca_match_disabled() - this returns true if cards with particular
...
id should be handled even through it's marked as disabled in POS registers.
There are some cards which need this due to nonstandard hw design.
2001-04-27 17:11:45 +00:00
jdolecek
6589e65051
Don't panic if the memory size is "weird", but instead compute
...
reasonable transmit/receive buffer count.
This is needed for e.g. SKNET adapters, which use top 30 bytes of 16KB
memory to map registers and PROM and hence not all the memory is
available for buffers.
2001-04-27 17:08:02 +00:00
bouyer
af5fd4c7d8
Stopgap measure for PR kern/12762: cut the number of openings per device
...
to 16 or 4 (depending on capabilities of adapter), as it was before
thorpej_scsipi integration
Waiting feedback to known whenever the problem with openings set to AHC_SCB_MAX
existed before.
2001-04-27 14:49:11 +00:00
joda
55ffdd0e46
make this compile with the new scsi framework
2001-04-27 08:06:33 +00:00
ragge
a7d2fe8275
Use uballoc()/ubmemalloc() for data structure allocation.
2001-04-26 20:05:46 +00:00
ragge
6bfb730eba
Use ubmemalloc() to get mapped uba memory.
...
Only copy mbufs if there are more than two in a mbuf chain (on transmit).
This squeezed another 5% out of the DEUNA. (now closing up to 100 K/s :-)
2001-04-26 19:36:07 +00:00
ragge
014984b747
Add functions to allocate mapped-in qbus memory.
2001-04-26 19:16:07 +00:00
thorpej
596cc0bc10
Cast the config block buffer to (u_int8_t *) when reading it
...
from ISA memory space.
2001-04-26 17:58:28 +00:00
thorpej
e5422a382f
Explictly include <machine/pio.h> (since this driver uses
...
i386 pio instructions -- XXX BROKEN).
2001-04-26 17:57:47 +00:00
bouyer
856411129e
Disable tagged queuing for now, it causes commands timeouts.
...
Note that it's not worse since thorpej_scsipi integration: tagged queuing
was not used before, because of a tag message rejected at probe time.
2001-04-26 17:09:39 +00:00
bouyer
d032d80637
Redo xfer sync/wide/tag notification again: we need to notify upper layer
...
that we can do tag.
Start sync/wide nego at first command, but wait ADAPTER_REQ_SET_XFER_MODE
to notify upper level.
2001-04-26 16:56:53 +00:00
kanaoka
03941a12da
- Fix typo in comment.
2001-04-26 08:23:22 +00:00
kanaoka
0d6646292e
- Fix typo in comment.
...
- Add (missed)powerhook_disestablish() in ex_detach().
- Sync with below. Original commit log message:
Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
PWR_SOFTRESUME. Apm calls powerhook with the values in normal interrupt
priority level while others are protected with splhigh().
2001-04-26 08:21:51 +00:00
enami
360780f37e
s/\<PROTO_ATAPI/C&/
2001-04-26 03:59:32 +00:00
kleink
38ba8564f5
Add esm.
2001-04-25 18:32:10 +00:00
bouyer
937a7a3ed9
Pull up the thorpej_scsipi branch to main branch.
...
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
(no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
will be requeued, or a REQUEST SENSE will be sent as appropriate.
Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge
2001-04-25 17:53:04 +00:00
haya
94e69e110f
Initialise all function's latency timer and cacheline size.
2001-04-25 09:29:36 +00:00
haya
3d8f9a4f4f
Set function-in-use flag before calling power control function in
...
order to prevent turn on power twice. This change does not prevent
power-off/power-on conflicts.
2001-04-25 09:20:32 +00:00
simonb
4d24d9a940
Regen.
2001-04-25 03:07:19 +00:00
simonb
3e4456d049
Spell "portege" correctly - it's a computer, not a car.
2001-04-25 03:06:11 +00:00
simonb
6f6fe2f3ad
Spell occurred correctly.
2001-04-25 02:33:08 +00:00
mycroft
ad44e79f90
It appears there's a race condition when disabling a channel that causes us to
...
need to explicitly relatch the interrupt when firing it up again. So, in the
trigger routines, explicitly disable and reenable the interrupt to relatch it,
like we do in the interrupt routine.
Also clean up some broken loop overrun checks.
My ES1371 seems to be more reliable now, but I'm not going to pretend to fully
understand this chip.
2001-04-24 21:03:33 +00:00
jdolecek
115f4e4207
print the drq together with irq, slot info
2001-04-24 09:15:06 +00:00
jdolecek
09062a99f9
one less
2001-04-23 09:36:01 +00:00
jdolecek
1fe3261554
Add constant for SKNET Ethernet Card
2001-04-23 06:10:09 +00:00
jdolecek
15224351ef
Compact autoconf info by printing the IRQ number together
...
with 'at mca0 slot foo' info.
2001-04-23 06:10:08 +00:00
jmc
a0c30da432
Add comment set spec id to macro types
2001-04-23 00:57:32 +00:00
jmc
7c87238caa
Add Model id as a valid generic type
2001-04-23 00:57:05 +00:00
jdolecek
3d1c1edbc5
g/c edc_dev_status[]
2001-04-22 20:02:38 +00:00
jdolecek
d0a98e1d18
fix edc_dump_status_block() to correctly print Command Error Code and
...
Device Error Code/Status when appropriate
add one item to TODO - need support for kernel memory crash dumps (to be
implemented "soon")
2001-04-22 20:00:59 +00:00
thorpej
27253eea15
Use uvm_pageboot_alloc() rather than pmap_steal_memory().
2001-04-22 16:44:41 +00:00
bjh21
9aba6e0cc4
Add arcpp.
2001-04-22 15:03:22 +00:00
jdolecek
85f0e37b44
edc_dump_status_block(): print RBA # and block count as unsigned
2001-04-22 13:00:24 +00:00
jdolecek
912e570671
Introduce machdep mca_disk_[un]busy(), which turn on/off disk LED.
...
Call as appropriate from the ESDI disk driver
2001-04-22 11:52:18 +00:00
jdolecek
8927d6f1be
Fix serious bug in bounce buf handling - the EDF_BOUNCEBUF flag needs
...
to be cleared always in edmcadone(), otherwise if there is a write
via bounce buffer followed by read directly to buf, the read operation
would return trashed data (the buf data would get overwritten
by contents of bounce buffer in edmcadone()).
Reset b_resid as necessary when the i/o is done, too.
g/c some unneeded stuff, use lockmgr()-style locking in ed_[un]lock(),
better avoid some deadlocks
These changes make the driver quite a bit more stable. It's actually
reliable enough to be possible to newfs the drive and use it for
read/write filesystem now.
2001-04-22 11:32:49 +00:00
bjh21
68ec0583b4
Add latches (arm26).
2001-04-22 00:27:18 +00:00
tsutsui
e53804bd4b
Preliminary support for Acard ATP850/860 UDMA PCI IDE controllers.
...
XXX Currently disabled by default because it has some problems on macppc.
XXX Maybe some more initialization is needed, but there is few information
XXX about the chips.
2001-04-21 16:36:37 +00:00
tsutsui
8dfe3efca7
space -> tab
2001-04-21 16:10:54 +00:00
tsutsui
e815501ea9
Regen from pcidevs rev. 1.318:
...
> Correct an entry for Acard UDMA IDE controller.
> The chip is actually marked as ATP860-A, not ATP860R.
2001-04-21 13:32:25 +00:00
tsutsui
42f78f411a
Correct an entry for Acard UDMA IDE controller.
...
The chip is actually marked as ATP860-A, not ATP860R.
2001-04-21 13:28:52 +00:00
tsutsui
f39a68828d
Make sure to check SC_ACCEL_TAGS in ncr53c9x_ioctl()
...
even if sync transfer is disabled or not supported.
2001-04-21 07:28:22 +00:00
tsutsui
64eed5859d
Clean up ncr53c9x_select():
...
- Define NCR_F_SELATN3 for sc_features and use it to check if the chip
supports SELATN3 command
- Make conditions of sending messages a bit simpler.
2001-04-21 05:35:20 +00:00
tsutsui
f2e3f6d5d4
Cosmetics. (tab/space etc.)
2001-04-20 17:32:33 +00:00
fredette
31d512c2e3
Added support for the chipset used on the Sun2 "sc" SCSI adapters.
...
A little rough around the edges, but definitely a starting point.
2001-04-20 16:35:22 +00:00
reinoud
1351706593
Fix a few race conditions ... the VSYNC update flag could be cleared
...
resulting in a blank screen when f.e. a setcursor ioctl was called
after the screenblanker had enabled the screen again ... the actual
switching on was then never performed at VSYNC.
A simple |= instead of = does the trick ... just leave the other bits
on please :)
2001-04-20 11:53:06 +00:00
jdolecek
4d5eec3337
regen
2001-04-20 11:19:51 +00:00
jdolecek
a20a13451f
Add support for IBM Multi-Protocol Communications Adapter. Card provided
...
by Hans Hubner <hans@huebner.org>.
We only support the card in "serial" mode. BISYNC nor SDLC modes are
not supported.
2001-04-20 11:19:27 +00:00
jdolecek
1df81c3607
regen
2001-04-20 10:05:16 +00:00
jdolecek
b973e27bba
Add support for NeoTecH Single RS-232 Async. Adapter, SM110. Tested
...
with card provided by Hans Hubner <hans@huebner.org>.
Also pretty the autoconf attach messages a little.
2001-04-20 10:03:35 +00:00
jdolecek
640bbf7e9f
regen
2001-04-20 07:38:11 +00:00
jdolecek
a98cbd0740
Add MCA ne(4) attachment for Novell NE/2 Ethernet adapter and clones.
...
Tested with NE/2 card provided to me by Hans Hubner <hans@Huebner.ORG>.
The Compex and Arco cards were not tested. According to Linux ne2 driver,
they should work same way as NE/2.
2001-04-20 07:37:42 +00:00
jdolecek
3ec26e703f
regen
2001-04-20 07:10:40 +00:00
jdolecek
6daeb5ba7b
add two Novell NE/2 compatible products
2001-04-20 07:10:12 +00:00
jdolecek
6939f3af70
regen
2001-04-19 18:38:50 +00:00
jdolecek
1420958f33
Add couple cards I got from Hans Hubner <hans@Huebner.ORG>
2001-04-19 18:38:23 +00:00
jdolecek
5452e8a704
dasd --> edc
2001-04-19 17:42:49 +00:00
jdolecek
dbf91c827d
Use "edc" instead of "dasd". As pointed out by Soren, dasd doesn't
...
mean anything special in IBM-talk. And edc better matches prior art, too.
2001-04-19 17:17:28 +00:00
augustss
e4cc721094
Correct the opcode for SCSI_MODE_SENSE_BIG.
2001-04-19 10:16:25 +00:00
jdolecek
2355b2e1e7
add dasd and ed at dasd?
2001-04-19 07:47:50 +00:00
jdolecek
361e520ce0
one less - ESDI support is written (albeit the driver needs to be tested more)
...
add some additional comments
2001-04-19 07:33:00 +00:00
jdolecek
24729c94cf
regen
2001-04-19 07:31:17 +00:00
jdolecek
fd1d702ab7
Add a driver for IBM ESDI disk controllers. Tested with IBM Integ. ESDI Fixed
...
Disk & Controller only at the moment.
This driver still needs some touchup (error recovery is not quite
good, MCA DMA controller goo should be moved to driver independant
location), but is working enough to be usable for others. And I
want this under CVS control :)
Thanks to Scott Telford <st@epcc.ed.ac.uk> for providing me docs for
these devices (IBM DASD Storage Interface Specification for MCA rev. 2.2).
2001-04-19 07:30:24 +00:00
augustss
af2e19db8f
Remove stuff I didn't mean to commit yet.
2001-04-19 00:50:22 +00:00
augustss
72a04bd497
Add HP 3400.
2001-04-19 00:47:49 +00:00
augustss
fc1271af53
Regen.
2001-04-19 00:47:30 +00:00
augustss
3d2488184c
Add a Lexar CF reader. (From FreeBSD)
2001-04-19 00:47:12 +00:00
thorpej
4747025b48
ctype-like functions are now in libkern.
2001-04-18 15:40:58 +00:00
takemura
caf5e03906
Add Mobile Pro 780 own keymap. This resolves the arrow key problem on
...
Mobile Pro 780.
2001-04-18 14:01:06 +00:00
jdolecek
7f8c2c6de2
fix typo in comment - s/splio()/splbio()/
2001-04-18 05:40:03 +00:00
tacha
109656b0a7
rewrite suspend/resume routine. If you suspend while playing audio,
...
clcs and clct continue playing when resume.
2001-04-18 01:35:06 +00:00
bjh21
6fe345e833
"asc" doesn't exist on arm26 any more.
2001-04-17 23:51:07 +00:00
ad
a7a9126e0e
Regen.
2001-04-17 14:30:01 +00:00
ad
6a59be7d6b
Add Bt760 Ethernet.
2001-04-17 14:29:47 +00:00
reinoud
23f20b8af6
Update DEVNAMES for the new wscons devices for arm32 wich i had forgotten.
2001-04-17 10:33:21 +00:00
augustss
6497b0a623
Regen.
2001-04-17 08:38:23 +00:00
augustss
7dfc3d8076
Add a Xirlink camera. From PR 11570.
2001-04-17 08:38:01 +00:00
augustss
264c404593
Clean up formatting a little.
...
Split protocol variable into wire and command protocols.
2001-04-17 00:50:13 +00:00
augustss
f14db62d03
Add a DIAGNOSTIC.
2001-04-17 00:05:33 +00:00
bjh21
d71d51409d
"acemidi" podulebus device.
2001-04-16 20:14:04 +00:00
augustss
14dceb11ef
Regen.
2001-04-16 10:42:39 +00:00
augustss
6f4ae4bff8
Add lots of storage devices.
2001-04-16 10:42:19 +00:00
jmc
22a18cbcb3
Add macro for extracting the whole key as one byte value.
2001-04-16 01:09:31 +00:00
augustss
bafbeaf802
Use the bi-directional protocol if the printer supports it.
...
This is the way that e.g. HP recommends (but then some of their printers
have a bug that makes the input pipe useless anyway).
Also try reset both the 1.0 and 1.1 ways.
2001-04-16 00:18:06 +00:00
augustss
b1b0b4bc9a
Regen.
2001-04-15 22:33:37 +00:00
augustss
9c6b6d7b02
Add more HP devices.
2001-04-15 22:33:23 +00:00
ragge
849d818db4
Remove some unused variables.
2001-04-15 15:01:35 +00:00
augustss
b86cb140c5
Use a better symbolic name.
2001-04-15 10:26:36 +00:00
augustss
595f18daf9
Add quirk for printers that cannot handle bidir mode (not used yet).
2001-04-15 09:38:01 +00:00
augustss
d828968798
Regen.
2001-04-15 09:28:31 +00:00
augustss
3865f3dfc7
Add a bunch of HP printers.
2001-04-15 09:28:12 +00:00
david
d62038a18e
Add Aztech sound card found in HP Kayaks.
2001-04-15 03:31:37 +00:00
jmc
69337b1dd0
Correct some typos. Add 2 more macro's to extract data from directory entries. Add $
2001-04-15 00:21:38 +00:00
bjh21
6c7d3e3521
Add rudimentary support for the ACE Midi-Connect card which abs gave me.
...
Currently it appears as a "com" port, which is less than useful, and
occasionally generates stray interrupts. "stty -f /dev/tty00 31250 raw"
does enable it to talk to a nearby MIDI device, though.
2001-04-14 20:39:23 +00:00
ross
7e0b361d84
Fix for kernel alignment crash reported on port-alpha. A developer went on
...
a happy code sweep (in the kernel!) and constified a random selection of
kernel objects. This changed the alignment of the previously-aligned-by-
accident seqprog array, and exposed a lurking bug. I can't decide if this
is good or bad.
2001-04-14 19:37:17 +00:00
thorpej
bf2dcec4f5
Remove the use of splimp() from the NetBSD kernel. splnet()
...
and only splnet() is allowed for the protection of data structures
used by network devices.
2001-04-13 23:29:55 +00:00
hubertf
c18a98953b
Regen for moved Trident CyberBlade entry
2001-04-13 19:01:28 +00:00
hubertf
1384b9cebc
Move the Trident CyberClade entry where it belongs.
2001-04-13 19:00:31 +00:00
augustss
b5c707b2b6
Make it link with debug flag.
2001-04-13 12:51:43 +00:00
augustss
939159f6d0
Make it compile with debug.
2001-04-13 12:42:40 +00:00
augustss
bcdfccea3c
Split the umass driver into the part that handles the X-over-USB protocol
...
(umass.c) and the part that handles scsibus/atapibus (umassbus.c).
This way the must port specific stuff can be removed from umass.c.
2001-04-13 12:24:10 +00:00
augustss
38c02444d9
Finally get rid of the UGLY and EVIL hack for avoiding tsleep().
2001-04-13 11:19:58 +00:00
augustss
cbcea5e84c
Do mii frobbing in process context.
...
Now we can finally get rid of the evil USBD_NO_TSLEEP hack in the aue driver.
2001-04-13 11:17:11 +00:00
augustss
b728f196e9
Comment out some flag stuff that isn't used. Someone should take a look
...
at this. There is something fishy with the mii code, the last argument to
mii_attach() is not being used in any meaningful way.
2001-04-13 11:14:55 +00:00
augustss
205b10ed17
Add a flag to mii_flags which will cause autonegotiation to use tsleep()
...
instead of callout. This way adapters which need a process context for
PHY register access (e.g. USB adapters) have a chance.
2001-04-13 11:12:36 +00:00
kanaoka
c5a768d097
Add support for ADMtek AN985.
2001-04-13 00:18:11 +00:00
augustss
ed7afd2ad6
Regen.
2001-04-12 23:56:13 +00:00
augustss
23b1e2c46e
Some new device (from FreeBSD).
2001-04-12 23:55:58 +00:00
augustss
9071f4edbb
Make sure all tasks are remove on detach.
2001-04-12 23:54:56 +00:00
mjacob
f13ec50e47
Clean up bus dma code for request/response queues.
2001-04-12 21:40:56 +00:00
thorpej
c5a6653add
Use IPL_NET for now -- the only use of 1394 right now is for network
...
interfaces (IPv{4,6}-over-1394), and this allows us to get rid of
some evil interrupt mixing issues in the 1394 network code right now.
2001-04-12 21:39:31 +00:00
thorpej
67e357f0a9
splimp -> splvm.
...
This, like all other uses of spl*() in VAX code, needs to be
scrutinized.
2001-04-12 20:38:25 +00:00
thorpej
5da5b5ae5b
Upon inspection of a 4000/600 dmesg, change the splbios to splubas.
...
XXX THIS CODE IS SERIOUSLY BROKEN! MSCP DEVICES ARE BLOCK I/O DEVICES,
AND THUS SPLBIO SHOULD BLOCK THEIR INTERRUPTS. The VAX port really
needs to get virtualized spl*() levels.
2001-04-12 20:13:26 +00:00
thorpej
376be9fdf3
splimp -> spluba.
2001-04-12 20:08:09 +00:00
thorpej
63edf2e11d
Protect the call to uba_done() with spluba().
2001-04-12 20:07:40 +00:00
thorpej
ae66f2ea53
splimp -> splbio.
2001-04-12 20:05:12 +00:00
thorpej
3d6b1bec1e
splimp -> splnet
2001-04-12 20:04:24 +00:00
thorpej
06b19d90b8
splimp -> splbio
2001-04-12 20:03:35 +00:00
thorpej
669641cb9d
splimp -> splvm (it's questionable whether or not this is really
...
the right level at all -- maybe splhigh? Anyway, XXX comment added
as well).
2001-04-12 19:45:25 +00:00
thorpej
909f3d7efb
splimp -> splvm (use IPL_IMP needs to be revisited).
2001-04-12 18:18:31 +00:00
itojun
477b193d09
support T1 card (LMC1200) properly. PR 12331 (patch from openbsd).
...
change DLT type to cisco HDLC, as lmc driver is hardwired to cisco HDLC
on driver attach. XXX we may need to revisit this, as if_spppsubr may want
to alter this later.
2001-04-12 07:50:54 +00:00
itojun
321e957c86
regen.
2001-04-12 07:47:16 +00:00
itojun
2ce6b3ba60
change symbol for LMC T1 card. part of PR 12331.
2001-04-12 07:46:00 +00:00
matt
bc6820dd0d
Regen.
2001-04-12 06:26:49 +00:00
matt
ece3db982d
Add UltraSparc IIe PCI interface.
2001-04-12 06:26:20 +00:00
thorpej
a3fd502107
Nuke some unneeded splimp.
2001-04-12 03:16:56 +00:00
thorpej
d94ce2f426
splimp -> splnet
2001-04-12 03:10:35 +00:00
thorpej
5274818efc
Switch to USB_USE_SOFTINTR. The callout hack does indeed work
...
fine for systems without generic soft interrupts, even if it is
a little sub-optimal. Consider it a penalty for ports not
implementing a kernel API.
Addresses kern/11957. The PR has been open for 4 months, and
I have work blocked on the continued existence of splimp() in
the networking code.
2001-04-12 01:39:04 +00:00
thorpej
f305e19aeb
Only if __HAVE_GENERIC_SOFT_INTERRUPTS is then splusb == splsoftnet
...
(because we register the interrupt with IPL_SOFTNET). However, if
we're using a callout, then splusb == splsoftclock (because the
callouts happen from the softclock interrupt).
Note that splsoftnet blocks softclock interrupts, but this is
meant to better describe what's going on.
2001-04-12 01:18:24 +00:00
jdolecek
745ab257dc
Put back all header files defining ioctls
2001-04-11 19:07:36 +00:00
wiz
b7f59127c9
re-add bt8xx.h (needed for fxtv, without which bktr is pretty much useless)
2001-04-11 09:07:21 +00:00
augustss
76c2f6d190
Regen.
2001-04-11 08:44:06 +00:00
augustss
c2b7bb4ddb
Add device id from PR 12611.
2001-04-11 08:43:47 +00:00
jdolecek
372e5956ef
Only install headers which are actually used by our userland. This
...
saves about 2.2MB under /usr/include/dev/. Discussed on tech-kern@
recently.
I HOPE to get the list right. The headers I left in are ones
used for MI tools and those whose usage I discovered by grep over tree sources.
Feel free to put needed includes back in if you encounter anything which
should not be removed from lists.
2001-04-11 07:42:31 +00:00