cgd
233251d896
add missing argument to bus_space_map in ESP code
1996-10-22 00:45:25 +00:00
thorpej
769a499800
New bus.h implementation/interface:
...
- No more distinction between i/o-mapped and memory-mapped
devices. It's all "bus space" now, and space tags
differentiate the space with finer grain than the
bus chipset tag.
- Add memory barrier methods.
- Implement space alloc/free methods.
- Implement region read/write methods (like memcpy to/from
bus space).
This interface provides a better abstraction for dealing with
machine-independent chipset drivers.
1996-10-21 22:34:38 +00:00
thorpej
0211a3232d
Appease the compiler: get rid of some unused variables, add some
...
prototypes, and suppress a bogus "might be used uninitialized" warning.
It's clear from reading the logic of the function that produces the
warning that the variable will not be used uninitialized, but the
compiler just isn't smart enough, I guess. Marked XXX for future reference.
1996-10-17 04:34:08 +00:00
thorpej
35b8c6aa4c
Add some prototypes, clean up some unused variables, and misc. other
...
compiler warning cleanup.
1996-10-17 04:21:55 +00:00
jtk
bfe653fbd7
fix PR 2851: make it compile under -Wformat
1996-10-16 11:32:45 +00:00
jtk
aa8449a9ef
fix compile errors & warnings
1996-10-16 01:12:18 +00:00
christos
86373f8cf9
backout kprintf changes
1996-10-13 01:37:04 +00:00
christos
58953408cb
printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:04:48 +00:00
christos
e51a0f737a
- printf -> kprintf, sprintf -> ksprintf
...
- fix unused variable warning
- include <systm.h>
1996-10-10 21:27:25 +00:00
christos
ce31bd3eb6
- printf -> kprintf, sprintf -> ksprintf
...
- Remove unused variable
- include <systm.h>
1996-10-10 21:26:04 +00:00
christos
18f1d603f0
- printf to kprintf, sprintf -> ksprintf
1996-10-10 21:25:07 +00:00
christos
764db9b35b
- printf -> kprintf, sprintf -> ksprintf
...
- provide a default case to handle an unknown model number.
- include <systm.h>
- remove unused variable.
1996-10-10 21:23:28 +00:00
christos
245e10b406
- printf -> kprintf, sprintf -> ksprintf
...
- ifdef an unused variable.
1996-10-10 21:21:52 +00:00
christos
ee2c8600ee
- printf -> kprintf, sprintf -> ksprintf
...
- remove kvtop declaration.
1996-10-10 20:04:03 +00:00
chuck
b10785c0e4
fix "control reaches end of non-void function" in check_eh() for -Werror.
1996-10-06 21:24:36 +00:00
mycroft
767522373b
If we get a RXRDY interrupt, but RXRDY is not set in the LSR, briefly set IER
...
to 0. This fixes a condition where some UARTs send an infinite stream of
RXRDY interrupts.
1996-10-06 01:52:26 +00:00
mycroft
d1f08e3e87
Serial console changes:
...
* Enable FIFO with trigger level 1.
* Set DTR and RTS so terminals are happy.
1996-10-06 01:46:04 +00:00
explorer
870052156e
Better error message when the card is found but shared memory isn't enabled
1996-10-04 01:28:54 +00:00
thorpej
e1b380e139
Fix a bus mem space leak; always unmap the card, regardless of the success
...
of cy_find().
1996-09-26 19:24:04 +00:00
thorpej
63b18ee2f2
This file is now obsolete.
1996-09-25 20:44:09 +00:00
christos
5d34f1a62b
New cyclades driver from Timo Rossi
1996-09-24 17:45:14 +00:00
mycroft
67417a473a
Use bus.h.
1996-09-07 12:12:18 +00:00
mycroft
94bfaac456
Wrap the definitions of CONADDR and CONUNIT in #ifndef.
1996-09-06 05:06:01 +00:00
mycroft
82f0b829e8
compoll() -> comsoft()
1996-09-05 16:42:32 +00:00
mycroft
8427290044
wtpoll() -> wtsoft()
1996-09-05 15:37:18 +00:00
mycroft
110ee78a6f
Remove cyselect().
1996-09-05 15:35:09 +00:00
mycroft
b3eac79b64
tty stop functions really should return void, not int, and certainly not both.
1996-09-02 06:43:16 +00:00
mycroft
70944d2e2c
Minor changes.
1996-09-01 00:20:20 +00:00
mycroft
e8b5bd5b35
Update.
1996-09-01 00:10:55 +00:00
mycroft
44bb2d98e1
Split the UltraStor driver apart.
1996-08-31 20:26:48 +00:00
mycroft
06fdef11fd
Split the BusLogic driver apart, and rename it to `bha (like BSDi).
1996-08-31 20:18:24 +00:00
thorpej
164af20154
Add a missing "int" in a function declaration.
1996-08-30 01:40:35 +00:00
cgd
71ad30d0e9
(1) set scsi_link channel to either the appropriate channel (if a
...
multi-channel driver), or to SCSI_CHANNEL_ONLY_ONE if a
single-channel driver.
(2) use scsiprint() rather than a locally-defined autoconfig print
function, and kill any locally-defined print function.
1996-08-28 18:59:15 +00:00
cgd
2a73ef60b7
change cfprint_t type definition to take a const char *, rather than
...
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
thorpej
eea135a8b9
Two changes:
...
- Convert to use <machine/bus.h>.
- Also read station address in egattach(). The softc is no
longer required in the probe function.
1996-08-03 19:33:19 +00:00
thorpej
a47a8c3f8c
Oops, missed a couple of inb()s..
1996-08-03 02:23:57 +00:00
thorpej
c937985d60
Convert to use <machine/bus.h>, plus 2 bug fixes:
...
- In egstart(), if the Send Packet command fails, m_freem()
the mbuf chain before dequeueing another one (memory leak).
- In egintr(), return 1 if a known interrupt was processed.
Would manifest itself as spurious interrupts.
1996-08-03 02:12:46 +00:00
is
003947b965
Changed the driver to use bus_xxx().
1996-07-25 18:59:12 +00:00
cgd
bc2f07f331
move DDB-only label inside an #ifdef, so that -Wall works
1996-07-10 18:14:04 +00:00
thorpej
794614df64
In the 3c503 probe, map the correct number of ports. (Unmap already
...
unmapped the correct number of ports, thus causing the ISA io port
extent map to get corrupted.)
1996-06-25 20:47:02 +00:00
mycroft
a8e5b5ba47
Remove some unneeded FIFO flushes and reorder some register changes per the
...
6360 manual. Turn off synchronous negotiation.
1996-06-18 16:13:05 +00:00
mycroft
202bd8b9ae
Turn off *DIAG by default.
1996-06-18 12:55:00 +00:00
cgd
08d585e924
add tty_attach() where appropriate.
1996-05-30 18:24:09 +00:00
is
4e8dbf468a
Added flags to the iy driver to override the media autodetect mechanism, if
...
necessary. Added a manpage to document the flags.
1996-05-22 15:39:43 +00:00
mycroft
19b0b9502f
New version, with changes from Justin Gibbs and Noriyuki Soda.
1996-05-16 03:44:13 +00:00
thorpej
52e2ab70b0
#include <machine/intr.h> to get IST_* definitions.
1996-05-14 00:31:04 +00:00
mycroft
cec36bf8d5
Use intr.h.
1996-05-12 23:51:23 +00:00
thorpej
f004654691
Update Herb's e-mail address; beer.org feels a lot more friendly.
1996-05-10 05:27:53 +00:00
thorpej
e32158478e
Correct a couple of comments ... port 0x84 produces a 1.25us delay when
...
read, not 2.5us. (I must have been confused; thanks Charles, for
correcting me.)
1996-05-08 23:32:31 +00:00
thorpej
1040e97175
If accessing shared memory on a 16-bit card, be careful not to do any
...
8-bit memory access; some cards, notably some WD/SMC cards, can't handle
8-bit access if 16-bit access has been enabled.
1996-05-08 22:09:18 +00:00