mycroft
6ad2876b5a
Similar changes to com driver:
...
Arrange to call com_break() and com_modem() at splserial().
It's simpler this way. Really.
1998-02-19 21:26:10 +00:00
mycroft
84a72d6ff4
Remove stray label from last change.
1998-02-19 09:33:33 +00:00
mycroft
06ec9f646f
Arrange to call com_break() and com_modem() at splserial().
...
It's simpler this way. Really.
1998-02-19 09:23:38 +00:00
thorpej
b0b3787d14
Include the NFS option header.
1998-02-19 00:47:02 +00:00
cgd
a7f7004e33
include an MD header if arm32. (No header yet, but there will be
...
one eventually.)
1998-02-17 18:27:10 +00:00
thorpej
4399060ec9
- Perform all necessary bus_dmamap_sync() operations.
...
- Greatly simplify allocation and DMA mapping of the mailbox and ccbs.
- Be more robust against resource shortage errors, and report errors better.
1998-02-17 03:02:30 +00:00
thorpej
8354e68508
Remove "class" declarations, and add "devclass" declarations where
...
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.
1998-02-16 22:12:45 +00:00
thorpej
018aa6e97e
Don't include <dev/scsipi/scsipi_conf.h> twice.
1998-02-13 21:58:40 +00:00
enami
d0ad49a001
Backout previous change, and rather, remove all protection but the one
...
actually currently required. Suggested by Charles M. Hannum.
1998-02-13 08:28:16 +00:00
enami
dea45865d2
Don't include <dev/scsipi/scsi_all.h> twice.
1998-02-13 08:12:40 +00:00
enami
ae193ba149
Move entry for IO-DATA PCLA/T out from comment. Since there may be
...
two different location for MAC address, just make bus-independent
layer to ask it.
1998-02-13 04:51:22 +00:00
enami
ef09ae656f
Fix or add protection for mutiple inclusion.
1998-02-13 04:19:13 +00:00
bouyer
0435e7ea98
Correct a bogosity in the adapter->mii attach code pointed out by cgd:
...
in pci/if_tl.c, call config_found() with a print function, instead of
printing ourself a message in if_tl.c if no miibus was found. The print
function is in mii/mii.c (mii_adapter_print()) so that it can be used by any
adapter (idea from the scsi system).
1998-02-11 19:02:11 +00:00
thorpej
841fb8fd54
Don't try to dynamically create and destroy DMA maps. Instead, keep
...
it simple, and allocate one for each transmit and receive descriptor.
In addition to being simpler and faster, this fixes a serious memory leak
in the transmit path.
1998-02-11 01:28:22 +00:00
thorpej
6e899bb965
Clear the scsipi_xfer's status byte before executing the command. This
...
fixes a condition where stale data can be left in the status byte, causing
user programs that interpret it to fail.
Fixes kern/4964 from Chris Jones <cjones@honors.montana.edu>.
1998-02-10 19:48:51 +00:00
mrg
d90485202c
- add defopt's for UVM, UVMHIST and PMAP_NEW.
...
- remove unnecessary UVMHIST_DECL's.
1998-02-10 14:08:44 +00:00
thorpej
eda74e6121
- Perform all necessary bus_dmamap_sync() operations.
...
- Greatly simplify allocation and DMA mapping of the mailbox and ccbs.
- Be more robust against resource shortage errors, and report errors better.
1998-02-09 10:53:07 +00:00
thorpej
5fe6759646
Fix serial console support, which was broken by the previous revision:
...
- In the console getc routine, block until a character becomes ready
(no, really, we mean it). This routine should _never_ time out.
- In the console putc routine, if the UART has trouble, do NOT proceed
to print a diagnostic message, which would recursively invoke the
console putc routine ad nauseum.
1998-02-09 10:22:45 +00:00
pk
cc06ca6693
* Add the "VIPER 150/21531" to quirk list (ST_Q_SENSE_HELP).
...
* Double timeout on tape position commands to 30 minutes. Some units
seem capable of taking that much time.
1998-02-07 23:00:24 +00:00
thorpej
8e8eed4ba7
Create RX DMA maps with ALLOCNOW. These maps are essentially always
...
loaded, and recovering from a resource shortage error is much harder
in the receive case.
1998-02-07 21:13:34 +00:00
thorpej
f955aa86e5
Properly handle error conditions from bus_dmamap_load_mbuf().
1998-02-07 20:40:35 +00:00
augustss
ae3e754e0b
Newly generated version.
1998-02-07 20:07:37 +00:00
augustss
6d9b48ac1d
Fix typo, and commit in the right order.
1998-02-07 20:05:25 +00:00
augustss
c78e3507ba
Add the AGP device in the 82443LX.
1998-02-07 19:32:37 +00:00
thorpej
208d979613
Use BUS_DMA_NOWAIT where appropriate. Don't create DMA maps with
...
BUS_DMA_ALLOCNOW.
1998-02-07 10:27:12 +00:00
cgd
f1fa872906
don't forget class spec
1998-02-07 00:49:19 +00:00
cgd
5942e0ff3d
initial implementation of OFW ISA bus code and attachments for a few
...
devices. Still a bit rough, but works well enough. Requires a bunch of
machine-dependent glue (since this is, in effect, a MI bus bridge).
1998-02-07 00:46:45 +00:00
thorpej
e08a44b196
- Perform all necessary bus_dmamap_sync() operations.
...
- Greatly simplify allocation and DMA mapping of the mailbox and ccbs.
- Be more robust against resource shortage errors, and report errors better.
1998-02-06 23:06:44 +00:00
matt
8098a443f0
A version of the de driver which does bus_dma. Note that it has not been
...
tested on any other platform other than i386. Use of bus_dma(9) can be
turned by defining TULIP_BUS_DMA_NOTX and TULIP_BUS_DMA_NORX. These allow
one to determine if the problem is in the transmit or receive path.
A problem reported by mycroft is also fixed.
1998-02-06 20:57:12 +00:00
thorpej
fd01cb624f
Allow a ccd component to be on any partition type.
1998-02-06 08:13:07 +00:00
enami
9d13bc6e0e
Restore system priority level before return from comopen().
1998-02-06 03:25:34 +00:00
pk
0725302eac
vme_bus_probe() takes an `offset' argument.
1998-02-06 00:22:41 +00:00
pk
40b15d9230
Add `offset' argument to probe routine.
1998-02-06 00:21:49 +00:00
mrg
1a8c7604f4
initial import of the new virtual memory system, UVM, into -current.
...
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code. i provided some help
getting swap and paging working, and other bug fixes/ideas. chuck
silvers <chuq@chuq.com> also provided some other fixes.
this is the rest of the MI portion changes.
this will be KNF'd shortly. :-)
1998-02-05 07:59:28 +00:00
thorpej
0392bc60a1
Fix the FXP_TXDESCOFF() macro.
1998-02-05 07:31:52 +00:00
sakamoto
a2b24d5571
Change "__BUS_SPACE_NEED_STREAM_METHODS" to "__BUS_SPACE_HAS_STREAM_METHODS".
1998-02-04 14:13:40 +00:00
thorpej
ec6c5c10d7
Add necessary bus_dmamap_sync() calls for memory mapped with the COHERENT
...
hint, per bus_dma(9).
1998-02-04 08:26:42 +00:00
thorpej
8abe76d2f0
Add offset and length parameters to bus_dmamap_sync(), used for specifiying
...
partial syncs of a DMA mapping.
1998-02-04 05:12:46 +00:00
pk
3995590109
Use `offsetof()'.
1998-02-04 01:19:23 +00:00
pk
749d6cf61d
Account for changed vme_bus_probe() args.
...
Fix vme_ie_write24() to use bus_space_write_2() in stead of poking
directly into the bus handle.
1998-02-04 00:59:02 +00:00
pk
62f18b7ff0
Use vme_bus_probe() callback for device detection.
...
Use correct VME modifier (A16+D32 instead of A32).
1998-02-04 00:55:52 +00:00
pk
47afb35008
Use vme_bus_probe() callback for device detection.
1998-02-04 00:54:27 +00:00
pk
c7a01456a0
Add a callback function to vme_bus_probe(), for device-specific probes
...
using mapped device space.
1998-02-04 00:50:44 +00:00
thorpej
296d96f42c
Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
...
BUS_DMA_COHERENT.
1998-02-04 00:38:50 +00:00
pk
c1e336fc0b
Erase a spurious structure definition.
1998-02-04 00:38:34 +00:00
thorpej
a7c5c1ef3c
Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
...
BUS_DMA_COHERENT.
1998-02-04 00:32:55 +00:00
cgd
819d730e25
s/of_nodename/of_packagename/. Eventually, we'll probably want something
...
similar for instances.
1998-02-03 16:58:25 +00:00
is
77b3a5be15
Put a debugging printf inside #ifdef IYDEBUG ... #endif.
1998-02-03 16:22:01 +00:00
sakamoto
7052e9949b
Change the data access busification functions to
...
the "stream" busification functions.
In the architecture as the BeBox(CPU is big endian, have ISA bus),
These methods would be used where "raw" data needs to {read,write,set}
unchanged.
Add #ifndef __BUS_SPACE_NEED_STREAM_METHODS (define that on NetBSD/bebox),
if not define __BUS_SPACE_NEED_STREAM_METHODS,
define "stream" busification functions to normal busification functions.
1998-02-03 04:26:45 +00:00
cgd
9c46cdbef5
in ofbattach(), don't both doing an ofbprint() by hand if the root node.
...
The old ofbprint() wasn't particularly good (it forced the root node
to have a 'name' property, which apparently violates the OFW spec), and
the new one (though it normally prints more useful information) has
nothing useful to say about the root node. It's not clear to me that
'ofroot' should exist at all.
1998-02-03 00:43:46 +00:00