summaryrefslogtreecommitdiffstats
path: root/sys/i386/conf/GENERIC.hints
Commit message (Collapse)AuthorAgeFilesLines
* MFC r265329:nwhitehorn2015-01-111-0/+2
| | | | | | | | | Disable ACPI and P4TCC throttling by default, following discussion on freebsd-current. These CPU speed control techniques are usually unhelpful at best. For now, continue building the relevant code into GENERIC so that it can trivially be re-enabled at runtime if anyone wants it. Relnotes: yes
* Provide wbwd(4), a driver for the watchdog timer found on variousbz2012-03-061-0/+1
| | | | | | | | | | | | | Winbond Super I/O chips. With minor efforts it should be possible the extend the driver to support further chips/revisions available from Winbond. In the simplest case only new IDs need to be added, while different chipsets might require their own function to enter extended function mode, etc. Sponsored by: Sandvine Incorporated ULC (in 2011) Reviewed by: emaste, brueffer MFC after: 2 weeks
* Add hints for i8254 timer on i386 and amd64. Some people report aboutmav2010-07-161-0/+3
| | | | | | | | systems with PnP/ACPI not reporting i8254 timer. In some cases it can be fatal, as i8254 can be the only available time counter hardware. From other side we are now heavily depend on i8254 timer and till the last time it's init/usage was completely hardcoded. So this change just restores previous behavior in more regular fashion.
* Trim the default set of device hints on i386 and amd64:jhb2009-05-141-42/+0
| | | | | | | | | - Remove vga0 and the disabled uart2/uart3 hints from both platforms. - Remove hints for ISA adv0, bt0, aha0, aic0, ed0, cs0, sn0, ie0, fe0, and le0 from i386. All these hints were marked 'disabled' and thus already did not work "out of the box". Discussed with: imp
* Make uart(4) the default serial port driver on i386 and amd64.ed2008-07-131-15/+15
| | | | | | | | | | | The uart(4) driver has the advantage of supporting a wider variety of hardware on a greater amount of platforms. This driver has already been the standard on platforms such as ia64, powerpc and sparc64. I've decided not to change anything on pc98. I'd rather let people from the pc98 team look at this. Approved by: philip (mentor), marcel
* Move i386 to generic RTC handling code.phk2008-04-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Make clock_if.m and subr_rtc.c standard on i386 Add hints for "atrtc" driver, for non-PnP, non-ACPI systems. NB: Make sure to install GENERIC.hints into /boot/device.hints in these! Nuke MD inittodr(), resettodr() functions. Don't attach to PHP0B00 in the "attimer" dummy driver any more, and remove comments that no longer apply for that reason. Add new "atrtc" device driver, which handles IBM PC AT Real Time Clock compatible devices using subr_rtc and clock_if. This driver is not entirely clean: other code still fondles the hardware to get a statclock interrupt on non-ACPI timer systems. Wrap some overly long lines. After it has settled in -current, this will be ported to amd64. Technically this is MFC'able, but I fail to see a good reason.
* "vt" doesn't refer to any existing device anymore. Remove it.wkoszek2007-12-251-2/+0
| | | | | Reviewed by: cognet@ (mentor) Approved by: cognet@ (mentor)
* Backout sensors framework.netchild2007-10-151-8/+0
| | | | | Requested by: phk Discussed on: cvs-all
* Import it(4) and lm(4), supporting most popular Super I/O Hardware Monitors.netchild2007-10-141-0/+8
| | | | | | | | | Submitted by: Constantine A. Murenin <cnst@FreeBSD.org> Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors) Mentored by: syrinx Tested by: many OKed by: kensmith Obtained from: OpenBSD (parts)
* - Add C-bus and ISA front-ends for le(4) so it can actually replacemarius2006-05-171-0/+5
| | | | | | | | | | | | lnc(4) on PC98 and i386. The ISA front-end supports the same non-PNP network cards as lnc(4) did and additionally a couple of PNP ones. Like lnc(4), the C-bus front-end of le(4) only supports C-NET(98)S and is untested due to lack of such hardware, but given that's it's based on the respective lnc(4) and not too different from the ISA front-end it should be highly likely to work. - Remove the descriptions of le(4), which where converted from lnc(4), from sys/i386/conf/NOTES and sys/pc98/conf/NOTES as there's a common one in sys/conf/NOTES.
* Prefer the le device driver for Lance (AMD7990 et al) hardware over thegnn2006-05-141-5/+0
| | | | | | older, and less capable lnc driver. Reviewed by: imp
* pcic is no more on i386 port, so remove it from the hints.imp2005-01-141-9/+0
|
* Fix booting with ps2 keyboards.alfred2004-04-011-1/+0
|
* Hints for the le driver are no longer necessary here.imp2004-03-141-5/+0
| | | | Noticed by: ru
* Add "disabled" hints to all of the uncommon ISA devices that are injhb2002-12-051-0/+12
| | | | | | | | | GENERIC. Each device can be re-enabled at startup time by unsetting the disabled hint in the loader. Requested by: mdodd Approved by: re Prodded by: rwatson
* No need for pmtimer hint anymore.jhb2002-10-221-1/+0
|
* Remove 'at' hints for npx and apm as both drivers have identify routinesjhb2002-10-091-4/+0
| | | | | | | that add an instance of themselves. The npx(4) driver doesn't even check the npx 'port' hint but hardcodes IO_NPX instead. The npx(4) driver also will use isa IRQ 13 (on x86, 8 on pc98) by default if no 'irq' hint is specified, so we don't need that hint either.
* Remove pcm hints here now that it's gone from GENERIC.jkh2001-05-261-4/+0
| | | | Reminded-by: bde
* Create a pmtimer device instance for GENERIC and NEWCARD kernels by default.iwasaki2000-12-071-0/+1
| | | | Submitted by: Masayuki FUKUI <fukui@sonic.nm.fujitsu.co.jp>
* In the year 2000, I think it's perfectly reasonable to include audiojkh2000-11-141-0/+4
| | | | support by default in GENERIC.
* Revert two experimental changes which escaped from my devel machine.phk2000-10-281-1/+1
|
* Convert all users of fldoff() to offsetof(). fldoff() is badphk2000-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | because it only takes a struct tag which makes it impossible to use unions, typedefs etc. Define __offsetof() in <machine/ansi.h> Define offsetof() in terms of __offsetof() in <stddef.h> and <sys/types.h> Remove myriad of local offsetof() definitions. Remove includes of <stddef.h> in kernel code. NB: Kernelcode should *never* include from /usr/include ! Make <sys/queue.h> include <machine/ansi.h> to avoid polluting the API. Deprecate <struct.h> with a warning. The warning turns into an error on 01-12-2000 and the file gets removed entirely on 01-01-2001. Paritials reviews by: various. Significant brucifications by: bde
* Default the pcic to polling. Some laptops need to have polling modeimp2000-07-191-1/+1
| | | | | | | | | | | due to a paucity of IRQs. I have some reservations about this, so I'm not going to MFC this just yet. I'm doing this to see how many problems it causes so we can do this in 4.2. I've been seeing hangs on my laptop from time to time, but sometimes it was not in polling mode, other tmies it was. Don't know if this is one problem or more than one. Requested by: Sean O Connell
* s/iomem/maddr/ - these were generated from an older verion of thepeter2000-06-141-5/+5
| | | | gethints script. :-(
* Borrow phk's axe and apply the next stage of config(8)'s evolution.peter2000-06-131-0/+85
Use Warner Losh's "hint" driver to decode ascii strings to fill the resource table at boot time. config(8) no longer generates an ioconf.c table - ie: the configuration no longer has to be compiled into the kernel. You can reconfigure your isa devices with the likes of this at loader(8) time: set hint.ed.0.port=0x320 userconfig will be rewritten to use this style interface one day and will move to /boot/userconfig.4th or something like that. It is still possible to statically compile in a set of hints into a kernel if you do not wish to use loader(8). See the "hints" directive in GENERIC as an example. All device wiring has been moved out of config(8). There is a set of helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98) that extract the 'at isa? port foo irq bar' from the old files and produces a hints file. If you install this file as /boot/device.hints (and update /boot/defaults/loader.conf - You can do a build/install in sys/boot) then loader will load it automatically for you. You can also compile in the hints directly with: hints "device.hints" as well. There are a few things that I'm not too happy with yet. Under this scheme, things like LINT would no longer be useful as "documentation" of settings. I have renamed this file to 'NOTES' and stored the example hints strings in it. However... this is not something that config(8) understands, so there is a script that extracts the build-specific data from the documentation file (NOTES) to produce a LINT that can be config'ed and built. A stack of man4 pages will need updating. :-/ Also, since there is no longer a difference between 'device' and 'pseudo-device' I collapsed the two together, and the resulting 'device' takes a 'number of units' for devices that still have it statically allocated. eg: 'device fe 4' will compile the fe driver with NFE set to 4. You can then set hints for 4 units (0 - 3). Also note that 'device fe0' will be interpreted as "zero units of 'fe'" which would be bad, so there is a config warning for this. This is only needed for old drivers that still have static limits on numbers of units. All the statically limited drivers that I could find were marked. Please exercise EXTREME CAUTION when transitioning! Moral support by: phk, msmith, dfr, asmodai, imp, and others
OpenPOWER on IntegriCloud