Commit Graph

104 Commits

Author SHA1 Message Date
christos
ca36ac9ef4 backout previous kprintf change 1996-10-13 03:05:43 +00:00
christos
60dd5ceebe printf -> kprintf, sprintf -> ksprintf 1996-10-11 00:06:28 +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
mark
64c91a1cc3 Report EASI space timings when probing the podule bus. 1996-08-21 19:46:47 +00:00
mark
e8f3059a07 Define EASI space cycle types.
Added macro for setting the EASE space cycle time for a podule.
1996-08-21 19:44:53 +00:00
mark
103a43ae29 Get the interrupt flags address from sc->sc_specific.sc_podule rather
than sc->sc_podule.
1996-06-13 18:29:45 +00:00
mark
31c4f7d574 Only read beyond the first byte of the podule header if we know that
an extended header is present i.e. don't assume an extended header as
however unlikely there could be a podule that doesn't have one.
Calculate an absolute address for the podule's interrupt mask rather
than leaving it relative to the base address of the podule.
If the interrupt status pointers are not present or are zero then
used the default bits as specified in the podule specification to
determine if the podule is interrupting.
1996-06-12 21:09:55 +00:00
mark
857439698b Claim the interrupt when leaving the interrupt handler as there can
only ever be a owner of the netslot interrupt.
Don't declare ebintr() as static.
1996-06-12 21:01:56 +00:00
mark
27ab616466 Don't claim the podule interrupts but pass them on in case of
chained podule interrupt handlers.
Fill out the ih_maskaddr and ih_maskbits fields in the interrupt handler
structure so that interrupt dispatcher knows where to look to determine
if the handler should be called.
General code tidy up and source code formatting.
1996-06-12 20:59:10 +00:00
mark
4dd0dabfca Don't claim the podule interrupts but pass them on in case of
chained podule interrupt handlers.
Fill out the ih_maskaddr and ih_maskbits fields in the interrupt handler
structure so that interrupt dispatcher knows where to look to determine
if the handler should be called.
1996-06-12 20:46:58 +00:00
mark
8477987501 Fixed lots and lots and lots of -Wall compiler warnings. 1996-06-03 22:44:53 +00:00
mark
bfe01da7b5 Tidied up the prototype declarations. 1996-06-03 22:41:14 +00:00
mark
4732cc6c39 Make sure that the ethernet address has been set correctly before
attaching the interface to the network code.
1996-06-03 22:39:12 +00:00
mark
d7ef096470 Probe for both Atomwide and ANT ether3 podules. 1996-05-17 16:24:03 +00:00
mark
8a9255ea4b Recognise ANT ether3 podules. 1996-05-17 16:17:21 +00:00
mark
525cc1eebc Fixed the printing of the podule description from the chunk directory
for unrecognised podules.
1996-05-16 19:05:35 +00:00
thorpej
748810b06d Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 00:46:37 +00:00
mark
58ff5333d7 Fixed -Wall compiler warnings. 1996-05-06 00:11:16 +00:00
mark
8f285e6977 Added prototype for sfasintr(). 1996-05-06 00:09:28 +00:00
mark
81e79a0787 Recognise the 24i16 digitiser podule.
Fixed -Wall compiler warnings.
1996-05-06 00:04:06 +00:00
mark
6e054ed22f Probe functions rewritten to support new podulebus configuration code.
matchpodule() is now used to test podule_attach_args for correct id's.
Moved the probing code that used the softc into the attach function.
Fixed compiler warnings generated with -Wall.
1996-04-26 22:44:00 +00:00
mark
fff1823ed8 Probe functions rewritten to support new podulebus configuration code.
matchpodule() is now used to test podule_attach_args for correct id's.
1996-04-26 22:41:24 +00:00
mark
9a12d19953 Probe functions rewritten to support new podulebus configuration code.
matchpodule() is now used to test podule_attach_args for correct id's.
Fixed compiler warnings generated with -Wall.
1996-04-26 22:38:11 +00:00
mark
4a3ceede5a Added function prototype for matchpodule(). 1996-04-26 22:34:02 +00:00
mark
c18452b410 podulebus configuration code rewritten. Junked config_scan() from
the podulebus attach function.
For each podule found, config_found_sm() is now called. Device drivers
now only need to look at the podule_attach_args information during
the probe.
A new function matchpodule() has been added for use in the
podule device driver probe functions.
1996-04-26 22:32:36 +00:00
mark
027b04a250 Fixed compiler warnings obtained with -Wall. 1996-04-26 22:25:56 +00:00
mark
e59df39537 Added asc_dump() function to dump the information gathered by the sbic
driver.
1996-04-19 20:13:56 +00:00
mark
0d0b8de238 Code fixes to get the sbic debugging code to compile. 1996-04-19 20:09:50 +00:00
mark
8345378c81 Define name for interrupt handler. 1996-03-27 22:07:26 +00:00
mark
b4aaf66b7a Remove prototype for Debugger() as this is defined in systm.h. 1996-03-27 22:05:19 +00:00
mark
6245ffb5e5 Define a name for the sbic interrupt handler. 1996-03-27 21:51:22 +00:00
mark
44d3ebb603 Define a name for the network interrupt handlers for use with vmstat
-i.
1996-03-27 21:49:26 +00:00
mark
9adb4b41cb Make this work following the attachment changes. 1996-03-20 18:49:56 +00:00
mark
6973956563 Fixed references to match function. 1996-03-20 18:46:58 +00:00
mark
8ac78e8698 RCS Id police. 1996-03-18 21:23:09 +00:00
thorpej
5c67e5fad9 New device attachment scheme:
- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.
1996-03-17 01:16:48 +00:00
mark
d389b21913 Added boot time override for the memory test during probing. This
memory test apparently causes hangups on some etherH interfaces.
Until this can be debugged with an offending interface the memory
test can be bypassed.
1996-03-13 20:52:35 +00:00
mark
c117a7f133 Only call the debugger if DDB is defined. 1996-03-13 20:28:50 +00:00
mark
1014c385d8 Added NetBSD tag. 1996-03-08 16:24:51 +00:00
mark
00af8622e0 Added NetBSD tag. Reformatted source kernel in line with the style
guide.
1996-03-08 16:22:38 +00:00
mark
095bb565ba Files for the new Acorn SCSI driver that uses the generic SBIC driver
code. This is a much better version that does not trash your HD.
1996-03-07 23:54:28 +00:00
mark
3506c48c2a opps forgot to remove this as well. Part of the old and BUGGED Acorn
SCSI driver.
1996-03-07 23:50:33 +00:00
mark
169a40e0cf These files represent the old and BUGGED Acorn SCSI driver.
They are replaced with a new Acorn SCSI driver based on the SBIC
generic SCSI code.
1996-03-07 23:45:24 +00:00
mark
385c194369 Added #ifndef guards round the timeout macros so values can be
overridden in the config file.
1996-03-06 23:56:59 +00:00
mark
34e0ef97c0 Code reformatted to make it a bit more readable and brings it inline
with a lot of the style guide.
1996-03-06 23:53:13 +00:00
mark
8429ee71c5 Initial commit of generic sbic (WD3393) SCSI driver code based on the
amiga sbic driver.
1996-03-06 23:44:09 +00:00
mark
a66ed3abac Initial commit of generic sbic (WD3393) SCSI driver code based on the
amiga sbic driver.
1996-03-06 23:44:06 +00:00
mark
a629b79a66 Fixed reporting of errors when claiming podule interrupts. 1996-03-06 23:33:14 +00:00
mark
c3833aaabe Opps, what was a delay() prototype doing here. 1996-02-22 23:25:10 +00:00
mark
f134e05316 Fixed performance problems caused by the ring buffer becoming flodded when
multiple packets were being received due to not flushing newly received
packets from the ring buffer between receiving an interupt and pulling
in the packets.
1996-02-15 21:48:59 +00:00
mycroft
fc9d84fb46 assym.s -> assym.h
(Some ports did this already.)
1996-02-02 02:34:09 +00:00
mycroft
88e512b693 LOCORE -> _LOCORE 1996-02-01 22:28:24 +00:00
mark
0705e7dfd1 Initial commit of the NetBSD/arm32 port. 1996-01-31 23:24:54 +00:00