summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2004-06-24This moves access to wall and uptime variables in MI code,Thorsten Lockert
encapsulating all such access into wall-defined functions that makes sure locking is done as needed. It also cleans up some uses of wall time vs. uptime some places, but there is sure to be more of these needed as well, particularily in MD code. Also, many current calls to microtime() should probably be changed to getmicrotime(), or to the {,get}microuptime() versions. ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others "Oh, that is not your problem!" from miod@
2004-06-24ultra minor KNFJun-ichiro itojun Hagino
2004-06-24endian fix from chris pascoeJolan Luff
tested by nordin@ and david gwynne
2004-06-23a few fixes to systracemarius eriksen
- add an exec message so that whenever a set-uid/gid process exec's a new image which we may control, the exec does not go by unnoticed. - take special care to check for P_SUGIDEXEC as well as P_SUGID, corresponding to the same changes that were made in the ptrace code a while ago ok niels@, sturm@; thanks to naddy for testing
2004-06-23Make AHD_DEBUG compile. ok krw@Marco Peereboom
2004-06-23Missed this in the atw(4) commit.Todd C. Miller
2004-06-22atw(4) driver from NetBSD (dyoung). Based in part on a port byTodd C. Miller
Matthew Gream. Unfortunately, the adm8211 card I have with me does not work correctly with the driver yet so real testing will have to wait until I get my hands on an adm8211-based DWL-650 or something similar.
2004-06-22Enable ahd interrupts and reset the channel before scanning the busKenneth R Westerback
for devices. This is how ahc is done too. Fixes probe hang on Theo's box with the 7902B chip. ok marco@
2004-06-22Use SIOCSIFGENERIC and SIOCGIFGENERIC for SIOCSWAVELAN and SIOCGWAVELANTodd C. Miller
instead of SIOCSIFASYNCMAP and SIOCGIFASYNCMAP. Needed for upcoming 802.11 framework. OK deraadt@
2004-06-22The Prism device driver's manual makes a distinction in naming ofTodd C. Miller
config comands and other types but we don't so remove the CNF_ from WI_RID_CNF_ENH_SECURITY and WI_RID_CNF_DBM_ADJUST for consistency and compat with Net and Free.
2004-06-22Spacing. ok krw@Marco Peereboom
2004-06-22Remove all static functions. ok krw@Marco Peereboom
2004-06-22If there is no CIS info the cardbus attach would print an extraTodd C. Miller
double quote; now it doesn't. OK openbsd!beck
2004-06-21First step towards more sane time handling in the kernel -- this changesThorsten Lockert
things such that code that only need a second-resolution uptime or wall time, and used to get that from time.tv_secs or mono_time.tv_secs now get this from separate time_t globals time_second and time_uptime. ok art@ niklas@ nordin@
2004-06-21Fix ahd_[get|set]_transaction_status vs ahd_[get|set]_scsi_status confusion.Kenneth R Westerback
Allocate max number of SCB's at initialization. Display negotiated transfer parameters. ok marco@
2004-06-21Add support for agten(4) - on Andrey's U2 the PROM is not able to initializeMiod Vallat
the board correctly, though.
2004-06-20Port mgx(4) to sparc64.Miod Vallat
2004-06-20take 2 times less room in dmesg, prettier tooPeter Valchev
allocate interrupts early on (before PHY attachment, etc) just like all other drivers do to allow the above; ok mcbride
2004-06-20Port the rfx(4) frame buffer driver to sparc64.Miod Vallat
2004-06-20regenDamien Couderc
2004-06-20add Intel 82852/82855 AGP and IOs, NVidia GEForce FX 5600 and FX Go 5200.Damien Couderc
2004-06-20zx(4) support for sparc64, tested on an Ultra 2.Miod Vallat
2004-06-20add the VNDIOCGET ioctl to vnode disks, ok millert@Pedro Martelletto
2004-06-20fix EHCI_DEBUG crud; aratchov@magphy.ujf-grenoble.frTheo de Raadt
2004-06-19save curproc for further reference, otherwise we may end up in lockmgr()Pedro Martelletto
with no process context. ok miod@. closes pr 3214.
2004-06-18On architectures which have strict alignment, shift the entire mbuf chain byRyan Thomas McBride
ETHER_ALIGN bytes when jumbo packets are enabled (mtu > ETHERMTU). ok henric@ (slightly different diff)
2004-06-18Fix jumbo frames.Ryan Thomas McBride
- Implement SIOCSIFMTU ioctl. - Remove from the free list instead of the inuse list when allocating jumbo buffers. - Use TI_JUMBO_FRAMELEN as the size argument to bus_dmamap_create();
2004-06-18Pass MAX_JUMBO_FRAME_SIZE as the size argument of bus_dmamap_create(),Ryan Thomas McBride
fixes sending of jumbo frames. ok henric@ drahn@
2004-06-18Avlab PCI 4 Serial, takashi@crazyhack.net in PR3823Henning Brauer
2004-06-18syncHenning Brauer
2004-06-18Avlab 4 Serial pucHenning Brauer
2004-06-16regenMatthieu Herrb
2004-06-16+ nVidia Geforce4 Ti 4200 Go + typo. Ok deraadt@.Matthieu Herrb
2004-06-14Remove unused descriptive name strings. We use the names the devices return.Kenneth R Westerback
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-06-13regenMichael Shalayeff
2004-06-13support iriver ifp-1xx thingiesMichael Shalayeff
2004-06-13cy_attach improvements; ok artPeter Valchev
- don't panic if you can't setup interrupts, just quit attach - cleanup printf's, show a better error message
2004-06-12Add check for bp->b_bcount in siop_minphys() as other drivers have.Kenneth R Westerback
ok mickey@
2004-06-12Sync with FreeBSD aicasm. No changes to the generated reg.h or seq.hKenneth R Westerback
files used by ahc or ahd result from these changes, so they are not being sync'ed at this time. ok deraadt@
2004-06-10From FreeBSD (via rees@umich.edu and nate)Peter Valchev
Initialise `restartcnt' in the newly malloc'd usbd_port structure, as otherwise the junk it contains may cause uhub_explore to give up without ever trying to restart the port. This fixes the following errors I was seeing with a VIA UHCI controller: uhub0: port error, restarting port 1 uhub0: port error, giving up port 1
2004-06-08Make umass CBI buffer handling consistant with BBB buffer handling byKenneth R Westerback
using sc->data_buffer (not sc->tranfer_data), in the actual data transfer operations. From NetBSD PR #25676. ok tdeval@ deraadt@
2004-06-06Multicast cleanupsRyan Thomas McBride
- make multicast ranges work - replace handrolled crc code with ether_crc32_{be,le}() - add missing calls to ether_{add,del}multi() ok deraadt@
2004-06-06- replace hand-rolled crc32 with ether_crc32_be()Ryan Thomas McBride
- make multicast ranges work
2004-06-05Remove unneeded dependency on wscons_raster.hMiod Vallat
2004-06-05regenBrad Smith
2004-06-05add Intel i960 RD PCI-PCI bridge found on Intel EtherExpress PRO/100 Server ↵Brad Smith
adapters as well as the adapter id too.
2004-06-05Make multicast ranges work.Ryan Thomas McBride
ok deraadt@
2004-06-05- replace handrolled crc32 with ether_crc32_be()Ryan Thomas McBride
- make multicast ranges work ok deraadt@
2004-06-05Clean up style in ioctl.Ryan Thomas McBride
ok deraadt@