Commit Graph

7326 Commits

Author SHA1 Message Date
abrown
6b768c677a Now that we have lehwinit() for the Sun4m, make sure that we wait 20ms
after changing the cable type, as specified in the chip documentation.
Also, sanity-check that sc_dma is valid in case a Sun4m ever exists without
a ledma.
1996-04-22 03:57:29 +00:00
christos
90bc31d478 remove include of <sys/cpu.h> 1996-04-22 02:50:20 +00:00
christos
a897ec996a Remove dependency on <sys/cpu.h> 1996-04-22 02:42:00 +00:00
christos
bebf990150 Oops the name of the UTP/AUI bit changed under me... 1996-04-22 02:39:49 +00:00
christos
5253b892e9 Add a hardware dependent initialization function lehwinit()
to support selecting UTP media on sun4m
1996-04-22 02:37:10 +00:00
abrown
709298a10a - Changed Sun4m DMA chip support to detect and use maximum available SBus
burst size when transferring data.
- Changed ledma attach code to pay attention to the PROM's notion of what
  cable type is being used. Note that this patch does not fix the problem
  recently discussed on port-sparc; in most cases the PROM doesn't know
  what cable type is being used. The default is now TP rather than AUI,
  though. A complete fix is forthcoming.
1996-04-22 02:34:53 +00:00
christos
78403e6c0c Add a hardware dependent initialization function lehwinit() 1996-04-22 02:25:54 +00:00
veego
a922ebfb8b - Cleanup for -Wall and -Wstrict-prototypes 1996-04-21 21:13:16 +00:00
veego
974e9f6e22 - Cleanup for -Wall and -Wstrict-prototypes
- Added support for multiple floppy drives
- CyberVision64:
        - has now a real console mode
        - another bugfix for boards with the new S3 chip
- Ariadne:
        - fixed crashes with aeput (mbuf failure)
1996-04-21 21:10:48 +00:00
veego
dbf4b28b74 Added support for multiple floppy drives
Added entry for the emplant scsi driver
1996-04-21 21:09:40 +00:00
veego
db6f1b1304 Cleanup for -Wall and -Wstrict-prototypes 1996-04-21 21:06:46 +00:00
ghudson
585e1044c8 aic0 belongs at IRQ 11 (the card default); the entry was apparently
changed to 12 by mistake when GENERIC was created after NetBSD 1.0.
Change confirmed by Perry and several others.  Fixes PR 1878.
1996-04-21 20:55:25 +00:00
leo
18dd6b0909 Prototypes. 1996-04-19 20:35:31 +00:00
leo
f4e4aeed3c Check for curproc being NULL in pmap_remove(). 1996-04-19 20:33:01 +00:00
mark
d4d9deb9d7 Added facility to dump the SCSI information from the asc driver. 1996-04-19 20:15:36 +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
0e486086a5 Added information of the iic and rtc devices. 1996-04-19 20:04:29 +00:00
mark
7bbb222f40 Raise the spl level to spltty while manipulating the virtual console
linked lists.
A couple of minor code cleanups.
1996-04-19 20:03:37 +00:00
mark
c771d9f6c3 Config files updated for the new iic and rtc devices. 1996-04-19 20:00:41 +00:00
mark
584d8e9b80 Updated to reflect removal of iic and rtc code from arm32/ and the
creataion of the iic and rtc devices.
1996-04-19 19:57:49 +00:00
mark
a65bd66705 Header file for IIC structures, prototypes and ioctls. 1996-04-19 19:52:46 +00:00
mark
e51f620a83 Added IIC information for the PCF8583 RTC chip.
Added #ifdef guard on rtc prototypes.
1996-04-19 19:51:48 +00:00
mark
0b22968311 Initial commit of iic and rtc devices. 1996-04-19 19:49:03 +00:00
mark
ab4a325e4c The iic and rtc are now devices and have been rewritten ane moved to the
mainbus directory.
1996-04-19 19:43:31 +00:00
mark
11fb5f4ba0 Added configuration information for character devices iic and rtc. 1996-04-19 19:40:29 +00:00
mark
85d47049cc Don't report time or 'clock has gain ...' message if the base time
was 0 in the inittodr() function.
1996-04-19 19:39:17 +00:00
mycroft
901483b57b Sigh. Send a trace trap only if we are still in VM86 mode. 1996-04-18 21:21:11 +00:00
mycroft
15d4e17598 Send a trace trap only if the trace flag is set at the *beginning* of
the emulated instruction.
1996-04-18 20:36:35 +00:00
mycroft
204542255a After an emulated instruction, check the trace flag and force a trace
trap if needed.
1996-04-18 19:58:09 +00:00
chuck
442dec5d53 new driver: SCSI for VME147
contributed by: Steve Woodford <steve@mctavish.demon.co.uk>

	this driver is based on the amiga sbic/33C93 driver.   Steve has
	cleaned it up and fixed lots of bugs.    Note that the original driver
	used features which require at least a WD33C93A (the vme147 has the
	original WD33C93 chip <no 'A' suffix>).   Steve has also written
	the DMA routines for the 147 to get things really going.   Hardware
	scatter-gather DMA and sync. SCSI are not supported (yet).   tested
	on several disk drives and a tape drive.   CD-ROM untested, but
	should work.
1996-04-18 18:30:49 +00:00
chuck
da32bd7fed add wdsc, enable FFS, move le 1996-04-18 18:14:32 +00:00
chuck
f56be1680c add wdsc device 1996-04-18 18:07:58 +00:00
chuck
a574a3a423 add PCC_ICLEAR 1996-04-18 18:07:08 +00:00
chuck
94b120dfa8 add a "delay" function.
XXX: assumes vme147 speed.   needs to be fixed and sync'd with DELAY.
	[will work with jason/hp300 to fix it properly]
1996-04-18 18:06:30 +00:00
chuck
dbc3478277 establish a dk_establish() function. 1996-04-18 17:43:04 +00:00
mycroft
47bf863ac1 Make some of the flag handling clearer. No functional change. 1996-04-18 10:04:32 +00:00
mycroft
aaed1c2fae Don't bother to enable alignment checking; nobody uses it and it interferes
with VM86 mode.
1996-04-18 09:58:13 +00:00
leo
b3fadef7e0 Yet more prototyping and -Wall fixes. 1996-04-18 08:51:11 +00:00
mycroft
7a8c8f8a5c Turn off the alignment check flag when entering a signal handler. 1996-04-18 08:36:20 +00:00
cgd
7458364702 Implement the I/O read/write-multiple functions for chipsets
that use this file (APECS, LCA, and CIA).
1996-04-18 05:53:04 +00:00
cgd
ff0a52ccd9 define bus_io_{read,write}_multi_{1,2,4,8} functions, which read/write
multiple values from a single I/O port in to/out of an array of values.
1996-04-18 05:47:29 +00:00
cgd
e27e15d0ac change NLE flag for IOASIC LANCE buffer to NLE_IOASIC, and add comments 1996-04-18 00:59:11 +00:00
cgd
03d386daa7 attach le with different attributes, depending on parent (i.e. tc or
ioasic), and use those attributes to pull in appropriate files.
le_ioasic now has needs-flag, but le doesn't; the flag is only necessary
on systems configured with IOASIC-attached LANCE chips.
1996-04-18 00:55:15 +00:00
cgd
d7d306aeb7 change LANCE copy & zero functions' names to start with amd7990_, and
remove their 'integrate' (usually defined to be 'static') keywords.
when lance drivers are split up by attachment, more than one file will
reference the copy/zero functions (i.e. not just the file that pulls in
am7990.c... and eventually inclusion of am7990.c should go away entirely).
1996-04-18 00:25:11 +00:00
cgd
17731baa0d fix copyrights 1996-04-17 22:22:32 +00:00
cgd
69ad2e587b ioasic doesn't need a flag, and correctly conditionalize inclusion of
machines' tc configuration files.
1996-04-17 22:08:29 +00:00
cgd
71c7924099 clean up clock handling: clock drivers are now seperate from the
chip-independent clock code.  'clock' has been renamed 'mcclock'  'clock'
has been renamed 'mcclock' (since it's a driver for that particular
clock, and since eventually there may be another clock chip driver),
and now attaches via seperate match/attach functions to both TC and ISA.
This removes a whole lot of #ifdefs...
1996-04-17 22:01:16 +00:00
cgd
a5778ae63b print cpu names slightly differently (number first) 1996-04-17 21:50:56 +00:00
cgd
0b0a8bfe15 fix bug in pcivga_erasecols() that would cause garbage to be spit out.
other minor style cleanup.
1996-04-17 21:49:58 +00:00