aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
Commit message (Collapse)AuthorAgeFilesLines
* Fix the following error:Marcel Moolenaar2004-06-201-0/+2
| | | | | | | | | | | | | | | | | ld: locore.o: non-pic code with imm relocation against dynamic symbol `__gp' With binutils 2.15, ld(1) defines the implicit/automatic symbol __gp as a dynamic symbol and thus will now complain when used in a non-PIC fashion (the immediate relocation used to set the GP register). Resolve this by defining __gp in the linker script. Make sure __gp is aligned on a 16-byte boundary. Note: the 0x200000 magic offset is due to having a 22-bit GP-relative relocation. The GOT will be accessed with negative offsets from GP. Notes: svn path=/head/; revision=130829
* Commit pf version 3.5 and link additional files to the kernel build.Max Laier2004-06-161-0/+2
| | | | | | | | | | | | | | | Version 3.5 brings: - Atomic commits of ruleset changes (reduce the chance of ending up in an inconsistent state). - A 30% reduction in the size of state table entries. - Source-tracking (limit number of clients and states per client). - Sticky-address (the flexibility of round-robin with the benefits of source-hash). - Significant improvements to interface handling. - and many more ... Notes: svn path=/head/; revision=130613
* Link ALTQ to the build and break with ABI for struct ifnet. Please recompileMax Laier2004-06-135-0/+38
| | | | | | | | | | | | | | | your (network) modules as well as any userland that might make sense of sizeof(struct ifnet). This does not change the queueing yet. These changes will follow in a seperate commit. Same with the driver changes, which need case by case evaluation. __FreeBSD_version bump will follow. Tested-by: (i386)LINT Notes: svn path=/head/; revision=130416
* Add a new driver to support IP over firewire. This driver is intended toDoug Rabson2004-06-132-0/+3
| | | | | | | | | | | conform to the rfc2734 and rfc3146 standard for IP over firewire and should eventually supercede the fwe driver. Right now the broadcast channel number is hardwired and we don't support MCAP for multicast channel allocation - more infrastructure is required in the firewire code itself to fix these problems. Notes: svn path=/head/; revision=130407
* Move uma_small_alloc() and uma_small_free() out of the pmap and into theirAlan Cox2004-06-111-0/+1
| | | | | | | | own machine-dependent file. This makes alpha consistent with amd64, ia64, and powerpc. Notes: svn path=/head/; revision=130361
* Deorbit COMPAT_SUNOS.Poul-Henning Kamp2004-06-112-7/+0
| | | | | | | | We inherited this from the sparc32 port of BSD4.4-Lite1. We have neither a sparc32 port nor a SunOS4.x compatibility desire these days. Notes: svn path=/head/; revision=130344
* Add esp(4) to NOTES.Scott Long2004-06-101-0/+2
| | | | Notes: svn path=/head/; revision=130296
* Add the esp(4) files. Two of them are sbus-specific and therefore onlyScott Long2004-06-102-0/+3
| | | | | | | apply to sparc64. Notes: svn path=/head/; revision=130294
* Step 1 in moving EISA devices to kobj/newbus. Use kobj methods forWarner Losh2004-06-092-1/+2
| | | | | | | | | | | | | | | | | all of the interface between the driver and the bus. This will enable us to stop special casing eisa bus attachments in modules and treat them like we treat all other busses. In the longer run, we need to eliminate much (all?) of these interfaces and switch to using the standard bus_alloc_resource(), but that's not done right now. # I've not updated the modules to include eisa, etc, just yet Tested on: Compaq Proliant 3000/333 purchased for eisa work Notes: svn path=/head/; revision=130274
* Remove references to L1 in the comments, according to Alan they areAlexander Leidinger2004-06-071-5/+5
| | | | | | | | | historical leftovers. Approved by: alc Notes: svn path=/head/; revision=130201
* Split kern_thread.c into 2 parts. kern_kse.c and kern_thread.cJulian Elischer2004-06-071-0/+1
| | | | | | | | Kern_kse has already been committed. This separates out the KSE threading ABI from generic thread support. Notes: svn path=/head/; revision=130199
* Axe the old midi drivers and framework. matk has developed a newSeigo Tanimura2004-06-012-35/+0
| | | | | | | module-friendly midi subsystem to be merged soon. Notes: svn path=/head/; revision=129925
* Bring in mbuma to replace mballoc.Bosko Milekic2004-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mbuma is an Mbuf & Cluster allocator built on top of a number of extensions to the UMA framework, all included herein. Extensions to UMA worth noting: - Better layering between slab <-> zone caches; introduce Keg structure which splits off slab cache away from the zone structure and allows multiple zones to be stacked on top of a single Keg (single type of slab cache); perhaps we should look into defining a subset API on top of the Keg for special use by malloc(9), for example. - UMA_ZONE_REFCNT zones can now be added, and reference counters automagically allocated for them within the end of the associated slab structures. uma_find_refcnt() does a kextract to fetch the slab struct reference from the underlying page, and lookup the corresponding refcnt. mbuma things worth noting: - integrates mbuf & cluster allocations with extended UMA and provides caches for commonly-allocated items; defines several zones (two primary, one secondary) and two kegs. - change up certain code paths that always used to do: m_get() + m_clget() to instead just use m_getcl() and try to take advantage of the newly defined secondary Packet zone. - netstat(1) and systat(1) quickly hacked up to do basic stat reporting but additional stats work needs to be done once some other details within UMA have been taken care of and it becomes clearer to how stats will work within the modified framework. From the user perspective, one implication is that the NMBCLUSTERS compile-time option is no longer used. The maximum number of clusters is still capped off according to maxusers, but it can be made unlimited by setting the kern.ipc.nmbclusters boot-time tunable to zero. Work should be done to write an appropriate sysctl handler allowing dynamic tuning of kern.ipc.nmbclusters at runtime. Additional things worth noting/known issues (READ): - One report of 'ips' (ServeRAID) driver acting really slow in conjunction with mbuma. Need more data. Latest report is that ips is equally sucking with and without mbuma. - Giant leak in NFS code sometimes occurs, can't reproduce but currently analyzing; brueffer is able to reproduce but THIS IS NOT an mbuma-specific problem and currently occurs even WITHOUT mbuma. - Issues in network locking: there is at least one code path in the rip code where one or more locks are acquired and we end up in m_prepend() with M_WAITOK, which causes WITNESS to whine from within UMA. Current temporary solution: force all UMA allocations to be M_NOWAIT from within UMA for now to avoid deadlocks unless WITNESS is defined and we can determine with certainty that we're not holding any locks when we're M_WAITOK. - I've seen at least one weird socketbuffer empty-but- mbuf-still-attached panic. I don't believe this to be related to mbuma but please keep your eyes open, turn on debugging, and capture crash dumps. This change removes more code than it adds. A paper is available detailing the change and considering various performance issues, it was presented at BSDCan2004: http://www.unixdaemons.com/~bmilekic/netbuf_bmilekic.pdf Please read the paper for Future Work and implementation details, as well as credits. Testing and Debugging: rwatson, brueffer, Ketrien I. Saihr-Kesenchedra, ... Reviewed by: Lots of people (for different parts) Notes: svn path=/head/; revision=129906
* Provide the _start_ctors and _stop_ctors symbols. As on i386, the addressesTim J. Robbins2004-05-291-0/+4
| | | | | | | of these are the start and end of the .ctors section. Notes: svn path=/head/; revision=129824
* First release of ixgb driver for the Intel(R) PRO/10GbE Family of Adapters. ↵Tony Ackerman2004-05-281-0/+3
| | | | | | | | | | | | | | This driver has been developed for use with FreeBSD, version 4.8 and later. Submitted by: Hema Joyce Reviewed by: Prafulla Deuskar Approved by: Prafulla Deuskar MFC after: 1 week Notes: svn path=/head/; revision=129794
* Add pccarddevs.h and usbdevs.h as depends, ala miidevs.h, in the rightWarner Losh2004-05-261-5/+5
| | | | | | | | | | places. This should have been committed last night with the rest of my changes, but wasn't. Pointy hat to: imp Notes: svn path=/head/; revision=129752
* MFi386: revision 1.493.Yoshihiro Takahashi2004-05-261-2/+2
| | | | Notes: svn path=/head/; revision=129751
* MFamd64:Bruce Evans2004-05-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Fixed profiling of trap, syscall and interrupt handlers and some ordinary functions, essentially by backing out half of rev.1.106 of i386/exception.s. The handlers must be between certain labels for the purposes of profiling, and this was broken by scattering them in separately compiled .s files, especially for ordinary functions that ended up between the labels. Merge the files by #including them as before, except with different pathnames and better comments and organization. Changes to the scattered files are minimal -- just move the labels to the file that does the #includes. This also partly fixes profiling of IPIs -- all IPI handlers are now correctly classified as interrupt handlers, but many are still missing mcount calls. vm86bios.s is included as before, but it is now between the labels for interrupt handlers again, which seems to be wrong since half of it is for a non-interrupt handler. Notes: svn path=/head/; revision=129742
* Move to generating pccarddevs.h on the fly, both for the kernel andWarner Losh2004-05-262-5/+17
| | | | | | | | | | the modules. Also generate usbdevs.h automatically now, but a non-kernel file is stopping that at the moment. Notes: svn path=/head/; revision=129740
* Fix disorder introduce in 1.862 by sorting emu10k before miidevs.h,Warner Losh2004-05-261-5/+5
| | | | | | | | | rather than after. bde inspired words: disorder Notes: svn path=/head/; revision=129739
* devlist2h.awk is too generic a name for what it does. It reallyWarner Losh2004-05-262-4/+4
| | | | | | | | | | | converts miidevs to a .h file, so rename to reflect that. The usb and pccard versions have also been renamed and will be hooked into the build system shortly (I've made the conversion in my p4 tree). Notes: svn path=/head/; revision=129738
* Fixed profiling of trap, syscall and interrupt handlers and someBruce Evans2004-05-241-3/+3
| | | | | | | | | | | | | | | | | | ordinary functions, essentially by backing out half of rev.1.115 of amd64/exception.S. The handlers must be between certain labels for the purposes of profiling, and this was broken by scattering them in separately compiled .S files, especially for ordinary functions that ended up between the labels. Merge the files by #including them as before, except with different pathnames and better comments and organization. Changes to the scattered files are minimal -- just move the labels to the file that does the #includes. This also partly fixes profiling of IPIs -- all IPI handlers are now correctly classified as interrupt handlers, but many are still missing mcount calls. Notes: svn path=/head/; revision=129653
* Fixed insertion sort error in previous commit (prof_machdep.c).Bruce Evans2004-05-241-4/+4
| | | | | | | | | Fixed apparently-intentional disorder of the crypto files. Lists of files should be sorted first on the pathname, not on the option name or subsystem. Notes: svn path=/head/; revision=129646
* Build prof_machdep.c if profiling.Bruce Evans2004-05-231-0/+1
| | | | | | | | | | | | | | | | Kernel profiling for amd64's (normal and high resolution) should now compile and work as (un)well as on i386's. It works better than user profiling because: - it uses _cyg_profile_func_*() instead of .mcount(), so it doesn't suffer from gcc misspelling .mcount as mcount. - it doesn't neglect saving %rax in .mcount(). The SMP case hasn't been tested. The high resolution subcase of this uses the i8254, and as on i386's, the locking for this is deficient and the i8254 is too inefficient. The acpi timer is also too inefficient. Notes: svn path=/head/; revision=129627
* - Connect geom(8) and its libraries to the build.Pawel Jakub Dawidek2004-05-203-0/+6
| | | | | | | | | | | - Connect geom_stripe and geom_nop modules to the build. - Connect STRIPE and NOP classes to the LINT build. - Disconnect gconcat(8) from the build. Supported by: Wheel - Open Technologies - http://www.wheel.pl Notes: svn path=/head/; revision=129477
* MFi386: Add NETGRAPH_CRONYX.Yoshihiro Takahashi2004-05-181-0/+3
| | | | Notes: svn path=/head/; revision=129383
* MFi386: revision 1.492.Yoshihiro Takahashi2004-05-181-0/+2
| | | | Notes: svn path=/head/; revision=129382
* Connect Cronyx Tau-PCI to the system.Roman Kurakin2004-05-171-0/+2
| | | | Notes: svn path=/head/; revision=129325
* o De-support fdc(4). No ia64 has ever been made with PC floppy andMarcel Moolenaar2004-05-171-3/+0
| | | | | | | | the likelyhood of one ever being made is nil. o While here, de-support sio(4). Notes: svn path=/head/; revision=129320
* Move fdc from isa/fd.c to dev/fdc/fdc.c. The old files wereWarner Losh2004-05-174-4/+4
| | | | | | | | | | | repocopied. Soon there will be additional bus attachments and specialization for isa, acpi and pccard (and maybe pc98's cbus). This was approved by nate, joerg and myself. bde dissented on the new location, but appeared to be OK after some discussion. Notes: svn path=/head/; revision=129318
* MFi386: numerous interrupt and acpi updatesPeter Wemm2004-05-161-0/+1
| | | | Notes: svn path=/head/; revision=129284
* Enable first part of kld's on amd64. This is known to not work rightPeter Wemm2004-05-162-0/+10
| | | | | | | | | | yet, but building kld's is OK now and they can be loaded by kldload(2). (but the machine will likely crash soon afterwards, a "minor" problem :-) Brought to you by: my injured knee (from moving) Notes: svn path=/head/; revision=129283
* Remove libkern/mem*Olivier Houchard2004-05-141-2/+0
| | | | Notes: svn path=/head/; revision=129255
* Remove libkern/bzero.S and libkern/memset.S.Olivier Houchard2004-05-141-2/+0
| | | | Notes: svn path=/head/; revision=129251
* Define INLINE_LIMIT for arm.Olivier Houchard2004-05-141-0/+3
| | | | Notes: svn path=/head/; revision=129219
* Add config magic for arm.Olivier Houchard2004-05-144-0/+261
| | | | Notes: svn path=/head/; revision=129199
* MFi386: revision 1.489Yoshihiro Takahashi2004-05-131-6/+6
| | | | Notes: svn path=/head/; revision=129178
* Expose USBVERBOSE as a first-class option. It will be needed soon asWarner Losh2004-05-131-0/+1
| | | | | | | | | an option. Note that this option doesn't follow the normal USB_ or Uxxx_ convention. That's because it is this way in the upstream provider and I didn't want to change that. Notes: svn path=/head/; revision=129167
* Add a driver for the watchdog timer function present on the LPC interfaceDag-Erling Smørgrav2004-05-111-0/+1
| | | | | | | | | | bridge in Intel ICH-series chipsets. The original implementation was by W. Daryl Hawkins of Texas A&M, but I have made substantial modifications. Notes: svn path=/head/; revision=129124
* Change required config(8) version.Olivier Houchard2004-05-097-7/+7
| | | | Notes: svn path=/head/; revision=129075
* - Remove the old sparc64 OFW PCI code (as opposed to the formerMarius Strobl2004-05-082-4/+3
| | | | | | | | | | | | | | | | "options OFW_NEWPCI"). This is a bit overdue, the new sparc64 OFW PCI code which is meant to replace the old one is in place for 10 months and enabled by default in GENERIC for 8 months. FreeBSD 5.2 and 5.2.1 also shipped with the new code enabled by default. - Some minor clean-up, e.g. remove functions that encapsulated the #ifdefs for OFW_NEWPCI, remove unused resp. no longer required includes, etc. Approved by: tmm, no objections on freebsd-sparc64 Notes: svn path=/head/; revision=129051
* Remove unwinder files that are commented-out.Marcel Moolenaar2004-05-071-3/+0
| | | | Notes: svn path=/head/; revision=129020
* Detach i386/isa/elcr.c.Yoshihiro Takahashi2004-05-061-1/+0
| | | | Notes: svn path=/head/; revision=129010
* MFi386: Add elcr.c.John Baldwin2004-05-051-0/+1
| | | | Notes: svn path=/head/; revision=128969
* 1. Spell Cronyx Sigma-ISA and Cronyx Tau-ISA correctly.Roman Kurakin2004-05-051-2/+2
| | | | | | | | | | 2. Note that ct device uses ctau name as driver name (due to name conflict with ct driver) and also mark it as a driver inside the CVS tree. MFC after: 10 days Notes: svn path=/head/; revision=128960
* Cronyx Tau-PCI's driver name is "cp".Roman Kurakin2004-05-051-1/+1
| | | | | | | MFC after: 10 days Notes: svn path=/head/; revision=128956
* Fixed some insertion sort errors.Bruce Evans2004-05-051-9/+9
| | | | Notes: svn path=/head/; revision=128955
* MFi386 (rev.1.488: demangle svr4 entries).Bruce Evans2004-05-051-18/+18
| | | | Notes: svn path=/head/; revision=128953
* Fixed unformatting of svr4 entries in rev.1.326 and consistent misformattingBruce Evans2004-05-051-18/+18
| | | | | | | of them in rev.1.358. Notes: svn path=/head/; revision=128952
* Add a simple mini-driver for the ELCR register. Originally, the ELCRJohn Baldwin2004-05-041-0/+1
| | | | | | | | | | | | | | | | | | register controlled the trigger mode and polarity of EISA interrupts. However, it appears that most (all?) PCI systems use the ELCR to manage the trigger mode and polarity of ISA interrupts as well since ISA IRQs used to route PCI interrupts need to be level triggered with active low polarity. We check to see if the ELCR exists by sanity checking the value we get back ensuring that IRQS 0 (8254), 1 (atkbd), 2 (the link from the slave PIC), and 8 (RTC) are all clear indicating edge trigger and active high polarity. This mini-driver will be used by the atpic driver to manage the trigger and polarity of ISA IRQs. Also, the mptable parsing code will use this mini driver rather than examining the ELCR directly. Notes: svn path=/head/; revision=128928