summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix preprocessor code to check for a symbol being defined prior to checkingmjacob2007-06-081-1/+1
| | | | for non-zero.
* Carry volatile type in cast so gcc 4.2 will be happy.mjacob2007-06-081-1/+1
|
* Quiet GCC 4.2 warning.mjacob2007-06-081-1/+1
|
* Remove the __inline qualifier from a function which is in fact not anmjacob2007-06-081-1/+1
| | | | inline but instead a module wide function, thus quieting a GCC 4.2 warning.
* Include now unused var within #if 0 where it come back if the othermjacob2007-06-081-0/+2
| | | | #if 0 code comes back- quiets gcc 4.2
* Remove assignment to uninitialized variable that wasn't then used anyway.mjacob2007-06-081-2/+0
|
* Poll bus resets on FireWire while kdb/gdb is active.simokawa2007-06-083-0/+19
| | | | | | | | | | | | | | | Now, it's safe to call the fwohci interrupt(polling) routine while ddb/gdb is active. After this change, a dcons connnection over FireWire can survive bus resets even in kernel debugger. This means that it is not too late to plug a FireWire cable after a panic to investigate the problem. Actually there is a small window(between a jump to kernel from loader and initialization of dcons_crom) in which no one can take care of a bus reset. Except that window, firewire console should keep working from loader to reboot even with a panic and a bus reset. (as far as you enable LOADER_FIREWIRE_SUPPORT)
* Move per-process audit state from a pointer in the proc structure torwatson2007-06-0710-179/+147
| | | | | | | | | | | embedded storage in struct ucred. This allows audit state to be cached with the thread, avoiding locking operations with each system call, and makes it available in asynchronous execution contexts, such as deep in the network stack or VFS. Reviewed by: csjp Approved by: re (kensmith) Obtained from: TrustedBSD Project
* There's no nobounce_dmamap on arm.cognet2007-06-071-4/+3
|
* In tcp_hc_insert() we may have the case where we have hit the globalandre2007-06-071-0/+6
| | | | | | | | | | cache size limit but this bucket row is empty. Normally we want to recycle the oldest entry in the bucket row. If there isn't any the TAILQ_REMOVE leads to a panic by trying to remove a non-existing element. Fix this by just returning NULL and failing the insert. This is not a problem as the TCP hostache is only advisory. Submitted by: jhb
* - Remove unused variable from create_thread().jhb2007-06-073-6/+5
| | | | | - Move kern_thr_*() prototype to <sys/syscallsubr.h> where all the other kern_*() prototypes live.
* Remove remaining references to pc_curtid missed in previous commit.marcel2007-06-071-2/+0
|
* Eliminate pmap_install(), which was used to wrap pmap_switch() andmarcel2007-06-071-55/+43
| | | | | | | | | | grab sched_lock. This would serialize calls to pmap_switch from cpu_switch(). With the introduction of thread_lock, this is not possible anymore, because thread_lock is not a single lock. It varies. Secondly and most importantly, it's not needed at all. The only requirement for pmap_switch() is that it's not preempted while in the middle of updating the CPU and PCPU. In other words, it's a critical region. No locking required.
* Fix off-by-one error (introduced in r1.60) that had the effect ofbmah2007-06-071-1/+1
| | | | | | | | disallowing a read of exactly MAXPHYS bytes. Reviewed by: des, rdivacky MFC after: 1 week Sponsored by: nCircle Network Security
* Add a tunable hw.firewire.phydma_enable.simokawa2007-06-073-6/+19
| | | | | | | | This is enabled by default. It should be disabled for those who are uneasy with peeking/poking from FireWire. Please note sbp(4) and dcons(4) over FireWire need this feature.
* Add heuristics for smooth reconnection.simokawa2007-06-071-4/+22
|
* Remove compat ifdefs for version < 500014 from the rest of the USB files.brueffer2007-06-0714-69/+0
| | | | | Approved by: rwatson (mentor) MFC after: 1 week
* "-b /boot/mbr" is redundant, /boot/mbr is the default boot code for fdisk(8).pav2007-06-071-2/+2
| | | | Pointed out by: ru
* Bump __FreeBSD_version for the change of the vn_open/VOP_OPEN file indexkib2007-06-071-1/+1
| | | | | | argument to struct file *. Requested by: Csaba Henk <csaba-ml at creo hu>
* Calculate the correct PCI BAR for the Timedia based serial cards. Thepeter2007-06-071-1/+1
| | | | | Linux equivalent gives BAR offsets relative to the implied base of 0x10. Our PUC_CFG_GET_RID functions have to add the base offset themselves.
* Fix spaces introduced in last commitimp2007-06-071-14/+14
|
* New Features:davidch2007-06-072-410/+412
| | | | | | - Added 2.5G support for BCM5708S. MFC after: 4 weeks
* New features:davidch2007-06-073-179/+497
| | | | | | | | | | | | | - Moved BCM5706S/5708S SerDes support to brgphy (since they are not technically TBI interfaces) - Added 2.5G support for BCM5708S Comments: Since this driver is shared with bge I tested several available controllers supported by bge and all worked as expected, however the list was not exhaustive. Need wider testing. MFC after: 4 weeks
* Fix compiling error.davidxu2007-06-071-1/+0
|
* The maxsegsz of a dma tag created in de(4) is TULIP_DATA_PER_DESC bytes.yongari2007-06-071-1/+1
| | | | | | | | | | In Rx path it allocates a new mbuf with m_getcl(9) so the length of the mbuf is MCLBYTES which is greater than a segment size specified by the dma tag. This segment size mismatch caused a voluntary panic. Fix the panic by settting the mbuf length to TULIP_DATA_PER_DESC. Reported by: Arne H Juul <arnej AT yahoo-inc DOT com> Tested by: Arne H Juul <arnej AT yahoo-inc DOT com>
* - PCPU_ADD is no longer spelled with LAZY_ in the middle.jeff2007-06-061-1/+1
| | | | Submitted by: attilio
* Teach the bridge wrapper how to handle the filter+ithread case.piso2007-06-063-36/+77
| | | | Reviewed by: marius
* -axe p_ih from struct puc_port cause it was uselesspiso2007-06-061-8/+4
| | | | | | | -correctly check for filter only handler Reviewed by: marcel Tested by: marcel
* Correctly print SEQ and IRS in the corresponding log message inandre2007-06-061-1/+1
| | | | syncache_expand().
* - Revert previous revision, it was incorrectpav2007-06-061-8/+5
| | | | | | | | - Add an example using fdisk instead Pointed out by: ru Submitted by: Warren Block <wblock@wonkity.com> MFC after: 3 days
* Specify which Dlink chip is supported (D-Link DUB-E100 ver A) becauseremko2007-06-061-2/+2
| | | | | | | | | others (D-Link DUB-E100 ver B1) are not. PR: docs/109664 Submitted by: Martin Nilsson<martin at mullet dot se> Patch by: asmodai MFC after: 1 week
* Document getaddrinfo(3)'s AI_ADDRCONFIGremko2007-06-061-6/+67
| | | | | | | PR: docs/78357 Submitted by: Matthias Andree <matthias dot andree at gmx dot de> Patch by: asmodai MFC after: 1 week
* Fix a typo to make this file compilegallatin2007-06-061-1/+1
|
* update copyrights to 2007 and convert to be 2-clause bsd-onlysam2007-06-069-74/+11
|
* MFp4: MPSAFE firewire stack.simokawa2007-06-0614-497/+849
| | | | | | | | | | | | | - lock its own locks and drop Giant. - create its own taskqueue thread. - split interrupt routine - use interrupt filter as a fast interrupt. - run watchdog timer in taskqueue so that it should be serialized with the bottom half. - add extra sanity check for transaction labels. disable ad-hoc workaround for unknown tlabels. - add sleep/wakeup synchronization primitives - don't reset OHCI in fwohci_stop()
* Do not leak lock in the case of EEXIST error.glebius2007-06-061-2/+6
| | | | | PR: kern/92776 Submitted by: Ed Schouten <Ed.Schouten tunix.nl>
* MFi386: revision 1.657nyan2007-06-061-1/+0
| | | | Backout experimental adaptive-spin umtx code.
* - Sort the headers per style(9)rafan2007-06-061-1/+1
| | | | | Reminded by: yar Approved by: delphij (mentor, implicit)
* Correct typo.ceri2007-06-061-1/+1
|
* Update rum driver that needs wlan(4).kevlo2007-06-061-0/+2
|
* Backout experimental adaptive-spin umtx code.davidxu2007-06-069-77/+1
|
* Add support IC Plus IP101 10/100 PHY that is found on nVidia networkyongari2007-06-061-0/+1
| | | | | | adapters. Submitted by: Shigeaki Tagashira < shigeaki AT se DOT hiroshima-u DOT ac DOT jp >
* Add IC Plus IP101 PHYyongari2007-06-061-0/+1
|
* Add support Vitesse VSC8601 PHY that is found on nVidia networkyongari2007-06-062-0/+30
| | | | | | | | adapters. Submitted by: Shigeaki Tagashira < shigeaki AT se DOT hiroshima-u DOT ac DOT jp > Tested by: Yuri Pankov < yuri.pankov AT gmail DOT com>, Rainer Hurling <rhurlin AT gwdg DOT de >
* Add OUI for Vitesse Semiconductor.yongari2007-06-061-0/+2
| | | | Add Vitesse VSC8601 PHY.
* Fix the compile. Band-aid until it is worked out how to use the contextgrehan2007-06-062-2/+2
| | | | switch api on ppc.
* Prefix unknown (i.e. un-aliased) partition types with '!'. This ismarcel2007-06-062-4/+6
| | | | how they had to be given with ctlreq.
* Call sbuf_finish() before sbuf_data() and sbuf_len().marcel2007-06-061-0/+5
|
* copyright updates:sam2007-06-0622-147/+23
| | | | | | | o update to include 2007 o switch back to a 2-clause bsd-only license Reviewed by: onoe
* Include <sys/sched.h> for sched_throw().marcel2007-06-061-0/+1
|
OpenPOWER on IntegriCloud