Commit Graph

805 Commits

Author SHA1 Message Date
chs bd2a5f591d switch all mpc6xx powerpc ports to NEWPMAP by default.
the old pmap is still available with the OLDPMAP option.
2002-03-09 23:35:56 +00:00
wiz 0f2823f594 Add commented out option OFB_ENABLE_CACHE (speeds up text display on
the console).
2002-03-07 13:10:12 +00:00
itojun ac36f7cb2c bring in latest ALTQ from kjc. ALTQify some of the drivers. 2002-03-05 04:12:57 +00:00
dbj ed04b7ecb3 add a few missing keys, including f1-f12,home,end,next,prior 2002-03-04 04:03:36 +00:00
nathanw 780a2774c6 The cpu device now requires sysmon_envsys. 2002-03-03 07:04:34 +00:00
nathanw de0fe89086 Add sysmon device (62). 2002-03-03 07:02:54 +00:00
jmc 68b038f787 Wrap the generation of machine and powerpc links so they don't happen during
make obj, clean or cleandir as the proper objdir may not be around yet.
2002-03-02 06:32:28 +00:00
matt 102f6b0e48 Make sure I/O bats are set to BAT_I|BAT_G (guarded, cache-inhibited) as to
not allow speculative loads to occur within them.  This is the cause of the
random MCHKs on 7450 based Mac's.
2002-03-02 00:44:08 +00:00
simonb 4324f37586 Use "#define<tab>". 2002-02-28 03:17:23 +00:00
dbj 5f15cedc89 solve polled adb keyboard problems with dropped keys and unsynced caps lock
by queueing polled keys.
2002-02-24 20:20:20 +00:00
dbj c467951c58 turn on polling using cnpollc 2002-02-23 10:51:50 +00:00
dbj b97918f553 In adb_soft_intr, remove the packet from the queue before calling the
completion routine so that the completion routine can reentrantly
process the queue.  This happens, for example. when polling is turned
on by entering the debugger by keystroke.
2002-02-23 10:47:16 +00:00
wiz 37e458fa45 strategy should have an 'r'. Inspired by similar change in OpenBSD. 2002-02-19 17:09:40 +00:00
mycroft 22d8cbc4f9 Make this build without akbd (again). 2002-02-16 08:30:27 +00:00
wrstuden 3a971f756f Make this work with the dependall target.
Pointed out by Christian Groessle on port-macppc, and patch suggested bu
Izumi Tsutsui.
2002-02-13 17:52:08 +00:00
wiz 3cc2ef9997 Update description for icsphy. 2002-02-10 17:36:52 +00:00
wrstuden 0dd5e345ea Check in machinery to make ofwboot load at 600000, while ofwboot.elf
and ofwboot.xcf will load at 640000. The idea is that we can now
leave load-base at 600000, and it will work right for all three methods.

The problem is that the file loader and the net loader use load-base
as a scratch area, so if the executable really wants to load there,
the load fails.
2002-02-01 18:45:29 +00:00
jdolecek 6d265bd894 add options PIPE_SOCKETPAIR to individual kernel configs
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
2002-01-27 13:23:08 +00:00
oster 39b858e3bf Add new RF_* options for RAIDframe bits that are no longer built by default.
While we're here, enable RAIDframe (and RAID_AUTOCONFIG) by default for
architectures that I'm comfortable can deal with it being on by default.

Also: bump the number of 'raid' devices from 4 to 8, since 4 seems to
be insufficient in practise.
2002-01-19 18:45:06 +00:00
wiz e45693d8ed Fix ukbd attachment. Noted by Patrick Welche on port-macppc. 2002-01-17 15:50:28 +00:00
thorpej 75dfddd49d Use bpf_mtap(). 2002-01-16 05:56:54 +00:00
dbj d864c1582a tweak timings 2002-01-09 05:23:07 +00:00
matt 3b0bdd1f0f Remove machine/powerpc links on clean as well. 2002-01-07 23:09:53 +00:00
dbj f629228e87 Changes to the wdc(4) mi driver that add the WDC_CAPABILITY_SELECT
flag and a callback function which gets called whenever a target is
selected on a channel.

The macppc wdc driver needs to reprogram its timing register
differently for each target on a channel each time that target is
selected.  I also changed the ATA4_TIME_TO_TICK to use a divisor of
15, which brings our timing calculations consistent with darwin.

These patches fix problems on my dual usb ibook with combo dvd/cdrw
drive because the hard drive supports udma and the combo drive does
not.  Without turning off the udma timings in the configuration
register, I cannot access the non-udma combo drive.
2002-01-07 22:11:17 +00:00
dbj 0ac4681659 add support for kgdb over zs 2002-01-06 00:35:10 +00:00
mbw a506aacc6d tv@netbsd says that the desired behavior for macppc is for de to be default
for DEC-based chips, and to have tlp available for tulip clones.  The change
in GENERIC is such that TLP_MATCH options are commented out (allowing de to
attach to DEC-based chips), and change in is INSTALL such that de is present
and TLP_MATCH options are commented out.

The addition of de in INSTALL increases its compressed size by about 17 KB.

Primarily the goal is to have INSTALL and GENERIC use the same device.
This will fix PR port-macppc/10779.

It has been tested with the 1.5.3_ALPHA GENERIC and INSTALL kernels on my
PowerMacintosh 7300 with a 21140A (now de, previously tlp) and a
Lite-On 82C115 (tlp).

de0 at pci0 dev 15 function 0
de0: interrupting at irq 25
de0: Asante 21140A [10-100Mb/s] pass 2.2
de0: address 00:00:94:a4:03:35
de0: enabling 10baseT port

tlp0 at pci0 dev 14 function 0: Lite-On 82C115 Ethernet, pass 2.5
tlp0: interrupting at irq 24
tlp0: Ethernet address 00:00:94:b6:16:ef
tlp0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX
2002-01-03 04:34:21 +00:00
dbj 920e8af571 add some error checks in adb_reinit, enabled with ADB_DEBUG and adb_debug 2002-01-02 20:30:45 +00:00
dbj 32eabd8148 if pm_adb_op times out waiting for an interrupt, attempt to take
an interrupt anyway, just in case.  Otherwise, report the timout condition.
This works around a problem in my ibook if a key is pressed after boot
and before adb is configured, such as when booting with -d.
2002-01-02 20:28:43 +00:00
dbj 9c182d4af3 defer attaching akbd as console until after it has
been initialized in akbdattach
2002-01-02 20:21:12 +00:00
dbj 0057f73f87 save and restore sprg[0-3] when calling openfirmware
this fixes calling OF_finddevice() with invalid devices,
and as a result fixes booting with -d.
Apparently openfirmware expects persistence of sprg2 and/or sprg3
I suspect this is used when handling exceptions
2001-12-31 18:35:26 +00:00
augustss b53ea42bf0 Update for new uhidev device attachment. 2001-12-28 17:37:01 +00:00
martin b506d6e135 Add PPPoE to all generic kernels that should be able to use it.
XXX TODO: do this for INSTALL kernels too, add sysinst support and make the
XXX needed binaries available on the ramdisk root fs.
2001-12-28 12:21:52 +00:00
gmcgarry bdd225baa1 Add a blurb to the top of all GENERIC files. This serves three purposes:
- to clarify some terminology
- to clarify the intention of the GENERIC file
- to cross-reference some useful man pages
2001-12-14 05:34:45 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
augustss 01b4e2c572 When looking for a console keyboard if usb-kbd-ihandles can't be found
then try the old name usb-kbd-ihandle.  This way my old iMac gets the
USB keyboard as console instead on the (non-existent) ADB keyboard.
Suggested by Gabriel Rosenkoetter.
2001-12-10 02:46:05 +00:00
chs f0d9c43220 fix macppc MULTIPROCESSOR compilation. 2001-12-05 05:02:10 +00:00
bouyer e01670eb4e Convert to new ata/atapi attach structs. 2001-12-02 22:54:26 +00:00
tsutsui babc971829 #ifdef'ed out debug printf. 2001-12-01 23:39:11 +00:00
mjl 90acd67a3c Need CACHELINESIZE for libkern memset. 2001-11-29 00:16:35 +00:00
atatat 2bf2c362fb The bridge(4) pseudo-device no longer requires the port to
__HAVE_GENERIC_SOFT_INTERRUPTS, so add it back to all GENERIC configs.
2001-11-23 05:00:22 +00:00
lukem 03aef4723c cleanup:
options SPACE TAB
	makeoptions TAB
	psuedo-device TAB
	remove trailing whitespace
	replace multiple spaces -> tabs
	options "FOO" -> options FOO
	options "FOO=bar" -> options FOO=bar
	options "FOO=\"bar\"" -> options FOO="\"bar\""
2001-11-20 12:56:17 +00:00
matt 3ae5a183aa Fix boot device selection when booting from an alias. If the bootpath
isn't an OFW device, look it up in /aliases and substitute the bootpath
found into the string.  This allow device_register to do it's thing.
Key off the drive number, not the channel, in autoconf.c.  Closes PR#13756.
2001-11-19 23:22:48 +00:00
soren 662f877587 MAXSLP is defined to be a machine-independent scheduling parameter,
so move it into sys/param.h.
2001-11-15 18:06:11 +00:00
matt b0372f6f25 Add brgphy 2001-11-14 21:25:15 +00:00
matt a6d8d89acf Bump the default macppc MSGBUFSIZE to 12KB so we can get an entire
sequence of boot messages.
2001-11-14 20:55:34 +00:00
tv 5489b30b60 ${MAKE} print-objdir -> ${PRINTOBJDIR} 2001-11-14 00:58:48 +00:00
augustss b684acbf39 Add wsmux (it seems to work now). 2001-11-13 17:56:30 +00:00
augustss c64847f048 If the RTC gives a time more than 1000 days before file system time then
use the file system time.  (My iMac seems to give 1904 as the year very
often (dead battery?), and setting the correct date with ntpdate doesn't
seem to work.)
2001-11-10 15:37:40 +00:00
scw 45e7238a02 Bump the version numbers of all bootloaders which use loadfile_elfXX() now
that it tries hard to avoid backwards seeks.
2001-11-09 19:53:11 +00:00
tsutsui 064be15283 Use common macro to check message length. 2001-11-04 12:03:41 +00:00