Commit Graph

518 Commits

Author SHA1 Message Date
tsutsui
7865e586d3 Typo in comments. (Zilog 8350 -> 8530) 2000-04-14 13:29:57 +00:00
mrg
01ff053e58 add bpt and lpt. fixes final gcc warnings for GENERIC. 2000-04-14 08:36:39 +00:00
mrg
af6a8541e4 add some casts to (u_long) to shut up gcc. cleanup unused variables 2000-04-14 08:29:03 +00:00
mrg
726f5f3169 two more compiler warnings killed. 2000-04-14 04:08:26 +00:00
eeh
9b019404f8 Apparently gas 2.9.5 (don't ask) does not like to add values to %lo()
directives so move the additions inside %lo() to make it happy.
Hopefully this won't break older versions.
2000-04-13 18:40:27 +00:00
eeh
92aaaad1e1 Make /etc/mk.conf optional for kernel builds. 2000-04-13 16:57:51 +00:00
mrg
fd85c1c4a2 avoid a potential memory leak. 2000-04-13 14:39:34 +00:00
mrg
5792df1cf9 - do the "options<space><tab>" thing everywhere.
- disable COMPAT_AOUT.
- enable hme at sbus/pci
- enable bpp at sbus
- clean up esp attachments
- enable all xxphy's
- sync GENERIC & GENERIC64.
2000-04-13 11:23:14 +00:00
mrg
fa13d97855 this does not need auxreg.h 2000-04-13 09:54:43 +00:00
mrg
b60fe7f45a store all the physical address bits. 2000-04-13 09:53:49 +00:00
mrg
e7f3d69787 this does not need auxreg.h 2000-04-13 09:52:46 +00:00
mrg
542f08a422 add a version file. 2000-04-13 09:38:12 +00:00
mrg
f2ab01bf42 copy the "sparc" clean/cleandir target code, so that "cleandir" actually does a "clean" 2000-04-13 09:23:38 +00:00
pk
a388797ed5 Ignore unknown devices on mainbus. 2000-04-12 11:40:12 +00:00
chs
1f7a988bd2 unconditionalize "ifdef sparc". 2000-04-12 04:06:41 +00:00
mrg
1fdef1b204 deja vu: add "struct device *booted_device;" so raidframe links. 2000-04-12 00:47:10 +00:00
mrg
b2d31a5cc9 - fix a speeling error
- rename some numbered labels to be a bit less confusing.
- remove dead code
- fix a debug error message (argh!)
2000-04-10 16:28:56 +00:00
mrg
cb2b15a484 - UltraSPARC IIi does not have streaming buffers; don't try to find it's
diag regsiter to work out why the (non-existant) strbufs don't work.
- check for malloc failure in _all_ places.
- setup the PCI control register as recommended in the IIi users manual.
2000-04-10 16:11:23 +00:00
mrg
79f22c2c51 UltraSPARC IIi CPU has bits 6-10 of the INO hardwired to 1. when we
install an interrupt handler, make sure we set these bits to 1.  now,
interrupt_vector in locore can find our registered interrupt handlers
and at least try to setup a call to them.
2000-04-10 16:07:50 +00:00
mrg
304778e6c2 - IRSR_BUSY is bit 5 not bit 4.
- IRSR_MID(x) is &'d with 0x1f (5 bits) not 0xf.
2000-04-10 16:05:13 +00:00
mrg
f7618dcb04 add 4 more bits for the PCI control register 2000-04-10 16:04:02 +00:00
pk
cfadc0991a Get a kernel without DDB to build. 2000-04-10 13:34:18 +00:00
mrg
e2ed27832e with these two, POWEROFSEVEN now compiles cleanly. 2000-04-08 15:15:41 +00:00
mrg
171d3a1576 don't use -Wuninitialized 2000-04-08 04:46:15 +00:00
mrg
d0be8351d9 add casts to stop gcc complaining 2000-04-08 04:45:41 +00:00
mrg
4583d39d24 correct the pci ino->ipl table. shut up gcc once more. 2000-04-08 04:35:01 +00:00
mrg
5b5f175f38 - store the ebus's parent so we can find the IOMMU
- use generic iommu routines in the ebus code (uses the above)
- add some more comments.
2000-04-08 04:33:09 +00:00
mrg
d360a37afd - remove unused variable.
- include <sparc64/sparc64/cache.h> to get cache_flush() prototype.
- remove an unnecessary cast.
2000-04-08 04:17:31 +00:00
mrg
34d04ff6db include <ddb/db_output.h> to get the db_printf() prototype. 2000-04-08 03:09:00 +00:00
mrg
748cfc6b99 rearrange a little to accommodate real SUNW,psycho support. 2000-04-08 03:08:20 +00:00
mrg
70e38e4034 actually, i wrote these in 2000 2000-04-08 03:07:07 +00:00
thorpej
4044b5a41c Use separate callouts for motor-on and motor-off. Fixes a condition
where the floppy driver would wedge because a motor-on timeout would
be cancelled by another I/O operation cancelling a motor-off timeout.

From enami tsugutomo <enami@sm.sony.co.jp>.
2000-04-07 16:58:53 +00:00
mrg
580ccd66ad make this work with years-old new-style mdsetimage, etc. 2000-04-06 13:39:26 +00:00
mrg
966add799c avoid some more compiler warnings, and fix a couple of errors. 2000-04-06 13:32:49 +00:00
mrg
6b64191106 add some more casts to shut up gcc. 2000-04-06 12:49:00 +00:00
mrg
736ce53ae5 - #include "opt_ddb.h" to get correct Debugger() prototype.
- add some (u_long) casts to shut up GCC.
2000-04-06 12:17:26 +00:00
mrg
2809e2c3c4 cast to u_int64_t before shifting by 32 bits; avoids compiler warning. 2000-04-06 12:08:34 +00:00
mrg
c4436b3c73 add some comments, clean this up a bit. 2000-04-05 14:30:44 +00:00
mrg
410a32c515 enable auxio at ebus. 2000-04-05 14:28:55 +00:00
mrg
21adbdd7d0 after enabling the streaming buffer, check to see that it is actually
there and enabled.  if it appears to be missing or not enabled, do
not use it.
2000-04-05 14:26:51 +00:00
mrg
ff95126059 add a couple of comments. 2000-04-05 14:23:45 +00:00
mrg
b986c284fe correct a message 2000-04-05 14:23:27 +00:00
mrg
cb71509569 be slightly more verbose when attaching ebus devices. 2000-04-05 12:30:42 +00:00
mrg
add6dbf96c clean this up some. 2000-04-05 08:03:03 +00:00
mrg
f4e31c4b14 attach auxio at ebus 2000-04-05 07:58:44 +00:00
mrg
9933bfdf9c driver for the PCI/ebus AUXIO registers. 2000-04-05 07:52:48 +00:00
mrg
508af4078f - go through a list of kernels like other ports do.
- don't drop off the partition from the boot device, so that we
  can boot from partitions that aren't the start of the disk...
2000-04-05 06:23:33 +00:00
mrg
66ca8568fe minor cleanup. 2000-04-05 06:21:14 +00:00
mrg
f3468bd3d8 use DPRINTF() style debug messages; s/sbus/iommu/ in a few remaining places. 2000-04-05 05:59:03 +00:00
mrg
fe2a55b12c include opt_ddb.h. use generic iommu enter/remove/flush routines 2000-04-05 03:08:03 +00:00