summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2006-01-01Service clock interrupts at the computed splclock(), not spl2(); from NetBSD.Miod Vallat
2006-01-01Let cons_init() and cons_init_bell() initialize the whole consdev structure,Miod Vallat
thus removing the need for drivers to initialize cn_pri to CN_DEAD when hardware probe fails.
2006-01-01Don't need to include machine/types.h here. OK and tested by miod@Todd C. Miller
2006-01-01Don't need to include machine/types.h here. OK and tested by miod@Todd C. Miller
2005-12-31Make PT_SETFPREGS work even if the process didn't use the fpu yet.Mark Kettenis
ok miod@
2005-12-31Search for the devices to attach to mainbus, not hardcoded. ok miod@Dale Rahn
2005-12-31Nuke unused cdev_wscons_init() macro.Miod Vallat
2005-12-31Kill a pcvt leftover.Miod Vallat
2005-12-31whitespace cleanup.Dale Rahn
2005-12-31Split the d_type field of cdevsw entries into d_type and d_flags for clarity.Miod Vallat
Discussed with and ok deraadt@ millert@
2005-12-31This port does not use dev/cninit.c.Miod Vallat
2005-12-31amdiic enable. if problems or worries, we shut things off before a releaseTheo de Raadt
2005-12-31if you don't enable amdiic, when will people test it?Theo de Raadt
2005-12-31Rework (once again) the console code, in order to match the PROM's logic better.Miod Vallat
When not running on serial console, the PROM will pick the ``internal'' graphics device, and if it does not exist, the DIO device with the lowest select code, and will resort to SGC devices if no internal or DIO device was found. However, the current logic would search for a certain frame buffer type first, then for its best hardware location, following the order they are listed in conf.c. By replacing gazillions of almost-exactly-duplicated frame buffer code with one single instance, which is device type-agnostic, we can match the PROM (and the bootblocks) logic again. Plus this saves a few KB of code!
2005-12-31Sync with recent kernel changes: recognize more models, use the same logicMiod Vallat
to pick apci as a console on 425e. Crank version.
2005-12-31Add AMD-8111 SMBus controller driver.Alexander Yurchenko
ok deraadt@
2005-12-30add asbtm iic sensor; ok kettenis@Damien Miller
2005-12-30Remove unused COMPAT_NETBSD32 block and get rid of register{32,64}_tTodd C. Miller
which are now unused. Tested and OK miod@
2005-12-30Kill conforced, and have console devices use CN_FORCED priority instead.Miod Vallat
This means we are no longer aborting the console scans even if the final console has been found, but on the other hand makes some logic simpler; plus it will be necessary for upcoming scode vs device loop order reversal. No user-visible change.
2005-12-30When a driver claims console, let it set conscode to itself, instead ofMiod Vallat
letting the bus walkers do this for it. This is necessary since apci does not use the bus walkers, now that we do not force console probes to stop when apci claims console.
2005-12-30Introduce symbolic constants for the magic conscode values.Miod Vallat
No functional change.
2005-12-30Now that errno.h and sys/errno.h are separate header files there is noTodd C. Miller
need to use the -Derrno=errno workaround added when __errno() was introduced. OK deraadt@
2005-12-30Make PT_SETFPREGS work even if the process didn't use the fpu yet.Mark Kettenis
ok miod@
2005-12-29W^X for G5Mark Kettenis
ok drahn@, totally groovy deraadt@
2005-12-29ichiic for intel amd64 machines; spotted by reykTheo de Raadt
2005-12-29add admcts(4)Theo de Raadt
2005-12-29Add a bunch of i2c sensors.Mark Kettenis
ok deraadt@
2005-12-29Add viapm(4).Mark Kettenis
ok deraadt@
2005-12-29right spotTheo de Raadt
2005-12-29add admcts(4)Theo de Raadt
2005-12-29Add viapm(4).Mark Kettenis
2005-12-29remove bad newline for the secondary PCI bus with the 82450KX/GX chipsetBrad Smith
which was introduced in rev 1.11. thanks to marco@ for pointing out the issue, testing and ok'ing the diff.
2005-12-29Fix isadma0 at isa0 at mainbus0Mark Kettenis
ok deraadt@
2005-12-28Remove dead cruft.Miod Vallat
2005-12-28...thus no need to override conscode if we are configured as console, so thatMiod Vallat
kernels with hardcoded CONSCODE value can run as advertized regardless of the service switch position.
2005-12-28hyper, rbox and topcat not in intio space are CN_NORMAL priority, notMiod Vallat
CN_INTERNAL.
2005-12-28Define dca remote console identifiers as regular identifier with the bit 7Miod Vallat
set, like dcm does. No functional change.
2005-12-28Setting the service switch on 425e to select serial console shall not beMiod Vallat
considered as forcing the console, but as a normal remote console selection.
2005-12-28Fix totally bogus previous commit.Mark Kettenis
2005-12-27enable some i2c bus drivers (piixpm(4), alipm(4), ichiic(4)) as neededTheo de Raadt
by each arch enable adc(4), admtemp(4), admlc(4), admtm(4), admtmp(4), admtt(4), adt(4), lm(4), lmenv(4), lmtemp(4), maxds(4), and maxtmp(4) iic chip drivers too, which provide gobs of sensor info
2005-12-27Remove the 1:1 association between SCSI targets and work queues, but use aMiod Vallat
cyclic search of the first unused work queue.
2005-12-27Fail existing command upon bus reset.Miod Vallat
2005-12-27Better initialize local variables before they are used, even if the compilerMiod Vallat
did not notice.
2005-12-27Keep an array of command blocks (formerly M328_CMD), one per queue - sinceMiod Vallat
we can't send more commands simultaneously - instead of using MALLOC/FREE for every scsi command we send.
2005-12-27Instead of using options to configure code, use machine header filesDale Rahn
<machine/intr.h>. On the road to cleanup.
2005-12-27print real memory in MB as well as KB, also remove unused ifdef code.Dale Rahn
2005-12-27Do not tprintf() information, use printf() instead like all other tapeMiod Vallat
drivers do.
2005-12-27Remove unused sw_nblks field of struct swdevt. Then, remove swapconf()Miod Vallat
which duplicates work done by uvm_swap_init().
2005-12-27no longer use ia_compat; tested by a fewTheo de Raadt
2005-12-25Return proper frame buffer type rather than generic SUN24 id, Xwsfb has knownMiod Vallat
the proper id for a long time already...