summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-01-05Kill all typedef struct goo.Marco Peereboom
2006-01-05Disable the minimum size frame bundling when using the CPUSaver microcode.Brad Smith
This could cause 2 interrupts per frame if the frame size is below 128 bytes. From Dmitry Bogdan <dsb at imcs dot dvgu dot ru>
2006-01-05Provide symbolic names for the acpi sleeping states and use it.Alexander Yurchenko
2006-01-05don't include sys/errno.h, pointed out by MiodMartin Reindl
2006-01-05load the CPUSaver 102E microcode for the 82551 Rev 10 chip.Brad Smith
From the Intel e100 driver.
2006-01-05More dead constants.Miod Vallat
2006-01-05A match() function should never, never, ever return UNSUPP for unsupportedMiod Vallat
hardware - if only because UNSUPP is 2, not 0. So you'll match, and later have to do ``oops, twas not my fault, honest'' in attach.
2006-01-05Begone.Miod Vallat
2006-01-05regenBrad Smith
2006-01-05more fxp PCI ids.Brad Smith
From the Intel e100 driver.
2006-01-05Check securelevel and machdep.allowaperture for i386_set_ioperm() theMatthieu Herrb
same way as for i386_iopl(). ok deraadt@
2006-01-05enable ixgbTheo de Raadt
2006-01-05go ahead, enable asmsTheo de Raadt
2006-01-05Work around flawed IBM 325 eServer IPMI implementation.Marco Peereboom
Help and ok deraadt@ jordan@
2006-01-05Better debug verbosity values.Marco Peereboom
2006-01-05Adjust debug levels.Marco Peereboom
2006-01-05Don't change pins state on attach.Alexander Yurchenko
2006-01-05I got the time scale wrong with the previous commit. Now the advertisedMarco Peereboom
50ms timeout is actually 50ms during runtime.
2006-01-05Make it possible to set a default vlan priority for vlan interfaces.Esben Norby
ok claudio@ brad@
2006-01-05Finish framework for attaching kernel drivers to the GPIO pins.Alexander Yurchenko
Not used yet.
2006-01-05knfAlexander Yurchenko
2006-01-05Add my copyright.Alexander Yurchenko
2006-01-05Add SMBus host interface support for amdpm(4).Alexander Yurchenko
ok deraadt@
2006-01-05Happy New Year!Alexander Yurchenko
2006-01-05Reliability fixes:Alexander Yurchenko
- don't force enabling host controller - don't start new transfer if bus is busy - kill transfer on timeout Some ideas from kettenis@; ok deraadt@.
2006-01-05interacting with the watchdog while we're in the middle of updating sensorsDavid Gwynne
is bad(tm). if updates are happening then make esm_refresh to do esm_watchdogs work after its own.
2006-01-05rev 1.59 & 1.60 of rtw.c commited by David Young to NetBSD:Jonathan Gray
On a transmit FIFO overflow (err, actually an underflow...) reset both the transmit & receive sections of the MAC. Fix comments and debug printfs: Tx FIFOs underflow, they don't overflow.
2006-01-05part of rev 1.58 of rtw.c David Young comitted to NetBSD:Jonathan Gray
Miscellaneous Realtek RTL8180L driver improvements: 3 Revamp handling of transmit descriptor rings. 4 Reliably IFF_OACTIVE when transmit descriptors are available, to stop the transmit section of the driver from freezing up. 5 Fix beacon transmission in adhoc and hostap modes. XXX There is a wart in hostap mode, where beacons are transmitted at 1/2 the correct rate. Load beacon descriptors when the RTW_INTR_BINT interrupt arrives; schedule RTW_INTR_BINT 1ms ahead of the target beacon time. 6 Recover more gracefully from tx/rx errors: avoid transmitter/receiver/chip resets. Try to re-synchronize software state with hardware state---e.g., load next descriptor pointer from hardware. 7 Activate the transmit watchdog timer for beacons as well as other packets. 8 Introduce rtw_idle() that waits for transmit DMA to finish; call it before resetting the transmitter.
2006-01-05ansi/deregisterJonathan Gray
2006-01-05bzero buffers after malloc, or clear string buffer before strlcpy'ingTheo de Raadt
into them, if you are gonna copy it out to userland some ok dhartmei, some ok tedu
2006-01-05if a kthread fails to call kthread_exit() but instead returns,Ted Unangst
bad things happen. fix acct thread. from art
2006-01-05bzero after malloc; ok dhartmeiTheo de Raadt
2006-01-04Adjust timeout values. This was determined by using beck's ibm e325.Marco Peereboom
ok jordan
2006-01-04Make bitfields readable. ok jordan@Marco Peereboom
2006-01-04Switch to the C version of random() on m68k platforms. It is almost as fastMiod Vallat
as the assembly version on 0[234]0, but *fifteen* times faster than it on 68060 systems, since it uses a form of muls.l which has to be emulated. And since we use random() for statclock variance, this means we were gratuitously doing an average of 100 emulation traps per second. ok deraadt@ millert@
2006-01-04Return from interrupt handler after chip init(reset).Brad Smith
From petrov NetBSD ok miod@
2006-01-04esm_cmd has to wait for two registers to change state for every commandDavid Gwynne
that you issue to the controller. the current code works around busy waiting on the first register by retrying it in a new tick of softclock, but the second register was still handled with a busy wait. esm_cmd now returns which register it is up to dealing with so you can resume the command at the right point in a new tick. this drops the cpu usage when doing the updates from roughly 15% time in interrupts down to barely noticable. looks reasonable deraadt@ commitsky! marco@
2006-01-04Remove unused structures and ioctl declarations.Miod Vallat
2006-01-04People doing time comparisons without using the time{r,spec}cmp macros areMiod Vallat
doomed to do them incorrectly; ok krw@ millert@ tedu@
2006-01-04Import NetBSD's direct adb code on mac68k, switching to real keyboard and mouseMiod Vallat
drivers, and to wscons as the console; a few parts borrowed from OpenBSD/macppc as well. Currently only working with displays configured in 1bpp or 8bpp modes; this limitation will be worked on ASAP. Tested by claudio@ kettenis@ martin@ nick@ and I on various models. X11 changes coming soon.
2006-01-04More accurate sc_minsync computation on 16.5MHz ESPs; ok martin@Miod Vallat
2006-01-04Crank MAXPHYS to 64KB again and remove bogus comment.Miod Vallat
2006-01-04Initialize virtual_end to a decent value, so that VM_MAX_KERNEL_ADDRESS isMiod Vallat
meaningful before pmap_bootstrap() is invoked; gets us valid buffer numbers computation.
2006-01-04Cut buffers pressure down to 35% of kvm max, since (for now) kvm isMiod Vallat
scaringly scarce on mips64. While there, no need to zero memory in allocsys().
2006-01-04Stop abusing phys_map to know if it is safe to use malloc in extent routines;Miod Vallat
instead use a global flag, like some other architectures do. No functional change.
2006-01-04Do not return zero in bus_space_map() on failure (sigh).Miod Vallat
2006-01-04Use symbolic constants for the MACE ISA address range in mace_space_unmap()Miod Vallat
too!
2006-01-04Better rounding logic when registering memory regions in uvm; we would loseMiod Vallat
a page per region by mistake.
2006-01-04detect lm96000Theo de Raadt
2006-01-04Make sure we unmap io space if we fail to attach.Mark Kettenis
"makes sense" deraadt@