tsubai
8dbaa0169e
Find "mac-io" and "/pci/mac-io".
1999-05-01 10:36:08 +00:00
tsubai
5fff3dafe9
Use "compatible" property to match.
1999-05-01 10:23:42 +00:00
tsubai
9697f9c401
Add more sanity check.
1999-04-30 04:35:35 +00:00
tsubai
599ebb4db1
Now we can use symbols in DDB. :-)
1999-04-29 05:15:30 +00:00
tsubai
741030cc8a
Add loadfile_machdep.h
1999-04-29 03:17:12 +00:00
tsubai
e4e1fcbaa6
Use MI loadfile().
1999-04-29 03:16:20 +00:00
wrstuden
9b0e678d51
Fix compilation errors.
1999-04-22 18:48:59 +00:00
ws
5423093850
Modify syncicache on PowerPC from an inline to a real function.
...
Support different cache line sizes with the same object code in userland.
While here, move the function to implementation name space.
1999-04-17 21:16:45 +00:00
thorpej
e49833cd68
Now that we have direct-mapped pool pages, we can garbage-collect VM_MBUF_SIZE
...
and don't need to allocate mb_map.
1999-04-16 21:47:11 +00:00
thorpej
48a53c250d
Add a stub pciide_machdep_compat_intr_establish() for Power Macintosh.
...
Power Macintoshes with PCI IDE (e.g. the new Blue G3) don't have them
wired to compatibility mode, so just return a NULL cookie. We still have
to have this routine for the PCI IDE driver to link.
1999-04-16 21:15:29 +00:00
chs
f455dd6596
add a `flags' argument to uvm_pagealloc_strat().
...
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.
1999-04-11 04:04:04 +00:00
tsubai
bee9b5d9ab
Enable "de".
1999-04-01 16:11:45 +00:00
thorpej
967b8c433c
Don't call configure() from cpu_startup().
1999-04-01 00:17:45 +00:00
tsubai
7c3a6002b3
Use interrupt-map property rather than hard-coding irqs.
...
(From Dan Winship <danw@MIT.EDU>. Slightly modified by me)
1999-03-29 12:12:03 +00:00
tsubai
e1410f9e82
Remove unused file.
1999-03-28 13:39:30 +00:00
tsubai
85cece609b
Remove unused files.
1999-03-28 13:16:45 +00:00
mycroft
9c6b797796
Changes for modified pmap_enter() API:
...
* Map the message buffer with access_type = VM_PROT_READ|VM_PROT_WRITE `just
because'.
* Map the file system buffers with access_type = VM_PROT_READ|VM_PROT_WRITE to
avoid possible problems with pagemove().
* Do not use VM_PROT_EXEC with either of the above.
* Map pages for /dev/mem with access_type = prot. Also, DO NOT use
pmap_kenter() for this, as we DO NOT want to lose modification information.
* Map pages in dumpsys() with VM_PROT_READ.
* Map pages in m68k mappedcopyin()/mappedcopyout() and writeback() with
access_type = prot.
* For now, bus_dma*(), pmap_map(), vmapbuf(), and similar functions still use
access_type = 0. This should probably be revisited.
1999-03-26 23:41:25 +00:00
tsubai
6dbdfeab77
include GENERIC.
1999-03-26 16:40:09 +00:00
tsubai
35a4f16a60
``INSTALL'' + USB doesn't work (binutils bug?).
...
So use this instead.
1999-03-26 14:58:22 +00:00
mrg
7b93dd1117
remove opt_uvm.h
1999-03-25 00:41:46 +00:00
mrg
ca5f9685bb
clean up kernel/config files files for machVM lossage.
1999-03-24 06:06:09 +00:00
mrg
d2397ac5f7
completely remove Mach VM support. all that is left is the all the
...
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
drochner
76fa1751fe
Add a macro to check for sufficient pointer alignment in bus.h context,
...
"BUS_SPACE_ALIGNED_POINTER()".
Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional
requirements of the bus_space_xxx_n() macros. (BUS_SPACE_DEBUG)
1999-03-23 21:29:03 +00:00
wrstuden
3c8e65b670
Oops. macppc doesn't use PCLK as a baud rate source.
1999-03-23 18:07:19 +00:00
thorpej
63b6321834
VM_MBUF_SIZE is in terms of MCLBYTES, not CLBYTES.
1999-03-23 00:31:59 +00:00
cgd
284689634e
Moved to arch/macppc/include/pci_machdep.h,v
1999-03-19 03:36:19 +00:00
cgd
49e6daa992
Moved from arch/macppc/pci/pci_machdep.h,v
1999-03-19 03:36:18 +00:00
sommerfe
bc533621ed
defopt MINIROOTSIZE
1999-03-17 18:59:21 +00:00
tsubai
79c71e0bae
Check the accessibility before reading from configuration space.
1999-03-15 03:03:10 +00:00
tsubai
07e094073c
Remove bogus comment.
1999-03-15 02:26:10 +00:00
perry
d446fb449c
exterminate ovbcopy. patches provided by Erik Bertelsen, pr-7145
1999-03-12 22:42:30 +00:00
tsubai
5023765f61
Adapt Open Firmware 3.x. 1.x and 3.x are not bug-compatible...
1999-03-05 06:21:17 +00:00
tsubai
4bdf0d9244
Modify parseargs() so that device names can contain '-'.
1999-03-05 06:18:38 +00:00
tsubai
c6a8ff5d24
RSS accounting.
1999-03-05 06:11:18 +00:00
scottr
624b6ac9a6
Implement the BUFCACHE kernel config option.
1999-03-01 21:32:24 +00:00
tsubai
78665b6502
Increase default data size to compile libbfd without `virtual memory
...
exhausted'. Suggested by Scott Reynolds.
1999-02-27 18:32:31 +00:00
scottr
d32ed292af
defopt BUFCACHE and BUFPAGES.
1999-02-27 06:39:34 +00:00
tsubai
b10dbdb37a
Initialize BAT registers in the first place.
1999-02-26 18:36:15 +00:00
tsubai
16442fd649
Add MESH SCSI driver.
...
Sort entries.
1999-02-22 20:25:43 +00:00
tsubai
650f05d8c7
Ensure msgbuf_paddr is accessible (by bat).
1999-02-19 14:11:35 +00:00
tsubai
c8117990ae
Use 6x11 font if screen size is smaller than 1024x768.
...
(Open Firmware ROM has 6x11 font.)
1999-02-19 14:02:33 +00:00
tsubai
da71ba4292
First step of MESH SCSI support.
...
XXX no disconnect/reselect.
XXX sync transfer is very unstable.
1999-02-19 13:06:03 +00:00
tsubai
60307f0ef1
Sync with mac68k.
1999-02-17 14:56:56 +00:00
tsubai
4806be8d02
Use powerpc/reloc.h.
1999-02-16 17:53:42 +00:00
tsubai
adf03cea81
Add copyright notice.
1999-02-16 15:20:51 +00:00
hubertf
100778d54a
RCS ID police
1999-02-15 04:25:28 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
mycroft
2a304686e6
Minor cleanup.
...
Make the initializer for BAUDLO depend on PCLK directly; it was incorrect on
some ports where PCLK is not 4.9152MHz.
XXX Is the default value actually used?
1999-02-11 15:28:03 +00:00
tsubai
cd010c972c
Oops, last change is wrong...
1999-02-08 14:32:00 +00:00
tsubai
d1276ebc65
Make this compile. (and sync with dev/ic completely)
1999-02-06 20:04:31 +00:00
tsubai
7177191d30
Allocate DMA-aware memory area using "dma-alloc" method and use them
...
for data buffer.
XXX currently only netif_put() uses this.
iMac can use ofwboot.elf now.
1999-02-04 15:41:15 +00:00
tsubai
78094a09f1
Uncomment PCI-PCI bridges.
1999-02-04 15:04:58 +00:00
tsubai
630abfea00
Add PCI-PCI bridge support for Bandit.
1999-02-04 14:54:00 +00:00
tsubai
610a648c7d
Use "local-mac-address" property to get MAC address.
1999-02-04 12:14:24 +00:00
mycroft
be1af660c0
Don't set DCD_IE in the frontends. KGDB doesn't even use DCD, and the tty
...
frontends get it from zsparam() anyway.
1999-02-03 20:25:05 +00:00
mycroft
54f0a0ae81
Clone changes from the version in dev/ic. (These should be merged!)
...
Note: NOT tested on this port yet.
1999-02-03 20:19:08 +00:00
tsubai
68c9ce2c96
Don't use BAT register. (not needed now.)
1999-02-02 16:48:17 +00:00
tsubai
a4de4218fd
Use private (its own) segment registers in Open Firmware call,
...
instead of BAT register.
1999-02-02 16:47:08 +00:00
tsubai
ef69721044
findroot() now recognizes network devices.
1999-02-02 16:37:51 +00:00
tsubai
378f49eff8
Ensure lowest 256MB is mapped by BAT0.
1999-02-02 16:29:25 +00:00
tsubai
fed24e89c8
Adapt disklabel_mbr.h change.
1999-01-31 19:56:56 +00:00
tsubai
a4f0ae9043
Adapt disklabel_mbr.h change.
1999-01-31 13:54:24 +00:00
thorpej
24d9973308
Use <sys/disklabel_mbr.h>.
1999-01-27 21:30:08 +00:00
tsubai
941abb6bf6
ofmsr[IP] = 0.
1999-01-27 14:46:28 +00:00
tsubai
5ad236211f
Add file-system MFS.
1999-01-27 12:43:17 +00:00
tsubai
711ac04b78
syncicache(sigcode, sigcodesize) before exec.
1999-01-24 15:07:51 +00:00
tsubai
438b781c46
Match "ata0".
1999-01-22 10:44:38 +00:00
tsubai
321f772d99
Invert Y axis (like ums, pms, ...).
1999-01-18 12:36:36 +00:00
tsubai
ffffbb419c
Fix a intrcnt bug.
1999-01-17 11:53:52 +00:00
tsubai
07d83c4919
Add bmac ethernet.
1999-01-17 11:49:56 +00:00
chuck
417e5339f0
MNN is no longer optional
1999-01-16 20:31:50 +00:00
thorpej
8922647c58
Some minor, mostly costmetic, changes to CPPFLAGS/CFLAGS.
1999-01-15 23:37:05 +00:00
bouyer
dc306354b0
Move the bswap functions from libutil to libc (this bups the
...
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
tsubai
12d2afa11a
Use KS_KEYCODE macro.
1999-01-13 08:13:41 +00:00
tsubai
3bc029b332
Add ``#include "akbd.h"''.
1999-01-12 15:12:44 +00:00
tsubai
5998caa414
Support irq > 31.
...
XXX dirty hack...
1999-01-12 12:06:46 +00:00
tsubai
bb426487a5
Move MSGBUFSIZE from machdep.c to param.h
...
Use the last page for msgbuf instead of fixed MSGBUFADDR.
1999-01-12 10:51:40 +00:00
tsubai
90a73bba2c
Always use polling when poweroff/restart.
1999-01-12 10:38:00 +00:00
drochner
35eeb3f1cd
remove dummy "load_font" entries
1999-01-11 21:54:22 +00:00
tsubai
c91ac313c1
Count clock interrupts.
1999-01-11 09:44:51 +00:00
tsubai
477add6bea
Add irq32 - irq63 to intrnames.
1999-01-11 08:49:58 +00:00
tsubai
8190b5f43f
Add sanity checks in akbd_cnattach().
1999-01-10 10:39:13 +00:00
thorpej
e598335d1c
Garbage-collect `mbutl'.
1999-01-09 22:10:12 +00:00
augustss
fc5f9ee81d
Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C.
1999-01-08 19:26:12 +00:00
thorpej
52fa7c35ac
Add pcscp driver.
1999-01-06 23:43:30 +00:00
tsubai
13529d1878
bmac ethernet driver. (tested on iMac. only 10Base-T works.)
1999-01-01 01:27:52 +00:00
tsubai
bdf1b68276
iMac support (not complete yet).
1998-12-29 06:27:59 +00:00
tsubai
8a5e34f28a
Fix a bug of last change.
1998-12-29 05:17:27 +00:00
tsubai
d5fc963f0e
Add USB.
1998-12-29 04:40:19 +00:00
tsubai
2ad7314a82
Configure only one wskbd/wsmouse.
1998-12-28 00:50:44 +00:00
tsubai
e7e9a2e0e1
Use "interrupt" property if "AAPL,interrupt" is not found.
1998-12-28 00:38:18 +00:00
tsubai
86a0b96c10
Search "interrupts" property if "AAPL,interrupts" is not found.
1998-12-22 19:46:28 +00:00
tsubai
89e0cc0a86
Display frame buffer type when attached.
1998-12-22 19:38:35 +00:00
tsubai
1e7ee2d117
Determine the address of interrupt register at runtime.
...
(iMac has different address)
1998-12-22 19:35:49 +00:00
tsubai
07c96d75d6
Wait one second before powerdown.
1998-12-21 21:58:19 +00:00
tsubai
c232b5d803
Add wdc.
1998-12-10 20:49:17 +00:00
tsubai
b517a9d3d8
Add wd and atapi.
1998-12-10 20:21:28 +00:00
tsubai
ef27ffc3de
Add ata/atapi disk support.
1998-12-10 20:10:03 +00:00
tsubai
ea6bba6b90
Fix a typo.
1998-12-07 17:17:14 +00:00
tsubai
fbeabd992c
Implement sparse bus space support.
1998-12-06 15:39:12 +00:00
thorpej
7fa243e59e
Pass the symbol table size, like a.out.
1998-12-04 20:22:36 +00:00
tsubai
619952b3ee
Not used.
1998-12-03 11:05:18 +00:00
thorpej
16eabd8a1f
Add an RCS ID.
1998-11-28 20:59:26 +00:00
hwr
59acb69be1
Add (commented out) 'gre' pseudo device line. Feedback is welcome.
...
Inspired by Klaus Klein.
1998-11-25 20:30:44 +00:00
tsubai
f917584d54
Add more delay in adb_reinit().
1998-11-24 08:26:50 +00:00
tsubai
01a2fb8424
Fix typo.
1998-11-22 15:57:37 +00:00
thorpej
5f0577babc
Adapt to the new scsipi_adapter interface.
1998-11-19 21:43:00 +00:00
mrg
db3051d720
fix problems in many d_mmap routines:
...
- returned EOPNOTSUPP rather than -1.
- no check for negative offset.
many of these fix potential security problems in these drivers.
XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
paddr_t (*d_mmap) __P((dev_t, off_t, int));
by someone!
1998-11-19 15:38:20 +00:00
tsubai
099f099133
Don't send mouse events to wsmouse layer if wsmouse isn't configured.
1998-11-18 09:11:34 +00:00
oster
cf5710c839
Added a (commented out) configuration line for the RAIDframe device driver.
1998-11-16 16:44:55 +00:00
tsubai
7c939afccf
RTC support for pmu (read only).
1998-11-15 19:41:33 +00:00
oster
c74d32c5fc
Updating of bdev's and cdev's to support RAIDframe.
1998-11-13 04:47:03 +00:00
tsubai
1bf603b543
Sync to mac68k.
1998-11-05 11:46:07 +00:00
tsubai
8634976fb2
Move conversion of PRAM-time to UNIX-time to clock.c (like mac68k).
1998-11-04 15:06:13 +00:00
tsubai
0b3665db48
Add "Paddington" ID.
1998-11-03 12:15:57 +00:00
dante
27e57114e1
Add support for macppc
...
Very special thanks to Itsumi Tsutsui for his invaluable collaboration.
1998-10-28 21:06:27 +00:00
tsubai
d6ebbdb79a
Fix -Wpointer-arith warning.
1998-10-25 17:39:52 +00:00
tsubai
262ba9ad95
Fix miscounting of length in syncicache().
1998-10-25 10:13:21 +00:00
tsubai
325ecdada1
Use PCI function number correctly.
1998-10-21 08:58:36 +00:00
tsubai
e6efdfc6af
Add via-pmu support.
1998-10-20 15:13:14 +00:00
tsubai
330d14c254
Oops, forgot to add them.
1998-10-20 14:59:16 +00:00
tsubai
6f402eb495
Add via-pmu support (only PowerBook 2400c/180 is tested).
1998-10-20 14:56:30 +00:00
tron
b296275bb4
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
1998-10-19 22:09:13 +00:00
tsubai
07e2c44982
Make compilable without aed.
1998-10-18 09:52:16 +00:00
tsubai
541bc2d3d7
Add wsmouse support.
1998-10-18 09:31:40 +00:00
drochner
2468738337
change handling of libkern:
...
-sys/lib/libkern builds as library per default (as it was documented all
the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
(for now; should depend on actual "option LKM" or -better- functions
included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
by libcompat, but not the other way
1998-10-15 18:37:13 +00:00
tsubai
3b892dd579
/chaos/control support. (tested 640x480 mode only)
1998-10-15 14:48:47 +00:00
tsubai
810fcde7eb
Set PCI bus number correctly.
1998-10-15 14:39:53 +00:00
tsubai
4f4676e9c0
Sync to ``POWERMAC'' config.
1998-10-14 13:54:09 +00:00
tsubai
635d4ae57a
Fix typo.
1998-10-14 13:21:10 +00:00
tsubai
c539169765
wskbd support.
1998-10-14 12:56:19 +00:00
tsubai
f6f8f9b3f5
Oops, remove ite/grf.
1998-10-14 12:31:34 +00:00
tsubai
461a9c9361
Add wsdisplay/wskbd.
1998-10-14 12:28:54 +00:00
tsubai
ced4fd09b4
Add wsdisplay.
1998-10-14 12:27:03 +00:00
tsubai
20e56a7571
Add wsdisplay (, wskbd, and wsmouse).
1998-10-14 12:21:21 +00:00
tsubai
9fdd9b72df
Implement PCI tag to OpenFirmware device convert function (pcidev_to_ofdev).
1998-10-14 12:18:20 +00:00
tsubai
b6e7cc68c6
akbd: wskbd support.
...
ofb: OpenFirmware generic framebuffer.
1998-10-14 12:15:10 +00:00
tsubai
7d9356dcca
Fix cut-and-paste miss...
1998-10-13 13:15:29 +00:00
tsubai
b373c846b4
ADB change.
1998-10-13 11:25:26 +00:00
tsubai
7756c05cc4
Split ADB driver to aed (ADB event device), akbd (ADB keyboard),
...
and ams (ADB mouse). adb is a bus now. (from Colin Wood)
1998-10-13 11:21:20 +00:00
thorpej
908cdfe4e3
Add scsibus entry points to the cdevsw[].
1998-10-10 02:00:49 +00:00
thorpej
29d472f53d
Garbage-collect the open_target_lu and close_target_lu entry points from
...
struct scsipi_adapter; they were not used.
Add a scsipi_ioctl entry point to struct scsipi_adapter. This will be
used to issue ioctl commands to the host adapters.
Inspired by PR #6090 , from Matt Jacob.
1998-10-10 00:28:28 +00:00
tsubai
d976f73513
Enable interrupt AFTER autoconfiguration.
1998-10-07 06:24:58 +00:00
tsubai
31314a2d26
Mask clock interrupt properly if >= splclock.
1998-10-07 04:58:23 +00:00
thorpej
d681cf055a
configure() prototype is in <sys/device.h>
1998-10-06 20:50:15 +00:00
thorpej
01a1588265
Initialize the DMA map's bounce threshold to the tag's at map creation time,
...
and use the map's threshold when loading the map.
1998-10-03 21:38:48 +00:00
thorpej
10557b15d7
Add a private bounce threshold to the DMA map, initialized in a bus-dependent
...
fashion.
1998-10-03 21:24:00 +00:00
thorpej
2671c2fa42
Make bus_dmamap_load_uio() work, from Kevin Lahey <kml@nas.nasa.gov>.
1998-09-21 22:51:56 +00:00
tsubai
bd8b85cdd8
Correct battable[] usage.
1998-09-21 17:16:26 +00:00
mycroft
fa31b94af9
Fix omission in previous; remember to record that we're on the signal stack.
1998-09-13 11:57:58 +00:00
thorpej
c7d391b23c
Make signal delivery work again.
1998-09-13 09:15:51 +00:00
wrstuden
eefa9491d1
Turn on support for 115,200 and 230,400 baud. Should work, but might
...
generate lots of interupts (one per char or so) if we don't have
DMA set up.
1998-09-09 20:58:06 +00:00
thorpej
8abe0d6b1c
Adjust for the new "reaper" kernel thread: do not free the vmspace and
...
u-area in machine-dependent code. Instead, call exit2() to schedule
the reaper to free them for us, once it is safe to do so (i.e. we are
no longer running on the dead proc's vmspace and stack).
1998-09-09 00:07:48 +00:00
pk
8a30c7eaef
Assign my copyrights to TNF.
1998-09-05 15:30:24 +00:00
pk
29bae173fa
Relinquish my copyright claims on this file.
1998-09-05 15:29:35 +00:00
lukem
c9db84ecc9
distclean is a synonym for cleandir
1998-09-05 15:15:14 +00:00
tsubai
bd83774fb0
Switch to UVM on macppc.
1998-09-03 15:11:52 +00:00
tsubai
a647a97b1a
Remove HTABENTS definition. (calculated automatically)
1998-09-03 14:10:56 +00:00
tsubai
99c8212d10
Change void mcintr() to int mcintr().
1998-09-03 14:06:06 +00:00
tsubai
8159431e7e
Make disklabel writable even if no disklabel exists.
1998-09-01 17:42:59 +00:00
tsubai
2c6eefb899
Add some prototypes.
1998-09-01 17:33:04 +00:00
tsubai
d5a3d4b4b7
Don't set RTC time before reading it.
1998-09-01 13:07:23 +00:00
cgd
d58173741d
kill the last remnants of __BROKEN_INDIRECT_CONFIG. (only the pica port
...
used it, and it's non-working and apparently slated for replacement.)
1998-08-31 22:28:04 +00:00
tsubai
1c3e72cd0e
Back out previous change.
1998-08-26 11:44:06 +00:00
tsubai
d4d7416198
vm_offset_t --> [pv]addr_t.
1998-08-21 16:13:28 +00:00
thorpej
136e58fb9f
Internal cleanup.
1998-08-17 22:35:04 +00:00
tsubai
573f3aee5c
Enable 115200 and (untested)230400 bps.
1998-08-16 11:24:36 +00:00
wrstuden
961641ad2d
We claim to support some mii-equiped pci ethernet drivers, so we
...
need to include dev/mii/files.mii. :-)
1998-08-16 01:40:29 +00:00
mycroft
6dc903202f
Assign my copyrights to TNF.
1998-08-15 10:10:47 +00:00
mycroft
129cbf95ee
Minor edit.
1998-08-15 05:16:41 +00:00
mycroft
b2827b9d36
Assign copyright to TNF.
1998-08-15 04:16:55 +00:00
mycroft
6d3d8a1350
Make copyright notices with my name consistent.
1998-08-15 03:02:31 +00:00
tsubai
0acc329dad
Remove ``#define ovbcopy bcopy''. This exists in sys/systm.h now.
1998-08-13 06:21:38 +00:00
tsubai
a750861e5d
Mask interrupt by hardware register if possible.
1998-08-13 06:18:27 +00:00
tsubai
b872f9b8e7
avoid lint error.
1998-08-09 12:47:27 +00:00
tsubai
5b03ac980b
Use ite for screen console by default until wscons support.
1998-07-29 05:38:04 +00:00
tsubai
fbd86622a0
Add ``install floppy'' config file.
1998-07-29 05:19:26 +00:00
thorpej
1712467308
fic typi
1998-07-29 00:31:01 +00:00
thorpej
8a2c338704
Use a std options file, like other ports do.
1998-07-29 00:19:20 +00:00
thorpej
7698349700
Ah, we use a _different_ ofcons; rename it macofcons to avoid the
...
name collision.
1998-07-28 23:43:33 +00:00
thorpej
8a3626d966
ofcons attaches to ofbus, not pci! Comment it out, since we do not have
...
any ofbus support in these configurations.
1998-07-28 23:09:07 +00:00
thorpej
d0714d3f21
Support NFS_BOOT_DHCP.
1998-07-28 23:02:06 +00:00
tsubai
1ca186e04d
G3 Macs also needs to fix pci io/mem enable bits.
1998-07-24 20:53:57 +00:00
tsubai
5cc05df4ca
Comment out "insert root disk..." message.
...
Remove unnecessary video init.
1998-07-24 15:52:04 +00:00
tsubai
5f9682b601
Calculate DELAY constant before configure().
1998-07-24 14:40:40 +00:00
tsubai
cc035ff82e
Oops, I forgot to commit this with bus_dma stuff.
1998-07-21 18:01:30 +00:00
tsubai
0f572b1caa
Preserve OpenFirmware's msr and use it in openfirmware().
1998-07-21 17:53:50 +00:00
is
6054d626f9
Switching dev/ic/lpt.c to use spllpt() instead of spltty(). It doesn't use
...
tty structures, and on some machines (namely the DraCo internal lpt, and some
multi-i/o boards for Amigas and DraCos), tying spltty to the pretty high printer
interupt level would hurt serial performance.
On all affected ports but Amiga, spllpt() has been defined in machine/intr.h
to be spltty(), thus preserving old behaviour. Portmasters are encouraged to
change is, if they feel something else is better (e.g., one of its own were
possible).
1998-07-18 21:27:25 +00:00
tsubai
2948f65db4
Use unsigned comparison of tbreg in delay().
1998-07-18 16:23:44 +00:00
thorpej
2fc1260cc0
Implement bus_dmamap_load_uio().
1998-07-17 21:09:59 +00:00
thorpej
142429fb34
bus_dma carries TNF copyright.
1998-07-17 19:02:46 +00:00
tsubai
c11b71818d
Fix typo.
1998-07-17 18:53:19 +00:00
tsubai
08574665d0
Write (fake) Apple Partition Map when install boot block.
1998-07-17 18:48:37 +00:00
tsubai
0a6758d760
"chaos" PCI controller support.
...
Clean up.
1998-07-17 18:40:31 +00:00
tsubai
5f7fef3c79
Add bus_dma support.
1998-07-17 18:38:10 +00:00
tsubai
fb93315ffc
Change pcitag_t format for bandit.
1998-07-17 18:31:56 +00:00
tsubai
dc16918e07
Add support for G3 Mac.
1998-07-13 19:37:28 +00:00
tsubai
14fd96b811
Get framebuffer address from Openfirmware.
1998-07-13 19:31:53 +00:00
tsubai
ed1ec91943
Change VM_MAXUSER_ADDRESS to 0x7ffff000.
1998-07-13 19:28:56 +00:00
tsubai
a0fead97de
Add support for Motorola MPC106.
1998-07-13 19:27:13 +00:00
tsubai
37c5807bba
Clean up a bit.
1998-07-13 19:22:26 +00:00
tsubai
209036f339
Revert to previous version.
...
Use ROM font.
1998-07-13 19:14:43 +00:00
tsubai
96a07e3f99
Use "boot-device" if "bootpath" is not set.
1998-07-13 17:38:37 +00:00
tsubai
dd998f4113
* Use "boot-device" if "bootpath" is not set.
...
* Reduce code size.
1998-07-13 17:35:55 +00:00
thorpej
8f2575ec87
Use fixed-size types.
1998-07-07 04:29:42 +00:00
jonathan
b37021c1a1
defopt NATM.
1998-07-05 22:48:05 +00:00
jonathan
011f2bda08
defopt NS, NSIP.
1998-07-05 06:49:00 +00:00
jonathan
5c0c5dd0b4
defopt ISO TPIP.
1998-07-05 04:37:35 +00:00
jonathan
fe484937cf
defopt LLC
1998-07-05 03:14:41 +00:00
jonathan
8db0fcdbf7
defopt CCITT.
1998-07-05 02:12:22 +00:00
jonathan
3751946b97
defopt INET, NETATALK.
1998-07-05 00:51:04 +00:00
jonathan
466e784ee1
defopt DDB.
1998-07-04 22:18:13 +00:00
tsubai
21f84e9128
Add nvram device support.
1998-07-03 11:50:32 +00:00
tsubai
197650c433
Reduce flushcache'd area.
1998-07-02 19:26:02 +00:00
tsubai
a8ce5c2403
Console support.
1998-07-02 18:58:32 +00:00
tsubai
f1b1f5211a
Display/Keyboard console support (by calling Openfirmware)
1998-07-02 18:46:28 +00:00
tsubai
ee91417fc2
Use BAT to map Openfirmware work area.
1998-07-02 18:21:03 +00:00
tsubai
57d093fa36
Powerdown support.
1998-06-26 14:18:08 +00:00
tsubai
0fe318b3bc
Change load address of ofwboot for large (md root) kernel.
1998-06-26 12:29:28 +00:00
lukem
bd8d501f7e
remove options FIFO; it's now the default
1998-06-26 01:53:43 +00:00
tsubai
730bea0760
Add memory disk support.
1998-06-24 15:13:42 +00:00
tsubai
a40645e966
Fix CLKF_INTR() (from tsutsui@ceres.dti.ne.jp)
1998-06-24 14:20:50 +00:00
tsubai
37a089fe32
Add support for "ohare" I/O controller.
1998-06-21 15:06:19 +00:00
tsubai
a3b42569ad
Stop using "options FIRMWORKSBUGS".
1998-06-21 13:46:02 +00:00
tsubai
9b047c7c15
Move shutdownhook_establish before the attachment of common parts.
1998-06-19 14:11:32 +00:00
cgd
651b44e211
Rework the way kernel include files are installed. In the new method,
...
as with user-land programs, include files are installed by each directory
in the tree that has includes to install. (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.) The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change. Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
tsubai
4486c63ae4
Add primary boot (bootxx) and installboot command.
1998-06-12 21:07:23 +00:00
tsubai
18bfac1eca
Initialize "minaddr" to 0 in cpu_startup() when UVM is defined.
1998-06-12 20:58:57 +00:00
tsubai
8f262b2d67
Add (missing) "filedesc"
1998-06-05 12:24:44 +00:00
tsubai
6bf20f4c29
Add support for UVM and MACHINE_NEW_NONCONTIG.
1998-06-05 12:22:43 +00:00
thorpej
a7f360c6c9
Specify a non-profiling C rule.
1998-05-31 23:25:41 +00:00
tsubai
a8b4eda678
Remove unnecessary cache flush.
1998-05-30 06:16:06 +00:00
tsubai
560c0e7643
Make configurable without adb.
1998-05-30 06:13:03 +00:00
tsubai
c1da5f908f
Use arch/powerpc/.
1998-05-29 10:32:49 +00:00
kleink
a97fc2f180
If any of _ANSI_SOURCE, _POSIX_C_SOURCE or _XOPEN_SOURCE are defined, don't
...
provide any identifiers other than sig_atomic_t.
1998-05-25 20:59:01 +00:00
drochner
bd9ed5a6fd
STANDALONE->_STANDALONE (cpp definition)
...
closes PR kern/5481 (Erik Bertelsen <erik@q610.ebe.uni-c.dk>)
1998-05-22 12:56:35 +00:00
is
0f3fa9f640
Fix tyop.
1998-05-20 20:42:08 +00:00
tsubai
2be6df07c6
Initial import of macppc port.
1998-05-15 10:15:45 +00:00