summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-05-16The world of __HAVEs and __HAVE_NOTs is reducing. All architecturesArtur Grabowski
have cpu_info now, so kill the option. eyeballed by jsg@ and grange@
2007-05-16we need a cpu_info_store; how did miod miss this?Theo de Raadt
2007-05-16add definitions for the bits in the "register" bus_space region.David Gwynne
2007-05-16add support for multicast addresses. this adds the add/del multi handlersDavid Gwynne
to the ioctl, and programs the multicast filter in tht_iff. we are not using the perfect multicast filters, only the imperfect one. i think there is a requirement that addresses in the perfect filter be in order, but im not sure how to do that nicely (yet). this has taken a long time because i dont know how to write c.
2007-05-16count the number of multicast ranges that are kept in the list of multicastDavid Gwynne
addresses in struct arpcom. this lets a nic driver easily see if it wants allmulti behaviour, which in turn means we can clean some code up. ok jason@ claudio@ norby@
2007-05-16Oops, forgot this file in the cpuinfo changes.Miod Vallat
2007-05-16Switch vax to __HAVE_CPUINFO, based on an incomplete diff from art.Miod Vallat
2007-05-16map the pci BARs that we're interested in. this gives us access to theDavid Gwynne
chips registers and io interface, but whats actually in them is still a mystery to me.
2007-05-15Remove unused variable.Mark Kettenis
2007-05-15We will never call OpenFirmware from 32-bit code.Mark Kettenis
ok art@, deraadt@
2007-05-15Update the ifp of bridge cache entries if the entry is not static. ThisClaudio Jeker
makes carp(4) fail-over work over bridge(4). OK michele@ jason@
2007-05-15regenMarcus Glocker
2007-05-15Add vendor and product; AmbiCom, Inc. WL54CF.Marcus Glocker
2007-05-15Switch amd64 to VM_PAGE_MD. Mostly just imitating i386. flags in pg_flags.Artur Grabowski
deraadt@ ok
2007-05-15make splassert(IPL_NONE) work on i386/MP (the single-processor case isArtur Grabowski
a bit more hairy). deraadt@ ok
2007-05-15Userland has the right to compile, too; not sure this will be enough yetMiod Vallat
but deraadt@ insists this goes in now.
2007-05-15External bus errors should not occur, so panic. ok deraadt@Dale Rahn
2007-05-15Remove the MI implementation of mutexes and remove the __HAVE_MUTEXArtur Grabowski
option. Every architecture implements mutexes now.
2007-05-15switch m68k to __HAVE_CPUINFOMartin Reindl
help miod@, art@ ok deraadt@
2007-05-15oops; martin go see what you did here..Theo de Raadt
2007-05-15Dummy mutex code for arm platforms. ok drahn@ deraadt@Miod Vallat
2007-05-15now that setroot() prints nice things like:Theo de Raadt
root on sd0a swap on sd0b dump on sd0b we can skip printing: rootdev=0x400 rrootdev=0xd00 rawdev=0xd02 ok miod, no objections from other lazy slackers
2007-05-15kill __HAVE_DEVICE_REGISTER by requiring all architectures to have aTheo de Raadt
device_register() function -- even if it does nothing. reduces the cpp-based blather different between architectures idea ok'd by miod; tested on all architectures (except a few miod will need to cleanup because he has them)
2007-05-15start work on a driver for emulex fibre channel controllers.David Gwynne
it is split up into a bus independant chunk (dev/ic/sli*) and the attach glue (dev/pci/sli_pci.c) cos there are sbus varaints of this chip which i hope to get my hands on one day. this does nothing except attach to the LP8000 controllers.
2007-05-14Move want_resched into struct cpu_info.Mark Kettenis
2007-05-14Use value passed as in ca_reg as cpuid instead of unit number.Mark Kettenis
ok drahn@
2007-05-14move hppa to __HAVE_CPUINFOMartin Reindl
input from miod@, ok kettenis@
2007-05-14Nuke code to support the Solaris bootloader and old 32-bit bootloaders.Mark Kettenis
Remove bits of code that repeat what the bootloader already did for us, like setting up the stack and clearing .bss. ok deraadt@
2007-05-14Oops, IPL_NONE is not zero in HEAD.Miod Vallat
2007-05-14Work in progress IPI mechanism, currently only implemented on MVME188, toMiod Vallat
send clock ticks to secondary processors.
2007-05-14Hold kernel_lock when processing interrupts at a level under IPL_SCHED, asMiod Vallat
done on 188, for MULTIPROCESSOR kernels.
2007-05-14Oops, correctly handle spl-less mutexes.Miod Vallat
2007-05-14Register statclock() at IPL_STATCLOCK, not IPL_CLOCK (no-op since they areMiod Vallat
the same)
2007-05-14Properly wrap mii_tick() up in splnet().Jonathan Gray
This seems to fix a bizzare problem I was having for some time with msk on MP amd64 where the machine would reboot itself under load. At least sk(4) and rl(4) code seems to have the potential for a similiar problem. ok kettenis@
2007-05-14wsmouse.h is needed for the NWSMOUSE test to actually workTed Unangst
found by and ok art
2007-05-14Switch arm to __HAVE_CPUINFO. Least effort.Artur Grabowski
deraadt@ ok
2007-05-14Switch sh to __HAVE_CPUINFO. The least possible effort for now.Artur Grabowski
deraadt@ ok
2007-05-14uint32_t is not spelled u_long. makes the 32-bit NO_ADDR potentially useful onTed Unangst
64-bit machines, even though it's not used. ok art deraadt millert tom
2007-05-14_bus_dmamap_sync() is unused; ok miodTheo de Raadt
2007-05-14SMALL_KERNEL unused bitsTheo de Raadt
2007-05-14delete unused code; ok krwTheo de Raadt
2007-05-14Convert from lockmgr to rwlock.Jonathan Gray
Initial diff from krw@, uneeded lock_mii()/unlock_mii() on all commands in existing code removed by me so it doesn't try to recurse. ok krw@
2007-05-14Remove crufty unused code.Jonathan Gray
ok kettenis@ krw@ henning@
2007-05-13sync comment with realityFelix Kronlage
2007-05-13Put names we get from the prom between double quotes when we print them.Mark Kettenis
ok deraadt@
2007-05-13Enable powernow on amd64 processors in the GENERIC.MP.Gordon Willem Klok
ok tedu
2007-05-13print lock name in some panic messages so we know what's upTed Unangst
ok krw marco pedro
2007-05-13Ansi prototypes, not K&R. no binary difference.Dale Rahn
2007-05-12Increment ncpus when hatching a secondary processor.Miod Vallat
2007-05-12Change the 88100 interrupt handlers to process DAEs with interrupts enabled,Miod Vallat
as done for DAEs not occuring during interrupts. Remove the check for unprocessed DAE on return from trap() in eh_common.S, since this can't happen. As a result, the return-from-trap code becomes identical on 88100 and 88110 systems.