summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-10-09Use %zu for printing size_t values.Ray Lai
OK dlg.
2007-10-09MALLOC+bzero -> malloc+M_ZERO. Don't forget FREE->free this time.Kenneth R Westerback
As with many of the last commits, looked at by chl@ in an earlier version.
2007-10-09MALLOC+bzero -> malloc+M_ZERO. Don't forget FREE->free this time.Kenneth R Westerback
'Fixes' two cases where the zeroing did not cover all the memory allocated. As with many of the last commits, looked at by chl@ in an earlier version.
2007-10-09MALLOC+memset(,0,) -> malloc+M_ZERO. Don't forget FREE->free this time.Kenneth R Westerback
2007-10-08Give the device a bit time to finish the reset when stopped. AvoidsMarcus Glocker
helper firmware load timeouts when device is brought up very fast again, like seen with trunk(4).
2007-10-08Make pcmcia malo(4) work with trunk(4) by:Marcus Glocker
Setting interface ethernet address from link level address. Adding firmware command to set ethernet address.
2007-10-08Align the suspend saved data to a cache line boundary, apparently preventsMiod Vallat
issues upon resume.
2007-10-08Initialize dh_blkfree with zero's.Kenneth R Westerback
ok beck@
2007-10-08A few trailing bzero/memset -> M_ZERO occurrences, cast removal andKenneth R Westerback
size(*p) usage. This should be the last of the simple malloc() changes.
2007-10-08A few trailing bzero/memset -> M_ZERO occurrences, cast removal andKenneth R Westerback
size(*p) usage.
2007-10-08shrink nfsrv_v2errmap[] and check table size more carefully to avoidTheo de Raadt
dependency on ELAST; ok miod thib
2007-10-08Get trunk(4) working again with 802.11 devices. Spotted by ajacoutot@.Marcus Glocker
Diff has been done in co-work with damien@, jsg@, reyk@, and claudio@. OK damien@
2007-10-08A memset(,0,) -> M_ZERO change which also fixes a possible bug withKenneth R Westerback
malloc'ing one struct size but zero'ing the memory with another struct size. Feedback from todd@ tedu@ miod@
2007-10-08isa0 at amdpcib? got skipped, sighTheo de Raadt
2007-10-08enable spdmem where it mattersTheo de Raadt
2007-10-08GPS170 -> GPS170PCIMarc Balmer
ok claudio
2007-10-08regenMarc Balmer
2007-10-08GPS170 -> GPS170PCIMarc Balmer
ok claudio
2007-10-08Print registered/CAS latency information for SDRAM.Jonathan Gray
2007-10-08To identity PC133 we need to check cycle time as modulesJonathan Gray
often identify as PC100.
2007-10-08Correct frequency for SDRAM.Jonathan Gray
2007-10-08More simple memset(,0,) -> M_ZERO changes. In this batch move toKenneth R Westerback
size(*p) as the first malloc() parameter where p is declared locally and thus easy to check. Add M_ZERO to gpe_table allocation in acpi.c even though there is no obvious bzero or memset nearby.
2007-10-08Introduce %z for printf(9), like %z for printf(3). Used to printRay Lai
size_t and ssize_t variables. OK miod and cthulhu.
2007-10-08Don't skip EEPROMs in ofw i2c scan,Jonathan Gray
match on sparc64 SPD name in spdmem. Tested on a V120. ok deraadt@
2007-10-08attach uslcom to the track systems traqmatejoshua stein
ok jsg
2007-10-08support 230400 speedjoshua stein
ok jsg
2007-10-08Indicate if the module is registered, DDR/DDR2 only at the moment.Jonathan Gray
Tested by ian@ wilfried@ and deraadt@
2007-10-07regenjoshua stein
2007-10-07track systems traqmate gps data acquisition systemjoshua stein
2007-10-07Add a driver, amdpcib(4), for the AMD 8111 series LPC bridge and HPET writtenMarc Balmer
by mickey, man page by me. Help, suggestions by Theo and jmc. Enable this driver and glxpcib(4) in all RAMDISK kernel, but glxpcib(4) does not provide the watchdog timer in the RAMDISK kernels. Prodded by deraadt. E
2007-10-07Print CAS latency for DDR/DDR2.Jonathan Gray
Shuffle strings around to look pretty as suggested by deraadt.
2007-10-07Make sure nfsrv_v2errmap[] really contains ELAST initialized values.Miod Vallat
2007-10-07Port of Nicolas Joly, Paul Goyette & Tobias Nygren'sJonathan Gray
spdmem(4) driver for Serial Presence Detect memory information.
2007-10-07add support for scanning the spdmem range of addresses, using a differentTheo de Raadt
probe function; based on earlier work by jsg, and retested by us
2007-10-07Add support for the PCI-ISA bridge, timecounter, and watchdog timerMarc Balmer
found in the CS5536 companion chip to the AMD Geode LX-800 processor. glxpcib(4) driver written by mickey, with some tweaks by me. Manpage nits by jmc. Tested on the Soekris net5501 (by me) and the Alix 2a2 (by earxtacy@dixinet.com) ok kettenis
2007-10-06Simpliest memset(,0,) -> M_ZERO changes. One (caddr *) cast removal,Kenneth R Westerback
otherwise just adding M_ZERO to malloc() and removing the immediately adjacent memset(,0,).
2007-10-06Some archs used memset() rather than bzero(). So duplicate diffKenneth R Westerback
previously applied to other archs deleting a memset() this time. e.g. - if ((mapstore = malloc(mapsize, M_DEVBUF, - (flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL) + if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT) ? + (M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL) return (ENOMEM); - memset(mapstore, 0, mapsize);
2007-10-06Use db_printf instead of printf, to prevent problems with lockingMark Kettenis
kprintf_mutex in the early stages of booting. ok miod@ (a while ago)
2007-10-06Another NPBFILTER comment typo.Jonathan Gray
From Jung <moorang@gmail.com>
2007-10-06Provide <machine/lock.h> on hppa64 too.Mark Kettenis
2007-10-06Simple single-processor only mutex implementation; cloned from hppa.Mark Kettenis
2007-10-06NPBFILTER -> NBPFILTER in comments.Jonathan Gray
ok kettenis@
2007-10-06Remove unused variable.Mark Kettenis
2007-10-06Oops, committed this with a typo, which made it do not quite the right thing.Mark Kettenis
2007-10-06Rename bus_space macros. ISA_GET/PUT -> CSR_READ/WRITEBrad Smith
Tested by todd@ ok dlg@
2007-10-06Oops. Forgot to do FREE -> free when I did MALLOC -> malloc.Kenneth R Westerback
2007-10-05gilles missed one of the __attribute__((__packed__)) here inJonathan Gray
the __attribute__((__packed__)) -> __packed conversion.
2007-10-05add a 2.5 Gbps fiber media type.Brad Smith
From FreeBSD ok claudio@ dlg@
2007-10-05MALLOC/FREE -> malloc/free + M_ZERO.Thordur I. Bjornsson
As a side effect, this probably fixes PR5596, if the allocation of dh_hash succeeds and the dh_blkfree fails, we jump into the fail case, but we haven't initialized dh_hash properly, that is filling the array with memory from the dirhash pool, but the != NULL check holds, since the memory hasn't been zeroed and so we start pool_put()'ing, causing the crash in PR5596. PR5596 debugging by pedro. ok art@, krw@
2007-10-05Disable fiber/copper auto-selection on the 88E1111 if it is in RGMII mode, toMark Kettenis
work around the fact that the onboard PHYs attached to nfe(4) on the Sun X4100 M2 have fiber/copper auto-selection enabled even though the interfaces are clearly copper-only. Fixes PR system/5587. ok jsg@, claudio@