summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use our own callout instead of if_slowtimo() for driving lance_watchdog()marius2006-12-064-12/+25
| | | | in order to avoid races accessing if_timer.
* - Use the hme_tick() callout instead of if_slowtimo() for drivingmarius2006-12-062-17/+22
| | | | | | hme_watchdog() in order to avoid races accessing if_timer. - Use bus_get_dma_tag() so hme(4) works on platforms requiring it. - Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that.
* - Use the gem_tick() callout instead of if_slowtimo() for drivingmarius2006-12-062-22/+25
| | | | | | | | gem_watchdog() in order to avoid races accessing if_timer. While at it relax the watchdog a bit by reloading it in gem_tint() if there are still packets enqueued. - Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that. - Fix inconsistencies in prototypes.
* - Use our own callout (the dc_tick() callout uses varying periodsmarius2006-12-062-27/+35
| | | | | | | | | depending on the NIC and isn't used at all with HomePNA links) instead of if_slowtimo() for driving dc_watchdog() in order to avoid races accessing if_timer. - Use bus_get_dma_tag() so dc(4) works on platforms requiring it. - Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that. - Remove an alpha remnant in dc_softc.
* test cancel_pending to save a thr_wake call in some specical cases.davidxu2006-12-061-1/+1
|
* initialize mutex and cv.davidxu2006-12-061-2/+2
|
* _thr_ucond_wait drops lock, we should pick it up again.davidxu2006-12-051-0/+1
|
* Flush my typo fix queue for this directory.ceri2006-12-054-4/+4
|
* Fix typos.ceri2006-12-052-3/+3
|
* - Add myself to calendar.freebsdgabor2006-12-051-0/+1
| | | | | Approved by: erwin (mentor) MFC after: 3 days
* document that NCQ is not yet supported.wilko2006-12-051-0/+2
| | | | PR: kern/106343
* Portability fix for non-POSIX operating systems: Open files in binary mode.cperciva2006-12-052-9/+17
| | | | | PR: bin/106358 Submitted by: techtonik at php dot net
* Use callout mechanism instead of timeout()/untimeout().ume2006-12-053-3/+4
| | | | MFC after: 1 week
* Forced commit to note a repo-copy of this file frombmah2006-12-050-0/+0
| | | | | | | | | | | src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml. This operation is a part of a reorganization of the release notes, which will (when completed) provide one version of the release notes covering all architectures, rather than multiple versions (each describing one architecture). Discussed on: -doc@
* Teach mdoc(7) about FreeBSD/arm and FreeBSD 6.3; both needed by theru2006-12-051-0/+4
| | | | npe(4) manpage.
* Move npe.4 to a machine specific manpage subdirectory.ru2006-12-054-6/+14
|
* Fix an off by one error in struct nve_tx_desc's frags[] array as a resultjhb2006-12-051-1/+1
| | | | | | | | of the nvenet lib upgrade (the constant went from 63 (2^n - 1) to 32 (2^n)). For reasons that are not obvious to me this fixes the driver on at least some NICs. MFC after: 3 days
* Once upon a time, the hostname was being set in the /etc/netstart,ru2006-12-051-2/+2
| | | | | | which can be called a "network initialization script", now that it is set in /etc/rc.d/hostname, "network" sounds confusing, so remove it.
* Use a different bitmask for superpages' base address so that itru2006-12-053-9/+6
| | | | | | | doesn't conflict with the PG_PDE_PAT bit. (We still don't mask off all the reserved bits but that's okay for now.) Reviewed by: alc
* Add a "-D" flag to restore which puts it into "degraded" mode. Thisdwmalone2006-12-055-22/+104
| | | | | | | | | | | | | | | | | | makes restore less efficient, but it makes a bigger effore to read corrupted dumps. Specifiacally, when in degreded mode: 1) Restore shifts the input by 1 byte if it sees a problem, rather than one tape block. 2) It doesn't assume the inodes are stored in ascending order. 3) It turns some panics into warning printfs. We also verify some fields more carefully than before. There's probably more a degreded mode could do, but this seems to help a lot. Approved by: imp, iedowse, mckusick MFC after: 3 weeks
* Fix markup.ru2006-12-051-20/+22
|
* Make ISPCTL_PLOGX find a handle to log into the management servermjacob2006-12-053-75/+88
| | | | | | with- not hope for the best. Change some things which were gated off of 24XX to be gated off of 2K login support. Convert some isp_prt calls to xpt_print calls.
* Add a chip timeout to ENABLE/MODIFY/DISABLE lun calls.mjacob2006-12-051-0/+1
| | | | MFC after: 1 month
* use xpt_print functionmjacob2006-12-051-3/+2
|
* Add an xpt_print function to reduce most of the xpt_print_path/printfmjacob2006-12-0512-259/+216
| | | | | | | pairs. Convert the core code to use it. Reviewed by: scsi (various folks weighing in with good advice) MFC after: 2 weeks
* the c_has_waiters is lazily updated, temporarily disable the falsedavidxu2006-12-051-0/+2
| | | | alarm code.
* Fix typo.joel2006-12-051-1/+1
|
* Use ucond to implement barrier.davidxu2006-12-052-8/+10
|
* Add _thr_ucond_init().davidxu2006-12-052-3/+10
|
* const poisonimp2006-12-053-3/+3
| | | | submitted by: john wehle
* More properly cleanup the iicbus child when deleting it.imp2006-12-051-6/+27
| | | | | | | These are from patches by John Wehle, but the commentary has been updated by me. Obtained from: ports/multimedia/pvr250, indirectly
* Fix spelling.davidxu2006-12-051-1/+1
|
* Add a test for pthread's cv and cancellation.davidxu2006-12-052-0/+93
|
* Reference Hauppage's cxm_iic bit-bang device here.imp2006-12-051-0/+5
| | | | | | | | Add a note that suggests a cleanup. Note: This patch was derived based on looking at the pvrxxx/pvr250 ports' Makefiles only, and may be incomplete. It is not derived from anything I saw from Hauppage.
* Tweak _thr_cancel_leave_defer a bit to fix a possible race.davidxu2006-12-051-3/+7
|
* Fix gdb issue where the i-cache was not being updated when a breakpointgrehan2006-12-057-3/+46
| | | | | | | | | | | | | | | | | | | | | | | was written into a user's address space. The fix is to modify uiomove_fromphys to sync the icache when an executable user-space page is written into. Alan Cox suggested that there should probably be a higher-level interface to this in the ptrace code, but agreed that this is an OK short-term solution. Files changed: pmap.h - declaration of pmap_page_executable() pmap_dispatch.c - pass through the page_executable call to the mmu object mmu_oea.c - implement the page_executable method by examining the PTE_EXEC field in the vm_page_t uio_machdep.c - in uiomove_fromphys(), if the op was a UIO_WRITE to user-space, and if the page is executable, sync the icache since this is at the least a breakpoint-write from gdb. Reported by: marcel Tested by: marcel, grehan on g3+g4 Discussed with: alc MFC after: 2 weeks
* Initial cut at Basic Domain Validation- just add some states tomjacob2006-12-042-9/+216
| | | | | | traverse through during probing. Reviewed by: scsi (scottl)
* MFP4: 109653jkim2006-12-041-2/+25
| | | | | Linux mknod(2) can open any files, not just char/block or fifo files. This fixes Linux Test Project test cases mknod01, mknod07 and mknod09.
* hook npe.4 up to arm buildsam2006-12-041-0/+5
| | | | MFC after: 1 month
* start 'o man page for xscale npe ethernet driversam2006-12-041-0/+160
| | | | MFC after: 1 month
* MFP4: 109652jkim2006-12-041-39/+38
| | | | | | | | | | | | Fixes for 'blocking in fifoor state' problem of LTP tests. linux_*stat*() functions were opening files with O_RDONLY to get major/minor pair for char/block special files. Unfortunately, when these functions are used against fifo, it is blocked forever because there is no writer. Instead, we only open char/block special files for major/minor conversion. We have to get rid of kern_open() entirely from translate_path_major_minor() but today is not the day. While I am here, add checks for errors before calling translate_path_major_minor().
* Bug fix for obscenely large wait times on uncontested lockskmacy2006-12-041-4/+4
| | | | | | | if waittime was zero (the lock was uncontested) l->lpo_waittime in the hash table would not get initialized. Inspection prompted by questions from: Attilio Rao
* - Add BGE_FLAG_JUMBO flag which idicates jumbo frame capability. Some day wejkim2006-12-042-22/+24
| | | | | may be able to support jumbo frames for BCM5714 and BCM5780. - Rename BGE_IS_5705_OR_BEYOND() to BGE_IS_5705_PLUS() for consistency.
* Grammar.ru2006-12-041-1/+1
| | | | OK'ed by: sam
* Use bge_flags to save chipset family and remove dead code while I am here.jkim2006-12-042-53/+43
|
* - separate out rounding memory ranges to 4M boundaries from OFW memory ↵kmacy2006-12-043-46/+73
| | | | | | | | | allocation bug workaround - create real_phys_avail which includes all memory ranges to be added to the direct map - merge in nucleus memory to real_phys_avail - distinguish between tag VA and index VA in tsb_set_tte_real for cases where page_size != index_page_size - clean up direct map loop
* document recent change to return ECONNRESET for tcp socketssam2006-12-041-1/+4
| | | | MFC after: 1 month
* Use _kevent() instead of kevent().ume2006-12-041-7/+7
| | | | Requested by: nork
* Fix an edge case in rman_manage_region() where it didn't handle a resourcejhb2006-12-041-4/+7
| | | | | | | ending at ULONG_MAX properly. While here, use TAILQ_FOREACH_SAFE(). Tested by: "Stephane E. Potvin" <sepotvin at videotron-ca> MFC after: 1 week
* Add two new flags to if_bridge(4) indicating whether the edge flagsyrinx2006-12-044-3/+18
| | | | | | | | | | | | | | of the bridge port and path cost have been administratively set or calculated automatically by RSTP. Make sure to transition from non-edge to edge when the port goes down and the edge flag was manually set before. This is needed to comply with the condition ((!portEnabled && AdminEdge) || ....) in the Bridge Detection State Machine (IEE802.1D-2004, p. 171). Reviewed by: thompsa Approved by: bz (mentor)
OpenPOWER on IntegriCloud