Commit Graph

1073 Commits

Author SHA1 Message Date
scottr
f6f4cf1d40 Remove redundant info from bus_space_map() diagnostic in ascattach() 1997-02-13 19:55:48 +00:00
scottr
0f53b79607 #include <sys/systm.h> to bring in printf() prototype 1997-02-13 19:42:42 +00:00
scottr
603a2bd8f4 Add hsk and drq locators, which will be used only by SCSI devices. 1997-02-13 19:01:07 +00:00
scottr
ed573bfb7c Split the obio interface into two forms: optional address only for most
devices (obio_norm) or optional address, HSK, and DMA for 5380-based SCSI
controllers (obio_scsi5380).  Update all obio-attached drivers
appropriately.

Also, attach fpu to mainbus, rather than obio.
1997-02-13 18:59:06 +00:00
scottr
570e1f1eb2 Attach the fpu to mainbus, not obio 1997-02-13 17:29:43 +00:00
scottr
7e1c9811f9 Move asc0 here from std.mac68k. Remove COMPAT_SUNOS, as it's dead weight
on this machine.  Add some minimal driver descriptions.
1997-02-12 04:47:05 +00:00
scottr
362d7e5473 Move asc0 here from std.mac68k. Add some minimal driver descriptions. 1997-02-12 04:31:35 +00:00
scottr
8807428ab4 Move asc0 here from std.mac68k, and enable PFIL_HOOKS option so that
the if_ipl LKM can be loaded.  Add some minimal driver descriptions.
1997-02-12 04:29:10 +00:00
scottr
cdcbc525e6 Move asc to individual kernel config files 1997-02-12 04:26:05 +00:00
scottr
f5ac9d5deb Add a bus space tag field to obio_attach args, initialize it in
obio_search(), and use it in the ASC driver.  Thanks to Jason for
pointing this out.  Minor KNFing while I'm here.
1997-02-11 22:44:25 +00:00
scottr
f9e4592ed5 Add an addr locator to obio. 1997-02-11 21:25:07 +00:00
scottr
78098d98dc Remove dependency on asc driver, using generic console bell callback
instead.  Bell parameters are now entirely self-contained, as they
are managed by ite-specific ioctl()'s.
1997-02-11 07:51:18 +00:00
scottr
77e960bf17 Complete revamp of Apple Sound Chip support. The ASC can now be accessed
as a real device whose registers and buffers are available through mmap(2),
which makes further development of the driver considerably less painful.
1997-02-11 07:47:36 +00:00
scottr
2a2a70d39c Initialize and use extent manager for bus space mapping functions.
Tweak bus_space_{tag,handle}_t types slightly to facilitate this.
1997-02-11 07:37:41 +00:00
scottr
154aa56b01 Add asc character device; kill cdev_grf_init() macro. 1997-02-11 07:35:49 +00:00
scottr
876ad8d706 Console bell callback support prototypes 1997-02-10 22:13:40 +00:00
scottr
e0be798a98 Add needs-flag to asc driver 1997-02-10 22:11:27 +00:00
scottr
c1370f4435 Add console bell callback support 1997-02-10 22:06:20 +00:00
perry
19d153fc48 Nuke some options GENERIC residue. 1997-02-04 04:57:10 +00:00
perry
0b3a46d6b3 Nuke some GENERIC residue. 1997-02-04 04:31:55 +00:00
scottr
d8deae5099 Convert to bus.h; this removes the need for the ASCBase global. 1997-02-03 17:36:00 +00:00
scottr
f042e543c9 Implement basic bus space access macros/functions.
Note:  we currently do not use the extent manager.
1997-02-03 17:32:54 +00:00
scottr
df2df037ca copypage() is now declared in m68k/cpu.h 1997-02-02 21:33:30 +00:00
scottr
ea6b85a8db copypage() is now declared in m68k/cpu.h 1997-02-02 18:19:55 +00:00
thorpej
07ded04c6f Use zeropage() in pmap_zero_page() 1997-02-02 08:20:38 +00:00
thorpej
6bab515bce zeropage -> devzeropage, and make it static. 1997-02-02 08:18:58 +00:00
thorpej
2282bab9ea Garbage-collect extra copypage() 1997-02-02 08:17:46 +00:00
scottr
37fbc156dc Now that we can compile without warnings, enable -Werror 1997-02-01 21:55:23 +00:00
thorpej
bb1cdc5027 Yet Another NFSCLIENT -> NFS. (I must be getting tired.) 1997-01-31 06:13:42 +00:00
thorpej
87e3085155 Adopt for new file system and root spec grammar. 1997-01-31 06:02:19 +00:00
thorpej
739f23a219 This file is obsolete; this information is now generated by config(8). 1997-01-31 05:12:49 +00:00
thorpej
5f46d3130a Use new machine-independent setroot(). 1997-01-31 01:51:17 +00:00
scottr
b19a7547d4 Forgot PFIL_HOOKS; correct this. Also, organize options less insanely. 1997-01-26 18:41:19 +00:00
scottr
db2c833016 Add LKM, ipfilter 1997-01-25 22:44:08 +00:00
scottr
818ebb4e22 Add `options LKM' 1997-01-25 22:41:40 +00:00
scottr
017d77a9f9 ::\' => :\' ; per recent sys/lib/*/Makefile.inc changes. 1997-01-25 22:39:32 +00:00
thorpej
7b40f5228e "md" is declared in sys/conf/files, now. 1997-01-21 09:39:20 +00:00
scottr
d19b3500e3 Define single-instruction implementations of setsoft*() and siroff(),
and declare ssir as volatile.  This avoids the problem of lost softints
should a hard interrupt cause a softint to be flagged while we are
clearing a different one.

Idea from atari mtpr.h, modified/optimized by me.
1997-01-20 05:08:00 +00:00
scottr
b8b7d0ba0c Kill uninitialized variable warning in trap(), plus mir KNFing 1997-01-20 04:30:05 +00:00
scottr
7c87e4e501 #ifdef out write hack, and fix possible uninitialized variable. 1997-01-20 04:27:49 +00:00
scottr
1c4a180f28 Compile with -O2 now. 1997-01-20 00:31:42 +00:00
scottr
82f443d641 Minor formatting cleanup, and remove an old comment 1997-01-20 00:30:56 +00:00
perry
b89a3425b7 Eliminate obsolete TIMEZONE and DST options.
Eliminate obsolete global kernel variable "struct timezone tz"
Add RTC_OFFSET option
Add global kernel variable rtc_offset, which is initialized by
RTC_OFFSET at kernel compile time.
on i386, x68k, mac68k, pc532 and arm32, RTC_OFFSET indicates how many
minutes west (east) of GMT the hardware RTC runs. Defaults to 0.
Places where tz variable was used to indicate this in the past have
been replaced with rtc_offset.
Add sysctl interface to rtc_offset.
Kill obsolete DST_* macros in sys/time.h
gettimeofday now always returns zeroed timezone if zone is requested.
settimeofday now ignores and logs attempts to set non-existant kernel
timezone.
1997-01-15 01:28:28 +00:00
scottr
4ee6502e8b Whoops, forgot to include ipfilter.h 1997-01-13 23:46:11 +00:00
scottr
d186ff0991 Add ipfilter (pseudo-) device. 1997-01-13 23:34:04 +00:00
scottr
121971f622 Compile with -O2 (need to update COPTS so we still get -m68030) 1997-01-13 07:08:51 +00:00
scottr
9792072925 Compile kernels with -O2 1997-01-13 07:06:51 +00:00
scottr
e14ea342e3 Some changes to make ADB work when compiled with -O2:
- extdms_done is modified by things outside of our direct control;
    it needs to be declared `volatile'
  - CountADBs() fails when we call it the second time.  We can work
    around this by telling extdms_init() how many ADB devices we have,
    only calling CountADBs() once.
1997-01-13 07:01:23 +00:00
mikel
aed485cdf2 add 'pseudo-device ccd' where necessary; PR kern/1830. 1997-01-11 09:11:37 +00:00
scottr
233a1d3f57 Use only FC $1 in TT0 in get_pte(), and map the entire address space. We
can then access the page table entries directly using user data space with
the MOVES instruction.  This should resolve the problem on the Duo 2x0
series with hard hangs in this function.

Warning:  do not call any function that accesses user data space (FC $1)
from get_pte()!
1997-01-09 07:28:12 +00:00