aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* - Add few VIA bridges to agp_via.c and connect it to amd64 buildJung-uk Kim2009-01-235-18/+28
| | | | | | | | as they support Intel Core/Core 2 and VIA Nano processors. - Align "optional agp" in conf/files.* for consistency while I am here. Notes: svn path=/head/; revision=187633
* Use the correct type for the timeout parameter to the 32-bitJohn Baldwin2009-01-231-1/+1
| | | | | | | | | | | compat version aio_waitcomplete(). Reminded by: bz Submitted by: jamie MFC after: 3 days Notes: svn path=/head/; revision=187631
* Note the implication of setting the 'w' permission on directories,Tom Rhodes2009-01-231-2/+7
| | | | | | | | | | | while here, expand the 'naughty bits' comment in BUGS. PR: 84265 and 84268 Reviewed by: keramida Obtained from: hints from ceri, keramida Notes: svn path=/head/; revision=187627
* urtw(4) works also on amd64.Weongyo Jeong2009-01-231-0/+1
| | | | | | | Tested by: kevlo Notes: svn path=/head/; revision=187623
* Add urtw(4) to the list of supported network interface.Weongyo Jeong2009-01-231-0/+1
| | | | Notes: svn path=/head/; revision=187615
* Add an entry for the urtw(4) module.Weongyo Jeong2009-01-231-0/+1
| | | | Notes: svn path=/head/; revision=187614
* Connect urtw.4 to the build.Weongyo Jeong2009-01-231-0/+4
| | | | Notes: svn path=/head/; revision=187613
* Connect urtw(4) to the i386 build only because it's not tested on amd64Weongyo Jeong2009-01-231-0/+2
| | | | | | | | architecture but expect it'd work. In cases on other architectures it'd not work yet. Notes: svn path=/head/; revision=187612
* fix return status handling by ar5XXXReset; this is the reason theSam Leffler2009-01-235-10/+10
| | | | | | | driver sometimes reports reset failed w/ status 0 Notes: svn path=/head/; revision=187611
* Add a new USB wireless driver, urtw(4) for supporting Realtek's 8187LWeongyo Jeong2009-01-236-0/+3860
| | | | | | | chipset. Notes: svn path=/head/; revision=187610
* Add an example of using bs=2048 to duplicate data CD-ROMs.Giorgos Keramidas2009-01-231-0/+5
| | | | | | | | | | | | | | This should be a bit useful for users who look at the manpage and then try to copy data CD-ROM disks using dd. A lot of us know that bs=2048 is required, but it still manages to cause a bit of grief to those who haven't heard about it. PR: bin/130857 Submitted by: Tri Brotoharsono < mail at tribrotoharsono.net > MFC after: 3 days Notes: svn path=/head/; revision=187609
* don't run the calibration code if scanning, we won't be on the home channelSam Leffler2009-01-231-0/+4
| | | | Notes: svn path=/head/; revision=187608
* Attaching to the init process returns EINVAL,Tom Rhodes2009-01-231-2/+2
| | | | | | | | | | | so give an example that is more likely to work. Stolen from the ktrace(1) manual page. PR: 128222 Submitted by: Mateusz Guzik <mjguzik@gmail.com> Notes: svn path=/head/; revision=187607
* Move to having a caps flag. Newer versions of the AT91 family don'tWarner Losh2009-01-231-13/+21
| | | | | | | | need the bouncing, so save a few copies in that case. Also convert 4-bit code selection to using it. Notes: svn path=/head/; revision=187606
* remove some useless #include,Luigi Rizzo2009-01-221-8/+2
| | | | | | | | | document why timeconv.h is needed MFC after: 3 days Notes: svn path=/head/; revision=187604
* Don't over-commit the DMA. Use the passed in size of the transferWarner Losh2009-01-221-2/+1
| | | | | | | | | rather than a fixed 512... This fixes the mount root problem on at91. Prior to the SD card reorg, all data transfers were 512 bytes, so we didn't notice. Notes: svn path=/head/; revision=187603
* Migrate towards using at91_master_clock. Initialize the clocks forWarner Losh2009-01-223-5/+12
| | | | | | | | | the serial port class when we set the devclass since it is now no-longer a compile time constant. Eliminate the pci include, as it isn't relevant or necessary. Notes: svn path=/head/; revision=187602
* Use at91_master_clock instead of AT91C_MASTER_CLOCK.Warner Losh2009-01-222-2/+3
| | | | Notes: svn path=/head/; revision=187601
* Remove now-redundant declaration.Warner Losh2009-01-221-1/+0
| | | | Notes: svn path=/head/; revision=187600
* Store at91_master_clock in a global variable as opposed to a compileWarner Losh2009-01-222-0/+4
| | | | | | | | | time constant. This allows us to potentially change it at runtime or autodetect it early in the boot (the latter being much more likely to have a good outcome). Notes: svn path=/head/; revision=187599
* VIA Nano processor has a special MSR (CENT_HARDWARECTRL3) bit 32 to determineJung-uk Kim2009-01-222-2/+4
| | | | | | | | whether TSC is P-state invariant or not. In fact, this MSR is writable but we just leave it at the BIOS default for now. Notes: svn path=/head/; revision=187598
* Include a missing header file.Jung-uk Kim2009-01-221-0/+1
| | | | | | | Reported by: thompsa, "build universe" Notes: svn path=/head/; revision=187597
* Replace couple of strcmp(cpu_vendor, "foo") with cpu_vendor_id for i386Jung-uk Kim2009-01-222-4/+10
| | | | | | | and hide i386-specific code under #ifdef. Notes: svn path=/head/; revision=187594
* Add a comment explaining what ARM_KERN_DIRECTMAP is all about.Olivier Houchard2009-01-221-0/+7
| | | | | | | Suggested by: raj Notes: svn path=/head/; revision=187592
* Fix a compile bogon. 'ppbus' is used by two different sets of debug codeJohn Baldwin2009-01-221-0/+2
| | | | | | | | | in lptout(). Reported by: several Notes: svn path=/head/; revision=187591
* MFV of tzdata2009aEdwin Groothuis2009-01-225-17/+78
|\ | | | | | | | | | | | | | | | | | | | | | | - Asia/Katmandu -> Asia/Kathmandu - Fix historical references to DST in Switzerland - Correct rules for America/Resolute (Nunavut) - Cuba didn't have DST in 2005. MFC after: 1 week Notes: svn path=/head/; revision=187588
| * Vendor import of tzdata2009a:vendor/tzdata/tzdata2009aEdwin Groothuis2009-01-225-17/+78
| | | | | | | | | | | | | | | | | | | | | | - Asia/Katmandu -> Asia/Kathmandu - Fix historical references to DST in Switzerland - Correct rules for America/Resolute (Nunavut) - Cuba didn't have DST in 2005. Notes: svn path=/vendor/tzdata/dist/; revision=187586 svn path=/vendor/tzdata/tzdata2009a/; revision=187587; tag=vendor/tzdata/tzdata2009a
* | Add externs to fix build with VIMAGE_GLOBALS after r187289.Bjoern A. Zeeb2009-01-221-0/+2
| | | | | | | | Notes: svn path=/head/; revision=187585
* | Document the "-U" option. While it is not part of theTom Rhodes2009-01-222-2/+5
| | | | | | | | | | | | | | | | | | | | | | getopt(), it is accepted through smb_ctx_init() in lib/smb/ctx.c. PR: 117013 Submitted by: Tom Evans <tevans.uk@googlemail.com> (original version) Notes: svn path=/head/; revision=187583
* | Add support for multibyte thousands_sep encodings, e.g., U+066C.David Schultz2009-01-223-173/+225
| | | | | | | | | | | | | | | | | | | | | | The integer thousands' separator code is rewritten in order to avoid having to preallocate a buffer for the largest possible digit string with the most possible instances of the longest possible multibyte thousands' separator. The new version inserts thousands' separators for integers using the same code as floating point. Notes: svn path=/head/; revision=187582
* | - Update my copyright.Jeff Roberson2009-01-221-16/+27
| | | | | | | | | | | | | | | | | | | | | | - Print human readable time as a float with two digits of precision. Use ns now as well since clock periods are well into the hundreds of picoseconds now. - Show the average duration in the stats frame. This is often more useful than total duration. Notes: svn path=/head/; revision=187580
* | Rename sc_is_pseudo to sc_nobulk member in ufoma_softc.Takanori Watanabe2009-01-221-13/+13
| | | | | | | | | | | | | | | | | | That was pseudo ucom because it used home brew tty interface. Now, it is integrated to usb serial framework, so it is not pseudo ucom any more. Notes: svn path=/head/; revision=187579
* | Add locking to ppc and ppbus and mark the whole lot MPSAFE:John Baldwin2009-01-2121-497/+830
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - To avoid having a bunch of locks that end up always getting acquired as a group, give each ppc(4) device a mutex which it shares with all the child devices including ppbus(4), lpt(4), plip(4), etc. This mutex is then used for all the locking. - Rework the interrupt handling stuff yet again. Now ppbus drivers setup their interrupt handler during attach and tear it down during detach like most other drivers. ppbus(4) only invokes the interrupt handler of the device that currently owns the bus (if any) when an interrupt occurs, however. Also, interrupt handlers in general now accept their softc pointers as their argument rather than the device_t. Another feature of the ppbus interrupt handlers is that they are called with the parent ppc device's lock already held. This minimizes the number of lock operations during an interrupt. - Mark plip(4), lpt(4), pcfclock(4), ppi(4), vpo(4) MPSAFE. - lpbb(4) uses the ppc lock instead of Giant. - Other plip(4) changes: - Add a mutex to protect the global tables in plip(4) and free them on module unload. - Add a detach routine. - Split out the init/stop code from the ioctl routine into separate functions. - Other lpt(4) changes: - Use device_printf(). - Use a dedicated callout for the lptout timer. - Allocate the I/O buffers at attach and detach rather than during open and close as this simplifies the locking at the cost of 1024+32 bytes when the driver is attached. - Other ppi(4) changes: - Use an sx lock to serialize open and close. - Remove unused HADBUS flag. - Add a detach routine. - Use a malloc'd buffer for each read and write to avoid races with concurrent read/write. - Other pps(4) changes: - Use a callout rather than a callout handle with timeout(). - Conform to the new ppbus requirements (regular mutex, non-filter interrupt handler). pps(4) is probably going to have to become a standalone driver that doesn't use ppbus(4) to satisfy it's requirements for low latency as a result. - Use an sx lock to serialize open and close. - Other vpo(4) changes: - Use the parent ppc device's lock to create the CAM sim instead of Giant. - Other ppc(4) changes: - Fix ppc_isa's detach method to detach instead of calling attach. Tested by: no one :-( Notes: svn path=/head/; revision=187576
* | - Document targets run-depends-list and build-depends-listThomas Abthorpe2009-01-211-2/+7
| | | | | | | | | | | | | | | | | | | | PR: docs/127575 Submitted by: Walter Venable <walt relnor.com> Approved by: keramida MFC after: 3 days Notes: svn path=/head/; revision=187573
* | Add the dresden elektronik SensorTerminalBoard which uses an FT245.Joerg Wunsch2009-01-212-0/+19
| | | | | | | | Notes: svn path=/head/; revision=187568
* | Change __FreeBSD_version to prepare for merging r184102.Jung-uk Kim2009-01-211-1/+1
| | | | | | | | Notes: svn path=/head/; revision=187566
* | Fix a few style bogons.John Baldwin2009-01-212-4/+3
| | | | | | | | | | | | | | Submitted by: bde Notes: svn path=/head/; revision=187564
* | Add Unicode rendering to the teken demo application.Ed Schouten2009-01-212-11/+32
| | | | | | | | | | | | | | | | | | | | | | | | Some time ago I tried adding Unicode rendering to the teken demo application, but I didn't get it working. It seems I forgot to call setlocale(). Polish this code and make sure it doesn't get lost. Also a small fix for my previous commit: all Unicode characters in teken_boxdrawing are below 0x10000, so store them as 16-bit values. Notes: svn path=/head/; revision=187562
* | Default to normal bus timing mode on SD cards. In practice, mostWarner Losh2009-01-211-0/+1
| | | | | | | | | | | | | | | | | | cards people have today support high speed mode, so the timing field would be initialized to bus_timing_hs, but there are some slow cards... Notes: svn path=/head/; revision=187551
* | o The f_max is really at91_master_clock / 2, not 30MHz, so compute it as such.Warner Losh2009-01-211-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | o Only set 4-bit caps on those boards that have 4-bit caps (this means that because we don't set wire4 yet, this forces us to always use 1-bit bus). o Don't test wire4 when setting up the bus width, since bad things will happen if we do. # This likely won't fix the busted at91 sd card support, but these are # needful changes for correctness. Notes: svn path=/head/; revision=187548
* | Fix minor style nit for file consistency.Warner Losh2009-01-211-5/+4
| | | | | | | | Notes: svn path=/head/; revision=187546
* | Make the command reporting be under boot verbose.Warner Losh2009-01-211-6/+10
| | | | | | | | | | | | | | | | Also, report a few other things under boot verbose. Small style nit to make new code look like old code in this file. Notes: svn path=/head/; revision=187543
* | Move the code from ufs_lookup.c used to do dotdot lookup, intoKonstantin Belousov2009-01-213-22/+36
| | | | | | | | | | | | | | | | | | | | | | | | the helper function. It is supposed to be useful for any filesystem that has to unlock dvp to walk to the ".." entry in lookup routine. Requested by: jhb Tested by: pho MFC after: 1 month Notes: svn path=/head/; revision=187528
* | Now that vfs_markatime() no longer requires an exclusive lock due toJohn Baldwin2009-01-211-2/+2
| | | | | | | | | | | | | | | | | | the VOP_MARKATIME() changes, use a shared vnode lock for mmap(). Submitted by: ups Notes: svn path=/head/; revision=187527
* | Move the VA_MARKATIME flag for VOP_SETATTR() out into its own VOP:John Baldwin2009-01-214-18/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VOP_MARKATIME() since unlike the rest of VOP_SETATTR(), VA_MARKATIME can be performed while holding a shared vnode lock (the same functionality is done internally by VOP_READ which can run with a shared vnode lock). Add missing locking of the vnode interlock to the ufs implementation and remove a special note and test from the NFS client about not supporting the feature. Inspired by: ups Tested by: pho Notes: svn path=/head/; revision=187526
* | Fix copy/paste mistake in variable name. This could lead to using incorrectAlexander Motin2009-01-211-1/+1
| | | | | | | | | | | | | | bus frequency. Notes: svn path=/head/; revision=187525
* | Latest bulletin C from Daniel GAMBIS: no leap at the end of june 2009.Poul-Henning Kamp2009-01-211-16/+7
| | | | | | | | Notes: svn path=/head/; revision=187524
* | Merge-from-Googlecode r419Tim Kientzle2009-01-214-18/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In archive_write_disk: If archive_write_header() fails to create the file, that's a failure and should return ARCHIVE_FAILED. Metadata restore failures still return ARCHIVE_WARN, because that's non-critical. Fix test_write_disk_secure test to verify the correct return code in one case; add test_write_disk_failures to do another very simple test of restore failure. This should fix cpio coredumping when it tries to restore to a write-protected directory. Thanks to: Giorgos Keramidas MFC after: 30 days Notes: svn path=/head/; revision=187521
* | Add functions WITNESS so it can be asserted that the lock is not released for aAndrew Thompson2009-01-212-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | section of code, this uses WITNESS_NORELEASE() and WITNESS_RELEASEOK() to mark the boundaries. Both functions require the lock to be held when calling. This is intended for scenarios like a bus asserting that the bus lock is not dropped during a driver call. There doesn't appear to be a man page to document this in. Reviewed by: jhb Notes: svn path=/head/; revision=187511
* | correct typo that left programmed sifs time in the slot timeSam Leffler2009-01-212-3/+3
| | | | | | | | | | | | | | | | | | (to be applied on subsequent resets) Submitted by: Jiri Fojtasek <jiri.fojtasek@hlohovec.net> Notes: svn path=/head/; revision=187510