summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
AgeCommit message (Collapse)Author
2006-10-12Don't try to boot from a NetBSD MBR partition when no OpenBSD MBRKenneth R Westerback
partition is found. Change error message to 'no OpenBSD partition'.
2006-10-12Since we no longer look in FreeBSD or NetBSD partitions for theKenneth R Westerback
disklabel, we shouldn't write the disklabel in such partitions either. Brings amd64, arm, i386, landisk, macppc, mvmeppc (which roll their own MBR search in writedisklabel()) into line with alpha, hppa, hppa64, mips64 (which use readdoslabel() in both reading and writing the disklabel). If all goes well, soon everyone will be using readdoslabel().
2006-10-10Typo in a comment. ok kettenis.Marc Balmer
2006-10-10Don't spoof a Free/NetBSD MBR partition as the 'a' partition in aKenneth R Westerback
disklabel. Fixes 'double spoofing' of these partitions as both 'a' and something in the 'i' to 'p' range. OpenBSD changed its MBR partition type to 'A6' eight years ago. As a backward compatibility measure NetBSD and FreeBSD MBR partitions were still spoofed as 'a' partitions when no OpenBSD partition could be found. This bit of backward compatibility is no longer required. 'we can get rid of it' deraadt@
2006-10-08Execute the Enforce in-order Execution of I/O (eieio) instruction inGordon Willem Klok
mc_dmaintr, its a little bit of voodoo, I dont understand why its necessary for mace versus the near identical dma isr in if_bm.c, but the system no longer panics under network load.
2006-10-06Remove lingering debug printf. Don't announce that mace_get was called.Gordon Willem Klok
2006-10-05Add if_mc.c a driver for the AMD AM79C940 (MACE) ethernet chip found onGordon Willem Klok
board old world macintosh systems to macppc. From netbsd, mac68k and macppc specific tweaks modeled on if_bm.c. ok brad@
2006-10-04More tidying up after bad144. Remove references in comments andKenneth R Westerback
don't include dkbad.h when nothing in it is used. Missed arm/include/disklabel.h first time around.
2006-10-04Zap bad144 bad sector info in disklabels. Sparsely used if at all forKenneth R Westerback
a few obsolete and easily replaced disk models. And didn't work anyway according to Bob, who has tried. ok beck@
2006-09-27Add Maxim/Dallas DS2490 USB 1-Wire adapter driver.Alexander Yurchenko
2006-09-27Add files.onewire to all our USB archs, it will be used soon.Alexander Yurchenko
2006-09-26Make mesh compile again, it also works now too, from NetBSD with a lotGordon Willem Klok
of tweeks. Leave it commented out in GENERIC and files.macppc for now. ok kettenis@, brad@
2006-09-18Extend the .text and .data segments to 64MB. This allows programs withMarco Peereboom
large .text segments, like xmame, to run. ok drahn
2006-09-16Revert new check for DOS partitions running past d_secperunit (e.g.Kenneth R Westerback
r1.54 of i386/disksubr.c). The check incorrectly handled extended partitions. Possibly a symptom of a deeper problem with extended partition offsets that will be addressed post-4.0. Problem reported/fix tested by A. Velichinsky, cause diagnosed by otto@. ok pedro@ mickey@ miod@ deraadt@
2006-08-20When spoofing an MSDOS disklabel, don't create partitions with a finalKenneth R Westerback
block past d_secperunit. Fixes devices where bogus partitions with a starting offset > d_secperunit were created. e.g. floppies formatted by Caldera DR-DOS. ok pedro@
2006-08-18add ucycom@uhidev and ucom@ucycom on the usb machines (docs are forthcoming)Jason Wright
2006-08-17enable msk(4) in a few more places.Brad Smith
2006-08-17Check d_secpercyl in all readdisklable() functions, and have all ofKenneth R Westerback
them return 'invalid geometry' when d_secpercyl == 0. While there move the check to a consistant location (after the check of d_secperunit) and use a consistant idiom (i.e. some readdisklabel()'s have no 'done' label). prodded by thib@ after a bad macppc experience. ok deraadt@
2006-08-14Enable uslcom(4) and uark(4) on all the USB capable archs.Jonathan Gray
2006-08-11Use d_secperunit rather than 0x1fffffff as the default value forKenneth R Westerback
RAW_PART's p_size. Since d_secperunit is initialized to 0x1fffffff if not specified there should be no need to use the magic number again. And if d_secperunit was specified then that value should be used instead of the magic number. This was already being done for hp300, luna88k, mac68k, mvme68k, mvme88k. Should be a no-op.
2006-08-11add rum(4) on arches where ural(4) is enabled.Damien Bergamini
rum(4) has been tested on i386 by niallo@ and me and on sparc64 by Pablo Mendez Hernandez so I assume it is endian safe and 64bit clean.
2006-07-31puc@cardbus (only added (commented out) to whom has puc@pci enabled)Michael Shalayeff
tested on puc@pci by fkr and meself on the cardbus. still needs a bit more work but generally works. deraadt@ ok and some input from miod@
2006-07-27Compile all kernels with -Wstack-usage-larger-than-2047, now that allMiod Vallat
offending code has been taken out and shot. ok deraadt@
2006-07-26crank to 4.0-betaTheo de Raadt
2006-07-14change pcibr_flags back to 0 (turn off verbose mode). If anyone has aTheo de Raadt
problem with a new kernel in the next while, please revert this specific commit and mail the results to kettenis, drahn, and me.
2006-07-13Switch to a three-phase pci resource fixup:Mark Kettenis
1. Reserve resources for enabled devices. 2. Reserve resources for disabled devices. 3. Allocate resources. This way we no longer need to enable/disable devices during fixup. Based on an earlier patch by drahn@. ok deraadt@, drahn@
2006-07-11Hook up the hw.product sysctl on macppc,Gordon Willem Klok
requested by deraadt@, ok drahn@
2006-07-01Eliminate redundant get_le() in favour of letoh32(). Add letoh32()Kenneth R Westerback
calls in alpha, hppa, hppa64 and mips63 when accessing the two DOS MBR u_int32_t fields dp_size and dp_start. No functional change.
2006-06-30Old typos bite the dust.Miod Vallat
2006-06-26Clean up some inconsistancies in definitions around DOS MBR code. NoKenneth R Westerback
functional change. ok deraadt@
2006-06-26Enable wide targets on FAS366 esp; note that this changes the way espMiod Vallat
user-controllable device flags are parsed, be sure to rerun config(8) on your next kernel compile.
2006-06-22Enable sk(4).Brad Smith
ok reyk@
2006-06-22do not enable the gpio parent eitherTheo de Raadt
2006-06-21this gpio should not be enabledTheo de Raadt
2006-06-19Be more strict in the probe routines and actually check ca_nintr andMiod Vallat
ca_nreg are large enough for our greedy needs; tweaks and ok kettenis@
2006-06-19Remove redundant test in uni_n_config() as well as an unused softc member;Miod Vallat
ok kettenis@
2006-06-19move clock_subr.c to a better place, and now it is always in the kernelTheo de Raadt
so that things can use it; tested on all architectures; ok kettenis
2006-06-17Recent Powerbook systems have their on-board keyboard and mouse devicesMiod Vallat
also showing up as usb devices, but both devices are tied. To make things less confusing, do not attach the usb phantoms at all.
2006-06-16typoPedro Martelletto
2006-06-02now that com_cardbus works on macppc, add 'com* at cardbus?' to GENERICFelix Kronlage
ok martin@
2006-06-01add xge(4).Brad Smith
2006-06-01Right at the end of a debug kernel build, the current Makefile copies bsdChristopher Pascoe
(with symbols) to bsd.gdb, then strips bsd. This diff makes it rename the file with symbols, and then asks strip to output the stripped version as bsd. Avoids a potentially lengthy wait when we would otherwise copy the large (50MB+) kernel with debug symbols. ok reyk@ ketennis@
2006-05-31enable mpi in GENERIC on amd64, i386, and macppc. jason already enabled itDavid Gwynne
on sparc64 last night. macppc gets it in RAMDISK as well.
2006-05-30The aperture that is needed in legacy vga space is even larger forMatthieu Herrb
the mac mini's ATI graphics card. The full 0xa0000-0xfffff range is used here.
2006-05-10Use a macro in the MI powerpc PCI header for pci_intr_line() insteadBrad Smith
of a function in the MD macppc host bridge code. ok drahn@
2006-05-02The r128 driver also need the 0xb0000-0xc0000 address range. found by Jolan@.Matthieu Herrb
2006-04-30add I2O to the RAMDISKBrad Smith
2006-04-30Enable rtw@pciBrad Smith
2006-04-30- Enable fxp and rl@CardBus on GENERIC and RAMDISKBrad Smith
- Enable dc@CardBus on RAMDISK, already in GENERIC - Enable wdc@PCMCIA on RAMDISK, already in GENERIC
2006-04-28In mapped mode, when allowaperture != 0,also allow mmapping of theMatthieu Herrb
PC-style 0xa0000-0xb0000 region, as the nv X driver uses it. Noticed and patch tested by xsa@ and aanriot@.