summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
AgeCommit message (Collapse)Author
2008-04-30fix serial console handling on amd64. currently only glass console everDavid Gwynne
works, even if the boot loader is configured to use serial console. after the changes jsing and i made, the initial probe of the serial port was failing since the default base addres for the port is invalid. cos of that the kernel would only ever consider the glass console for use. this fixes it by reprobing the serial port if we get any config for it from the boot loader. advice on aesthetics from miod@ advice and ok from kettenis@
2008-04-29enable km(4); ok deraadtConstantine A. Murenin
2008-04-28Rename IPL_SOFTSERIAL to IPL_SOFTTY and rename the associated symbols.Mark Kettenis
Remove IPL_SERIAL since it is unused. ok krw@, weingart@, deraadt@
2008-04-28Sync PCI ids.Brad Smith
2008-04-27add acpithinkpad(4), an acpi support driver for ibm/lenovojoshua stein
thinkpads. provides functionality that the bios did on older, non-acpi thinkpads like respond to screen brightness keys and toggle the bluetooth device on and off. ok deraadt@ and marco@
2008-04-25When allocating an interrupt 'slot', always check all slots to see if weMark Kettenis
already allocated a slot for a particular apic pin. ok weingart@
2008-04-25the code that parses arguments from the boot loader on amd64 wasnt checkingDavid Gwynne
what type of console was specified, so when a glass console was used it was still configuring serial bits. this makes it so serial config only occurs for serial console devices. found by jolan@, thib@, and maybe sthen@ sorry guys
2008-04-24oops. unbreak build by removing the #include for amd8131reg.hThordur I. Bjornsson
2008-04-24move the register defines from amd8131reg.h into aapi.c,Thordur I. Bjornsson
seems silly to have a seperate .h file for 4 defines. nuke the NetBSD __KERNEL_RCSID macro while there, we have that rcsid at the top of the file... ok toby@, brad@
2008-04-24allow amd64 to use serial ports other than com0 as the console. previouslyDavid Gwynne
it was stuck to com0 no matter what the boot loader told the kernel. this relies on the com diff jsing just committed.
2008-04-20rewrite the serial port handling to manipulate the hardware directlyDavid Gwynne
rather than relying on calls into the bios to work. this is a result of me getting pissed off with solaris and linux being able to cope the serial bios redirection on dracs, iloms, and ilos. trying to do the same thing with openbsds boot loader caused weird behaviour like machine hangs or no visible output. talking to the serial chips directly is more reliable. tested by many ok sthen@ deraadt@
2008-04-19Change ELF loader to use the LMA as the load address for theTobias Weingartner
various segments. Hopefully this will help remove various hacks in the boot loader in the future. This should have no effect on most architectures (as we tend to have LMA == VMA). ok drahn@, soft ok's various others.
2008-04-19add a driver flag to force the negotiation of SATA 1 transfersDamien Miller
(1.5Gb/s). Useful where faster speeds are unstable; ok dlg@
2008-04-13lear CPUF_RUNNING when halting a CPU. Fixes problems with powering dowmMark Kettenis
MP amd64 systems for quite a few people. ok deraadt@, krw@
2008-04-13garbage collect the cpus_running global variable;Thordur I. Bjornsson
pointed out by and ok drahn@, toby@;
2008-04-12Get rid of acpi_s5 global variables; simply send SIGUSR2 instead of SUGUSR1Mark Kettenis
to tell init(8) to power down the machine. ok krw@
2008-04-09Add new stub uvm_shutdown() and call it from the right place in MD boot()Theo de Raadt
2008-04-08Split the cdev makro for bpftun into two seperate definitions. tun(4) andClaudio Jeker
bpf(4) are different enough so that the split makes sense -- this is necessary to make bpf(4) cloneable. requested deraadt@, OK thib@
2008-04-07Don't grab the kernel biglock for syscalls marked SY_NOLOCK;Thordur I. Bjornsson
make the amd64 code a bit nicer and make the sparc64 match that. tested by a few; OK toby@, dlg@, kettenis@ (for the sparc64 part).
2008-04-07sdtemp* devices could occur on these machinesTheo de Raadt
2008-04-03Switch it(4) back to PnP config mode. Avoid possibleOleg Safiullin
conflicts with SMSC or similar chips.
2008-03-31Re-enable lii(4).Brad Smith
ok deraadt@
2008-03-29Fix amd64 and i386 serial console handling for non-default speeds. BringKenneth R Westerback
i386 pccom into line with com. Problem reported and first diff by Markus Hennecke, who also tested and corrected subsequent diffs. Boot messages and console now work with his 57K serial connections. Suggestions and ok miod@
2008-03-29enable kate(4); ok deraadt@Constantine A. Murenin
2008-03-24add it(4) at port 0x228, found on some motherboards.Oleg Safiullin
ok deraadt@
2008-03-23Add AGP support for the Intel G33 chipset.Damien Bergamini
Tested on i386 with a Gigabyte G33M-DS2R motherboard (Intel GMA 3100). Based on NetBSD code. ok oga@
2008-03-23enable andl; ok deraadtConstantine A. Murenin
2008-03-21add wireless drivers which need firmware; if someone upgrades the firmwareTheo de Raadt
may in fact be there already, so it is OK, same as i386 from espie
2008-03-21crank maxusers on some architecturesTheo de Raadt
2008-03-19label all interfaces we netboot from in group "netboot", in a MI fashionTheo de Raadt
ok miod
2008-03-17Clear PSL_D when entering signal handlers; pointed out by dfly people;Theo de Raadt
ok kettenis
2008-03-16Make agp(4) attach at vga(4) instead of pchb(4). This is because sometimesOwain Ainsworth
agp and drm need to use the same memory mapping, the best way to deal with that is to allow them to share (that's coming later), for this to work cleanly we move the attach point of agp. Ideally most agp drivers would attach at pchb, with only agp_i810 (and any that work similarly) attaching at vga, but this will do for now. ok kettenis@, miod@.
2008-02-25- Add lii(4) commented out to the amd64 configsBrad Smith
- Comment out lii(4) in the i386 configs since it does not work yet - Add et(4) to the i386 and amd64 RAMDISK_CD configs ok deraadt@
2008-02-24Add commented out Bluetooth HID sectionUwe Stuehler
ok deraadt
2008-02-21enable envy(4) on amd64, untested.Alexandre Ratchov
suggested by brad@, "i don't feel like objecting" deraadt@
2008-02-21uncomment the entry to allow opl(4) to attach to cmpci(4).Brad Smith
ok jakemsr@ dlg@
2008-02-17Enter wbsio(4), a driver for the Winbond LPC Super I/O chips.Mark Kettenis
ok henning@
2008-02-11g/c db_thread_fp_used()Miod Vallat
2008-02-05ACPI 3.0 seems to work just fine so lets enable it.Marco Peereboom
Idea from fulvio ciriaco <oivulf@gmail.com>
2008-01-26Unify i386 and amd64 lapic code, and calibrate lapic timer with interruptsMark Kettenis
disabled (as suggested by mickey). ok krw@, marco@
2008-01-24"read(..., ..., sizeof Y) < sizeof Y" is a dangerous idiom because itKenneth R Westerback
does an unsigned comparison and read() can return -1. Use '!=' instead of '<' since read() can't return more than 'sizeof Y'. Not perfect (that would require a separate test for -1) but a very common usage. ok toby@
2008-01-23Cleanup cn_pri. Change constants to more meaningful names, rather thanJoel Sing
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI, CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI. ok miod@
2008-01-15Move some definitions from mpconfig.h to mpbiosreg.h (where they are on i396).Mark Kettenis
ok marco@, miod@
2008-01-14Remove extra whitespace after comment; makes file identical to i386 versionMark Kettenis
(except for RCS string of course).
2008-01-05handle 64-bit blkno in format stringOtto Moerbeek
2008-01-04Clean up Intel host bridge PCI IDs.Mark Kettenis
ok deraadt@
2008-01-02Give LOCKDEBUG kernels a chance to compile; ok kettenis@Miod Vallat
2007-12-31crank maxusers a little bitTheo de Raadt
2007-12-31enable upgt & lii. both have issues, and will need to be fixed inTheo de Raadt
time, but it is better to have people be FORCED to try to use them, and then more people can decide to get involved. if a driver is in-tree, but people don't even know it exists, how would they get involved? they just plain would not.
2007-12-27missing newline in autoconf pxe report; spotted by henningTheo de Raadt