summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-11-14remove unused header fileTakuya ASADA
2010-11-13backout 1.86Theo de Raadt
it is totally wrong to convert bdwrite into bawrite on the fly. this just causes way bigger issues. ok beck blambert
2010-11-13Switch from TSS-per-process to TSS-per-CPU, placing the TSS rightPhilip Guenthe
next to the cpu's GDT, also making the double-fault stack per-CPU, leaving it at the top of the page of the CPU's idle process. Inline pmap_activate() and pmap_deactivate() into the asm cpu_switchto routine, adding a check for the new pmap already being marked as active on the CPU. Garbage collect the hasn't-been-used-in-years GDT update IPI. Tested by many; ok mikeb@, kettenis@
2010-11-12revert MCLGETI for re(4) for now, it is causing hangs (in some casesStuart Henderson
temporary, in others apparently permanent) with high rates of input packets. ok deraadt@
2010-11-12Push all potential (as in, all system MI not utilized by the bootblocks)Theo de Raadt
.h files into the ctags run as well to bring #define's and structs and such into scope. Problem reported by thib
2010-11-12avoid pointer arithmetic on void *David Hill
no change in .o ok claudio
2010-11-11Replace snprintf(foo, sizeof foo, "%s", ...) with strlcpy. ok deraadt@ krw@Miod Vallat
2010-11-11Compute syhcnronous transfer periods with a better accuracy, to get betterMiod Vallat
results on the 16.5MHz clock case. ok krw@
2010-11-11DEC 3000/400 has a 22.5MHz TURBOchannel bus instead of the usual 25MHz;Miod Vallat
correctly report this. Then, in asc@tc, compute synchronous transfer periods (involving the bus clock) with a better accuracy. ok krw@
2010-11-11Pass a few more M_ZERO to malloc() or its wrappers, when useful; ok krw@Miod Vallat
2010-11-11Kill unused cinit(), and skip some diagnostic printf if optionMiod Vallat
DIAGNOSTIC is not set. ok deraadt@
2010-11-11Correctly disassemble ssnop.Miod Vallat
2010-11-10The acpibat(4) notify function should not unconditionally call both _BIFMark Kettenis
and _BST. Some machines (like the Toshiba Satellite Pro U550 18F mentioned in PR 6508) have AML that does a Notify(0x81) from the _BST method, which leads to infinite recursion. Instead call _BIF when the argument is 0x81 and call _BST when the argument is 0x80 or 0x00 (the latter indicates we're polling). Simplify the battery detection logic while there. ok mikeb@, marco@
2010-11-10Several updates for the Osprey (AR9380):Damien Bergamini
- Add the different ROM templates for the different chips - Fix AR_PHY_65NM_CH0_TOP_XPABIASLVL definition - Apply attenuation settings from the ROM
2010-11-10pass aesni_ctr_enc an initial counter block instead of an initialization vectorMike Belopuhov
2010-11-10Enable low latency interrupt moderation and set the LL intervalClaudio Jeker
to the maximum value to reduce the number of low latency interrupts hitting the card when the ring is getting full. Tested at least by deraadt@ on 99 and myself on 99 and 98 ix(4). OK mikeb@
2010-11-09correct some bit tests spotted by -Wparentheses in newer gcc.Jonathan Gray
ok oga@
2010-11-08clear ERL register on secondary processorsTakuya ASADA
2010-11-08use a well established define instead of rolling our own; no binary changeMike Belopuhov
2010-11-07fix a test in ar5008_rx_free()Damien Bergamini
2010-11-07regenMark Kettenis
2010-11-07A few more NVIDIA devices found on the latest 13" MacBook Pro (MacBookPro7,1).Mark Kettenis
2010-11-07regenMark Kettenis
2010-11-07NVIDIA GeForce 320M as found on the latest 13" MacBook Pro (MacBookPro7,1).Mark Kettenis
2010-11-06Move raid1 and crypto io to a workq. This is to avoid a potential VOP_Marco Peereboom
call while in interrupt context. Contains an additional spl dance as found by thib. Tested by many opn various arches. Note that raid 0/4/5/6 have not been moved over yet.
2010-11-06Revision 0xc4 and earlier of the Acer Labs M5229 UDMA IDE controller can't doMark Kettenis
DMA for LBA48 commands. Work around this issue by (silently) falling back to PIO for LBA48 commands. Access to the tail end of large disks will be much slower, but at least it works. From NetBSD (Takeshi Nakayama). ok jsg@, krw@, deraadt@
2010-11-06If the dma_init callback function returns with EINVAL, fall back to PIO.Mark Kettenis
This will be used to work around bugs in certain pciide(4) controllers. From NetBSD. ok jsg@, krw@, deraadt@
2010-11-06syncTheo de Raadt
2010-11-06another planex deviceTheo de Raadt
2010-11-06print the MAC address on the second line like with the other USBDamien Bergamini
802.11 drivers.
2010-11-06urtwn(4) works on sparc64 too.Damien Bergamini
committed from my Sun Blade 1500 with the HWNUp-150.
2010-11-06syncTheo de Raadt
2010-11-06Planex GW-USNanoTheo de Raadt
2010-11-06support the logic rt3020 that mtu@ foundTheo de Raadt
2010-11-06syncTheo de Raadt
2010-11-06add a logitec RT3020 found by mtu@Theo de Raadt
2010-11-05s/urtw_devs/urtwn_devs/Damien Bergamini
no binary change
2010-11-05double \n\n in dmesgDamien Bergamini
2010-11-05urtwn(4), a driver for Realtek RTL8188CU/RTL8192CU 802.11n USB devices.Damien Bergamini
these devices are different from the RTL8191SU/RTL8192SU ones that are not supported by this driver. requires a firmware (urtwn-firmware-1.0) committed over a Hercules HWNUp-150 (RTL8188CU). ok deraadt@
2010-11-05Minor code cleanups. No functional change. From Alexandr Shadchin.Kenneth R Westerback
ok nicm@
2010-11-05Sync a bunch of USB devices from i386 to macppc, compiles, butDale Rahn
devices not tested. Not going to get tested unless they are available.
2010-11-05Implement m_print as real ddb command "show mbuf addr" in the way otherClaudio Jeker
such commands are implemented. "Ja! You'll need to update ddb.4 as well, of course." miod@
2010-11-04Filter out reserved destination MAC addresses (01:80:C2:00:00:0x) asPaul de Weerd
per the 802.1D-2004 spec. With lots of help and guidance (and some nagging) from claudio. Tested with net/ladvd port on i386 and amd64. 'be a man' claudio@, ok mpf@
2010-11-03no need to specify the -t flag to ctagsTheo de Raadt
2010-11-03pool_sethardlimit should not imply pool_sethiwat; figured out with claudioMike Belopuhov
ok claudio tedu
2010-11-03only let vmt match and therefore attach if mainbus is specifically askingDavid Gwynne
for vmt to attach after vmt_probe succeeds. this prevents vmt from appearing at other attach points hanging off mainbus. found by phessler@ and debugged gently by claudio@
2010-11-02Make error message specify if a REQUEST SENSE has timed out, not theKenneth R Westerback
original command. Return xs->error = XS_SENSE, when REQUEST SENSE times out, rather that XS_TIMEOUT. Reduces many useless retries of commands getting sense errors.
2010-11-02Add DEBUG0 printf() for unexpected reselects. No functional change.Kenneth R Westerback
2010-11-02Consolidate duplicated code removing things from the 'going' queue.Kenneth R Westerback
No functional change.
2010-11-02Clean up some printf's, most but not all in DEBUG0 blocks, by usingKenneth R Westerback
sc_print_link() properly and consistently. No functional change.