summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
AgeCommit message (Collapse)Author
2008-10-02First step towards cleaning up the Ethernet driver ioctl handling.Brad Smith
Move calling ether_ioctl() from the top of the ioctl function, which at the moment does absolutely nothing, to the default switch case. Thus allowing drivers to define their own ioctl handlers and then falling back on ether_ioctl(). The only functional change this results in at the moment is having all Ethernet drivers returning the proper errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown ioctl's. Shrinks the i386 kernels by.. RAMDISK - 1024 bytes RAMDISKB - 1120 bytes RAMDISKC - 832 bytes Tested by martin@/jsing@/todd@/brad@ Build tested on almost all archs by todd@/brad@ ok jsing@
2008-09-30Properly count memory on machines where Open Firmware reports zero sizedMark Kettenis
entries in between filled banks. ok drahn@
2008-09-30simplify and rework the mechanism to run the leds, 'it is better' miod@ deraadt@Dale Rahn
2008-09-23Plug more uninitialized variables.Miod Vallat
2008-09-19While vaguely interesting, the prints coming out of the driver was way tooDale Rahn
noisy. Hopefully this will quiet it down for all but extremely odd cases (where we probably want to see the messages).
2008-09-18Redesign of the powerpc interrupt architecture, use true levels intead ofDale Rahn
blocking specific interrupts. Needs signficant testing to prove that one remaining elusive bug has been squashed.
2008-09-16SMP ddb support, with some feedback from kettenis.Dale Rahn
2008-08-25how about i commit what was actually approved? wrong tree, bad todd ;-(Todd T. Fries
2008-08-24o implement proper volume control table based on chipset docsTodd T. Fries
o attempt to make record work (but silence for now) from drahn@, ok maja@, drahn@
2008-08-24Fix readdpmelabel() so it doesn't corrupt a disklabel about to beKenneth R Westerback
written (i.e. partoff != NULL), and doesn't corrupt a disklabel with more than eight (8) dpme partitions. Problems reported by Josh Elsasser via PR#5904. Testing by Josh, otto@, drahn@, maja@, kettenis@. Most of the diff from otto@. ok drahn@
2008-08-19Make it possible to enter ddb from the serial console.Mark Kettenis
ok miod@, deraadt@
2008-08-19Make it possible to enter ddb from the serial console.Mark Kettenis
ok miod@, deraadt@
2008-07-30Do not print adapter target id on the attachment line, now that scsibus(4)Miod Vallat
prints it. These should be the last offenders.
2008-07-28No longer clear ci_want_resched within cpu_switchto(), now that it's doneMiod Vallat
in the MI code.
2008-07-21nam2blk[] needs a "vnd" entry for some things (like softraid)Todd T. Fries
ok marco@ no objection miod@ need this for regress djm@ no objection krw@
2008-07-18Add new uvm function called uvm_map_pie() which takes align as aKurt Miller
parameter and returns an aligned random load address for position independent executables to use. This also adds three new vmparam.h defines to specify the maximum address, minimum address and minimum allowed alignment for uvm_map_pie() to use. The PIE address range for i386 was carefully selected to work well within the i386 W^X framework. With much help and feedback from weingart@. okay weingart@, miod@, kettenis@, drahn@
2008-07-16This file is long unused.Miod Vallat
2008-07-03add rum(4)Todd T. Fries
ok deraadt@
2008-07-02move to 4.4-betaTheo de Raadt
2008-07-01add bio & bioctlTodd T. Fries
ok deraadt@
2008-07-01Enable FFS2 on most of the larger RAMDISK media.Brad Smith
ok deraadt@
2008-06-27Clear swap encryption keys before dumping a kernel image.Miod Vallat
2008-06-27Add uvideo(4).Brad Smith
ok mglocker@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-15with powerbooks and ibooks, default to adb keyboard for console (and ddb>)Todd T. Fries
ok drahn@
2008-06-13Add some missing $OpenBSD$ tags.Kenneth R Westerback
ok drahn@ gwk@
2008-06-12Enable /dev/video* for all USB capable archs. MAKEDEV bits will followMarcus Glocker
shortly. OK todd@
2008-06-12Bring biomem diff back into the tree after the nfs_bio.c fix went in.Theo de Raadt
ok thib beck art
2008-06-11back out biomem diff since it is not right yet. Doing very largeTheo de Raadt
file copies to nfsv2 causes the system to eventually peg the console. On the console ^T indicates that the load is increasing rapidly, ddb indicates many calls to getbuf, there is some very slow nfs traffic making none (or extremely slow) progress. Eventually some machines seize up entirely.
2008-06-10Fix buffer cache pending read statistics by ensuring we can identifyBob Beck
biowait() reads that do *not* come from the buffer cache - we use the B_RAW flag to identify these at art's suggestion - since it makes sense and the flag was not being used. this just flags all these buffers with B_RAW - biodone already ignores returned buffers marked B_RAW. ok art@
2008-06-10use the defines, not magic constants. ok kettenis@Dale Rahn
2008-06-06Remove long dead meat.Miod Vallat
2008-05-26Enable cmpci(4) and eso(4).Brad Smith
ok jakemsr@
2008-05-25Don't forget to actually return a value in ttyname(), and fix a bunch ofMiod Vallat
warnings while there.
2008-05-21Remove <machine/elf_abi.h> on platforms which have it. Nothing in the treeMiod Vallat
needs the few MD definitions they (sometimes) provide; only binutils is interested in them, but binutils provide their own include files for that purpose anyway. ok deraadt@ kettenis@
2008-05-14Fix more chrtoblktbl[] sloppyness, and add proper block st nodes to *ppc andMiod Vallat
sgi.
2008-05-13Fix chrtoblktbl[] entries.Miod Vallat
2008-05-04Manage interrupts based on priority better, still working on this...Dale Rahn
2008-05-03Rework the interrupt calculation masks, a bit easier to follow (not so wrong).Dale Rahn
2008-05-02Invalidate and initialize the l2 on secondary processors, ok kettenis@Dale Rahn
2008-05-02Remove debug prints.Dale Rahn
2008-05-01Implement a nop IPI to signal other CPUs.Mark Kettenis
ok drahn@
2008-04-30Spacing.Mark Kettenis
2008-04-30Fix typo in last commit.Mark Kettenis
2008-04-30Initialize randseed to 1.Mark Kettenis
2008-04-29remove noise, (debug print).Dale Rahn
2008-04-29PIR is not defined to be a writable register, do not use it.Dale Rahn
2008-04-29Spin up secondary CPUs on more systems.Dale Rahn
2008-04-29spillstk and ddbstk need to be per cpu. Found by kettenis@Dale Rahn
2008-04-27Switch to proc based ast pending for SMP. ok kettenis.Dale Rahn