Commit Graph

10079 Commits

Author SHA1 Message Date
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