summaryrefslogtreecommitdiff
path: root/sys/arch/socppc
AgeCommit message (Collapse)Author
2009-05-31Add support for udl in socppc. ok @miod and @kettenisMats O Jansson
2009-05-31Remove BUS_DMAMEM_NOSYNC definition. Its name is not consistent withMiod Vallat
other BUS_DMA_xxx flag names, and nothing uses it. ok many@
2009-05-21The only value that d_npartitions should have is MAXPARTITIONS.Kenneth R Westerback
2009-04-20Add a BUS_DMA_ZERO flag for bus_dmamem_alloc() to return zeroed memory.Owain Ainsworth
Saves every damned driver calling bzero(), and continues the M_ZERO, PR_ZERO symmetry.
2009-04-14Convert the waitok field of uvm_pglistalloc to "flags", more will be added soon.Owain Ainsworth
For the possibility of sleeping, the first two flags are UVM_PLA_WAITOK and UVM_PLA_NOWAIT. It is an error not to show intention, so assert that one of the two is provided. Switch over every caller in the tree to using the appropriate flag. ok art@, ariane@
2009-03-30bzero pci attach argsMark Kettenis
2009-03-07When allocating memory in bus_dmamem_alloc() with uvm_pglistalloc(), do notMiod Vallat
try to be smart for the address range, uvm_pglistalloc() is smart enough nowadays.
2009-02-22Replace bcmp in while loop with check of ac_multirangecnt.Mark Kettenis
From brad@comstyle.com. ok deraadt@
2009-02-18- add and enable zyd(4)Jasper Lievisse Adriaanse
ok kettenis@
2009-02-17Declare cpu_model as an array instead of a pointer; makes sysctl hw.modelMark Kettenis
return a sensible value instead of an empty string. tested by jasper@
2009-02-17- increase the delays in tsec_mii_{read,write}reg() , makes my n1200 happierJasper Lievisse Adriaanse
hints and ok kettenis@
2009-02-17Remove debug printf.Mark Kettenis
2009-02-10remove run(4) from some RAMDISKDamien Bergamini
2009-02-10enable run(4) everywhere where ural(4) and rum(4) are enabled.Damien Bergamini
run(4) has been reported to work on sparc64 by Maxim Belooussov so I'm pretty confident that it works on all arches.
2009-01-31Rename loadpoint to loadaddr and add to usage().Alexander Yurchenko
suggestion and ok from kettenis@
2009-01-30Set mbuf watermarks.Mark Kettenis
2009-01-30Deal with running out of receive buffers.Mark Kettenis
2009-01-30Properly clean out our rings when we down the interface.Mark Kettenis
2009-01-30- add missing trailing 't' of the mos(4) entry's 'Etherne'Jasper Lievisse Adriaanse
2009-01-29Make multicast actually work this time.Mark Kettenis
2009-01-29Switch tsec(4) over to using MCLGETI when allocating mbufs for the rx ring.Mark Kettenis
2009-01-28Implement proper multicast support.Mark Kettenis
2009-01-28Make bus_mem_add_mapping() return ENOMEM if we fail to allocate kva insteadMark Kettenis
of panicing.
2009-01-25Remove /dev/drum and related code.Miod Vallat
2009-01-11Add some tested USB stuff. -mojMats O Jansson
2009-01-11Fix a sed bug in the makefile's depend target.Paul Irofti
What happened was that the output of mkdep was fed to a sed expression that trimmed a bit more than required and also failed to work when attempting to do make depend with pcc. Example: genassym_c.o: /tmp/genassym.whatever ../../../../../sys/param.h \ was changed to: assym.h: \ but what was intended was: assym.h: ../../../../../sys/param.h \ For the pcc -M output things were a bit different and after the make depend the genassym entry would still remain and make would fail. This affected all platforms except amd64 and sgi. Okay miod@.
2008-12-06Revert this to, due to the ppc intr backout. -moj ok @kettenisMats O Jansson
2008-12-04Revert ppc intr stuff. Make socppc compile again. -mojMats O Jansson
2008-11-28Eliminate the redundant bits of code for MTU and multicast handlingBrad Smith
from the individual drivers now that ether_ioctl() handles this. Shrinks the i386 kernels by.. RAMDISK - 2176 bytes RAMDISKB - 1504 bytes RAMDISKC - 736 bytes Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users. Build tested on almost all archs by todd@/brad@ ok naddy@
2008-11-08Get rid of va-ppc.h.Mark Kettenis
ok miod@
2008-11-05since mmclose() is only called once for the final close,Matthieu Herrb
set ap_open_count = 0 in mmclose() instread of decrementing it. ok miod@, oga@.
2008-10-15Second pass of simple timeout_add -> timeout_add_sec conversionsBret Lambert
This should take care of the simpler ones (i.e., timeout values of integer multiples of hz). ok krw@, art@
2008-10-12Reduce diff to macppc version.Mark Kettenis
2008-10-12Adjust for redesigned powerpc interrupt architecture.Mark Kettenis
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-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-07- Enable ALTQ support.Brad Smith
- Let the VLAN driver know that the hw can send and receive full size VLAN tagged packets. Tested by maja@
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-01Enable FFS2 on most of the larger RAMDISK media.Brad Smith
ok deraadt@
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-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-09Place manuals in the MD directories; from pierre.riteau@gmailTheo de Raadt
2008-05-28Add a boot.8 manual page (copied straight from armish). This will in turnMiod Vallat
act as a reminder to write boot_socppc.8 (eventually).
2008-05-26Fix typo, such that this actually compiles.Mark Kettenis
2008-05-26Count outbound packets.Brad Smith
ok kettenis@
2008-05-26Make bringing the interface down work properly (includes a line stolenMark Kettenis
from a diff by brad@).