Commit Graph

171 Commits

Author SHA1 Message Date
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