summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2006-09-17No need to check for both cd_devs != NULL && cd_ndevs != 0, since the latterMiod Vallat
implies the former; no functional change.
2006-09-17Crank VM_PHYSSEG_MAX to 8; while we do not expect more than 2 ranges in theMiod Vallat
worst case, the Booter will happily feed us up to 8 ranges, so we have to get prepared.
2006-09-17Time to leave the bus.Miod Vallat
2006-09-17Shorten the area where interrupts are enabled to calibrate delay(), and runMiod Vallat
this at splclock() instead of spl0(), so that potential spurious network or scsi interrupts on machines running in A/UX interrupt mode do not hang there.
2006-09-16Revert new check for DOS partitions running past d_secperunit (e.g.Kenneth R Westerback
r1.54 of i386/disksubr.c). The check incorrectly handled extended partitions. Possibly a symptom of a deeper problem with extended partition offsets that will be addressed post-4.0. Problem reported/fix tested by A. Velichinsky, cause diagnosed by otto@. ok pedro@ mickey@ miod@ deraadt@
2006-09-16Initial import of uath(4), a driver for Atheros USB2.0 AR5005UG/AR5005UXDamien Bergamini
chipsets. Based on a black-box analysis of the Windows binary driver. Requires a firmware that is not freely redistributable (see man uath). The driver handles both pre- and post-firmware devices. Still a bit experimental but Tx/Rx works great in BSS mode (on i386). No 802.11a, IBSS, or HostAP modes yet but there's more to come. Great thanks to jsg@ for digging the USB IDs out of the Windows driver. Committed over a D-Link DWL-G132.
2006-09-16enable pgt, even if still a wee bit buggyTheo de Raadt
2006-09-16Do not use bus_space_write_multi and happily write to NULL and die, whenMiod Vallat
bus_space_set_region was intended. ok deraadt@
2006-09-15Reset the sysfail led on thecus, so that it doesn't blinkDale Rahn
(machines with older firmware). yes deraadt@
2006-09-01Standardize on EFBIG in bus_dmamap_load* if caller is too greedy; I hadMiod Vallat
done this 4.5 years ago already but regressions happened; reminded by a similar commit in NetBSD (from mrg@); ok damien@ deraadt@ jason@
2006-08-31Make sure we do mbuf operations at splnet(), for some models have zeMiod Vallat
interrupting at spl4 (i.e. below splnet) and this can cause pool corruption; ok deraadt@
2006-08-31Fix handling of 64-bit quantities in Open Firmware's client interface.Mark Kettenis
Spotted by tsi@, and shamelessly stolen from his diff. Fixes several UltraSPARC-III machines wich have more than one memory bank filled. ok deraadt@
2006-08-30we can fit ehci & pci verbose. Much nicer.Theo de Raadt
2006-08-30Horrible code to work around stupid VXT2000 rom getchar() behaviour, butMiod Vallat
at least this allows our boot blocks to work with glass console on these machines now. Caution: reading this code will hurt your eyes. ok deraadt@
2006-08-30Enable VXT2000 bits now that they are worth using; ok deraadt@Miod Vallat
2006-08-30Teach the SGEC driver about the Real World:Miod Vallat
- check for error bits in descriptors, and count and report errors accordingly; make sure we do not pass up known-to-be-bad packets up the receive path. - check for various error conditions which would cause the transmit process to go to suspended state, and recover from them, before the timeout expires. - finally, on the VXT2000, the transmit process for some reason will reset its ring position to the beginning of the ring every time it completes a transmission burst, while we don't, so play with the head of ring register behind its back. This makes my VXT2000+ (net)boot multiuser. Tested on VXT2000 (ze@vxtbus), KA49 (ze@vsbus) and KA53 (ze@ibus); ok deraadt@
2006-08-30Better diagnostic messages.Miod Vallat
2006-08-29enable arc, ok deraadt@Jolan Luff
2006-08-29zyd is not making this release; ok jsgTheo de Raadt
2006-08-29XXX when we find vgapci devices on a USIII machine, fail to matchTheo de Raadt
(for now, until the bugs are found. USIII machines remain serial-only for now); ok miod
2006-08-28avoid avail_end common; no binary change; found by grunk@Michael Shalayeff
2006-08-28enable arcDavid Gwynne
2006-08-27Enable HORRID_III_HACK, but make sure we only disable the data cache onMark Kettenis
UltraSPARC III and up. That way it isn't really that horrid and doesn't really affect UltraSPARC I & II. This gives us a GENERIC that runs on UltraSPARC III. ok deraadt@
2006-08-27Use the correct IGN for the B side of schizo. Makes interrupts actually workMark Kettenis
in the PCI slot of the v210. ok jason@
2006-08-27Work-in-progress VXT2000 support (commented out in GENERIC so far). GlassMiod Vallat
console works on color model, serial console works, ethernet attaches but does not work correctly yet.
2006-08-27Extract the device-independent parts of dzms, to let lkms@non-dz exist.Miod Vallat
Don't forget to rerun config(8)!
2006-08-27Move cfdriver structs to better places, in preparation for new attachments.Miod Vallat
2006-08-26Doh, compile before commit.Miod Vallat
2006-08-26Enable all planes in the ramdac as well, so that color really works.Miod Vallat
2006-08-26Set flags to 0x0001 for fintek(4), to make the fans run at full speed.Mark Kettenis
Seems to be the only reliable way to guarantee the fan runs at sufficient speed on the Thecus n2100. ok drahn@
2006-08-25Be a little less agressive in declaring the change pending bit stuck, increaseGordon Willem Klok
the number of retries by two orders of magnitude wont affect most systems but will make transitions smoother on marginal ones, if people see "change pending bit stuck" printed to the console after this I would like to hear about it. tested by and ok niallo@
2006-08-25forget about >4g memory if not switched to pae in order to disable all the ↵Michael Shalayeff
bounce-buffering logic
2006-08-24Add a few printfs to slow down SGEC initialization - somehow this appearsMiod Vallat
to be necessary on VXT2000. While large SDELAY are not enough. Someone will probably find my lack of faith in the SGEC code disturbing.
2006-08-24missing newline in a printfTheo de Raadt
2006-08-24Same change as on amd64. Don't propogate low level errors to userland.Gordon Willem Klok
2006-08-24Fix a few more cases where we propogate low level errors to userland.Gordon Willem Klok
found by niallo.
2006-08-24Check for a selftest failure after reset in the correct register.Miod Vallat
2006-08-24Enable the appropriate serial transmitters in VXT2000 serial routines, thisMiod Vallat
makes output work when the VXT2000 is not configured for serial console.
2006-08-24Add support for HMACs to the via c3/c7 crypto driver. For now, weHans-Joerg Hoexer
just use the software implemented algorithms. This is needed to make this driver useable for ipsec. ok deraadt@
2006-08-24Move d_secpercyl test to after setting default size. Missed in earlierKenneth R Westerback
adjustment of other disksubr.c's.
2006-08-22More register defines.Miod Vallat
2006-08-22Wrap dmesgMiod Vallat
2006-08-22Clear sti display on console attach, now that the bootloader leaves usMiod Vallat
with scribbles around; ok mickey@
2006-08-22Implement pmap_steal_memory() if HAVE_PMAP_DIRECT; no change except forMiod Vallat
faster uvm initialization.
2006-08-22provide some smp locking around protection fault trap from user too; ↵Michael Shalayeff
originally from niklas; been in snaps; tested on various smp boxen; niklas@ok
2006-08-22Same change as on i386: use a case-insensitive comparison when checkingTom Cosgrove
for bogus SMBIOS strings. Fixes identification of millert@'s system.
2006-08-22Use a case-insensitive comparison when checking for bogus SMBIOSTom Cosgrove
strings. Fixes identification of millert@'s system. ok gwk@
2006-08-22acx(4) seems to work fine on amd64 here also, so enable it.Jonathan Gray
2006-08-20move sf(4) out from untested sectionMartin Reindl
2006-08-20When spoofing an MSDOS disklabel, don't create partitions with a finalKenneth R Westerback
block past d_secperunit. Fixes devices where bogus partitions with a starting offset > d_secperunit were created. e.g. floppies formatted by Caldera DR-DOS. ok pedro@