summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Allow mknod(8) to be only invoked with a pathname as an argument.ed2010-01-312-32/+40
| | | | | | | | | In 99% of the cases people just want to recreate device nodes they removed from /dev. There is no reason to pass the additional "c 0 0" anymore. Also slightly improve the manpage. Remove references to non-existent device names and platforms.
* - Check if_type of "addm <interface>" before setting thehrs2010-01-311-14/+34
| | | | | | | | | | | | | | | | | | | | | | | | | interface's MTU to the if_bridge(4) interface. This fixes a bug that MTU value of "addm <interface>" is used even when it is invalid for the if_bridge(4) member: # ifconfig bridge0 create # ifconfig bridge0 bridge0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 ... # ifconfig bridge0 addm lo0 ifconfig: BRDGADD lo0: Invalid argument # ifconfig bridge0 bridge0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 16384 ... - Do not ignore MTU value of an interface even when if_type == IFT_GIF. This fixes MTU mismatch when an if_bridge(4) interface has a gif(4) interface and no other interface as the member, and it is directly used for L2 communication with EtherIP tunneling enabled. - Implement SIOCSIFMTU ioctl. Changing the MTU is allowed only when all members have the same MTU value.
* Export the UUID of the partition in the XML. The partition UUID is usedmarcel2010-01-301-0/+3
| | | | | by EFI's device path to identify a partition. In order for FreeBSD to add EFI boot options, proper device paths need to be constructed.
* Add files to remove when MK_GPIB=no.antoine2010-01-301-3/+16
|
* Add files to remove when MK_GDB=no.antoine2010-01-301-3/+12
|
* Add files to remove when MK_GAMES=no.antoine2010-01-301-3/+48
|
* Add files to remove when MK_FREEBSD_UPDATE=no.antoine2010-01-301-0/+7
|
* Add files to remove when MK_FLOPPY=no.antoine2010-01-301-0/+11
|
* Allow use of -6 option to "server" and "peer" in ntp.conf.ume2010-01-301-1/+3
| | | | MFC after: 1 week
* Implement handling of the third argument of cpu_switch(). This unbreaksmarius2010-01-302-40/+50
| | | | | | | sparc64 after r202889. PR: 143215 MFC after: 1 week
* Support -V option to print a dot for each file processed.kientzle2010-01-303-3/+21
| | | | | | | | | Also, change the existing -vi behavior to send the filenames to stderr rather than stdout, as GNU cpio does. PR: bin/141175 Submitted by: Philip Kizer MFC after: 14 days
* Introduce libefi -- a library around EFI runtime services and protocols.marcel2010-01-309-2/+634
| | | | | | | | | | | | | This first commit brings 3 functions for enumerating, retrieving, adding, removing and modifying EFI variables. The immediate use of these include the insertion of a new boot option as part of the installation process. This library uses ioctl(2) requests implemented by io(4) to pass the requests down through the kernel to EFI. These ioctl requests are only implemented on ia64, so libefi is currently only enabled on ia64. The interface is generic and io(4) on mad64/i386 can easily be taught to handle these once EFI support has been added to the kernel there.
* Provide access to pcpu structures for SMP kernels.neel2010-01-306-118/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | The basic idea is to use a the same virtual address as a window onto distinct physical memory locations - one per processor. The physical address that you access through this mapping depends on which cpu you are currently executing on. We can now use the same virtual address on any processor to access its per-cpu area. The details are: - The virtual address for 'struct pcpu *pcpup' is obtained by stealing 2 pages worth of KVA in pmap_bootstrap(). - The mapping from the constant virtual address to a distinct physical page is done in cpu_pcpu_init() through a wired TLB entry. - A side-effect of this is that we reserve 2 pages worth of memory for the pcpu but in reality it needs much less than that. The unused memory is now used as the boot stack for the BSP and APs. Remove SMP-specific bits from locore.S. The plan is to use a separate mpboot.S for AP bootstrap. Discussed on: freebsd-mips Approved by: imp (mentor)
* Fix for kern/141646: when stacking pseudo drivers likejfv2010-01-301-14/+30
| | | | | | | | | | lagg and vlan the vlan attach/detach event is not being handed down to em, this caused some init code not to run, and thus VLANs did not work. Ultimately having the event get propagated would be nice, but for now the solution is to have HWFILTER off by default, when this is the case VLANs will work, ifconfig can be used to turn it on and then get HW tag filtering.
* Don't check the device ID. Instead, check the class, subclass andmarcel2010-01-291-28/+13
| | | | | | | | | | | | | programming I/F. New SoC designs have different device IDs, but don't need special treatment. Consequently, we fail to probe and attach for no other reason than not having added the device ID to the code. Bank on Freescale's sense of backward compatibility and assume that if we find a host controller, we know how work with it. This fixes detection of the PCI Express host controllers on Freescale's QorIQ family of processors (P1, P2 and P4).
* The MAP_ENTRY_NEEDS_COPY flag belongs to protoeflags, cow variablekib2010-01-291-1/+1
| | | | | | | uses different namespace. Reported by: Jonathan Anderson <jonathan.anderson cl cam ac uk> MFC after: 3 days
* - Fix some style(9) bugsgabor2010-01-291-17/+16
| | | | Pointed out by: bde
* When backtracing self, start with the current frame (i.e. themarcel2010-01-291-1/+1
| | | | | | frame of db_trace_self()) and not the caller's frame. The use of builtin_frame_address(1) to get the caller's frame is not reliable and can cause panics.
* Bump .Dd for r203164.jh2010-01-291-1/+1
| | | | Approved by: trasz (mentor)
* Add myself and show rrs@ as my mentor.brucec2010-01-291-0/+2
| | | | Approved by: rrs (mentor)
* Add my birthday.brucec2010-01-291-0/+1
| | | | Approved by: rrs (mentor)
* Reset port on disconnect event, to abort any running requests.mav2010-01-292-16/+12
|
* Add "maxfilesize" mount option for tmpfs to allow specifying thejh2010-01-292-57/+10
| | | | | | | | | | | | | | maximum file size limit. Default is UINT64_MAX when the option is not specified. It was useless to set the limit to the total amount of memory and swap in the system. Use tmpfs_mem_info() rather than get_swpgtotal() in tmpfs_mount() to check if there is enough memory available. Remove now unused get_swpgtotal(). Reviewed by: Gleb Kurtsou Approved by: trasz (mentor)
* You must include fcntl.h (in practice) to be able to do anything usefulrwatson2010-01-291-0/+1
| | | | | | with shm_open(2), as otherwise the O_ flags are undefined. MFC after: 3 days
* add static qualifier to definition of a function already declared staticavg2010-01-292-2/+2
| | | | | | This is for improving code readibility only. MFC after: 1 week
* Add support for the AR9285 chipset, which is found on many netbooksrpaulo2010-01-2917-191/+2004
| | | | | | | | | | | | | | | | | available today. This card is a low power 802.11bgn that only does 11n rates up to MCS 7 (that's 65 Mbps in 20Mhz mode and 135 in 40Mhz mode). 802.11n is not yet supported, but will be in the future. The driver still has a problem regarding to the setting of txpower on the card, so don't expect good performance yet. After fixing this problem, an MFC is possible. Special thanks to iXsystems and S Smirnov <tonve at yandex.ru> for help with the purchase of a netbook with this card. Sponsored by: iXsystems, Inc.
* Replace Id keyword with the FreeBSD keyword.rpaulo2010-01-2910-10/+10
|
* - Handle short reads when the -P option is used. Short reads must bejh2010-01-291-8/+3
| | | | | | | | | | handled when reading from pipes. - Remove dead code related to the -P option from getvol(). pipein and pipecmdin are never set at the same time. PR: bin/121502 Approved by: trasz (mentor) MFC after: 2 weeks
* Replace Id keyword with the FreeBSD keyword.rpaulo2010-01-291-1/+1
|
* - Cast time_t, int64_t and some int32_t values to intmax_t and use "%jd"jh2010-01-295-25/+29
| | | | | | | | | | | | | in format strings. - Use (void) instead of (void *) when discarding strcat(3) return value. - Format string fixes to match variable types. - Change canon() len parameter and getcmd() size parameter type from int to size_t. - Style Makefile and increase WARNS to 2. PR: bin/140061 Submitted by: uqs Approved by: trasz (mentor)
* Follow Neel's suggestion and switch to usingrrs2010-01-291-17/+18
| | | | | | restoreint() in combination with saving off the old level. That way we don't blast out the old level.
* For our memory re-mapping trick to workrrs2010-01-291-4/+20
| | | | | | | | | | | | interrupts must be disabled through the page_zero's or copys etc. Note that the temporary mapping used by panic's may cause us pain since int's may not be disabled. When we get dumps working we may have to revist this. Note that with this fix the build got much much further.. until it hung on disk IO (I would imagine thats the rge/msgring driver acting up).
* Its possible that our RMI box has memory extendingrrs2010-01-291-3/+16
| | | | | | | above 4Gig. If so when we add the base address with the size we will wrap. So for now we just ignore such memory and only use what we can. When we get 64 bit working then we will be much better ;->
* Move ID up into comment block.. per bsdimprrs2010-01-291-3/+4
|
* Uuencode the rt2870 firmware into ascii like the other firmware blobs.thompsa2010-01-293-3/+231
|
* Add a function to check if the usb devices is still connected.thompsa2010-01-295-0/+44
| | | | Submitted by: Hans Petter Selasky
* Rework cam error handling to fix Mitsumi floppy drives.thompsa2010-01-291-4/+12
| | | | Submitted by: mav
* Simplify attach for UMASS_PROTO_CBI_I mode and change some switch() returnsthompsa2010-01-291-25/+27
| | | | | | into breaks. Submitted by: Hans Petter Selesky
* Add null check on quirk lookup and add a couple of umass quirks.thompsa2010-01-291-2/+10
| | | | Submitted by: Hans Petter Selesky
* Add the Netgear WPN111thompsa2010-01-291-0/+1
|
* Sync usb products to perforce.thompsa2010-01-291-0/+3
|
* Attempt to recover on a TX error rather than stopping all transfers.thompsa2010-01-292-8/+18
| | | | Submitted by: Hans Petter Selesky
* Optimise EHCI ISOC HS done check.thompsa2010-01-291-10/+7
| | | | Submitted by: Hans Petter Selasky
* Add device ID.thompsa2010-01-291-0/+1
| | | | PR: usb/142427
* Use device_printf rather than printf + device_get_nameunit.thompsa2010-01-281-30/+21
|
* Release the firmware after loading to the device.thompsa2010-01-282-16/+28
|
* Add run(4) to NOTES.thompsa2010-01-281-0/+2
|
* Hook run(4) to the build.thompsa2010-01-281-0/+1
|
* Add run(4), a driver for Ralink RT2700U/RT2800U/RT3000U USB 802.11agn devices.thompsa2010-01-2812-2/+6008
| | | | | This driver was written for OpenBSD by Damien Bergamini and ported over by Akinori Furukoshi.
* - Increase timeouts to 100 milliseconds, 1 millisecond is definitely notgonzo2010-01-281-3/+3
| | | | | | enough for PCI controller to get into shape Thanks to: adrian@
OpenPOWER on IntegriCloud