summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* remove stuff accidentally left in last commitcg2000-08-291-16/+0
|
* suspend/resume for ds1 drivercg2000-08-291-9/+51
| | | | | PR: misc/20891 Submitted by: Ira L. Cooper <ira@mit.edu>
* Refine implementation of PowerResource manipulation sub-routines.iwasaki2000-08-293-120/+266
| | | | | | | | | | | - Add new funcions for device state stuff; acpi_get_current_device_state() and acpi_set_device_state() - Add new funcions for power resource stuff; acpi_powerres_init(), acpi_powerres_debug(), acpi_get_current_powerres_state() and acpi_set_powerres_state() These were implemented based on 7.1, 7.2, 7.2.2, 7.2.3, 7.2.4, 7.3, 7.3.3, 7.4, 7.4.1, 7.4.2, 7.4.3 and 7.5 of ACPI spec 1.0b.
* A lot of changes on acpi driver code.iwasaki2000-08-292-70/+80
| | | | | | | | | | | | | | | | - The "Osd*" stuff went away from acpi driver code, use the bus_space functions directly instead. - Fix minor english bugs. acpi_registers_input -> acpi_register_input acpi_registers_output -> acpi_register_output - Remove all magic numbers for the sleeping states. We now have #defines for these. - NULL is treated the same as the return from aml_get_rootname in aml_find_from_namespace(). Suggested by: msmith Thanks mike!
* make the test for hwptr going backwards more picky- now it only triggers ifcg2000-08-291-1/+1
| | | | 15/16 of the buffer is skipped or we go backwards by < 1/16 of buffer size.
* Give ccd a cloning function.phk2000-08-291-8/+32
|
* add devfs support. when devfs is enabled, sysctl hw.sndunit is used to setcg2000-08-291-1/+65
| | | | | which sound unit the /dev/{dsp,mixer,dspW,audio} links point at. this can also be set from the loader.
* add driver for forte-media fm801cg2000-08-291-0/+743
| | | | | PR: conf/20698 Submitted by: dimmy the wild <diwil@dataart.com>
* Many and sundry changes. Still alpha quality.phk2000-08-291-136/+360
|
* * Completely rewrite the alpha busspace to hide the implementation fromdfr2000-08-2817-216/+264
| | | | | | | | | | | | the drivers. * Remove legacy inx/outx support from chipset and replace with macros which call busspace. * Rework pci config accesses to route through the pcib device instead of calling a MD function directly. With these changes it is possible to cleanly support machines which have more than one independantly numbered PCI busses. As a bonus, the new busspace implementation should be measurably faster than the old one.
* Fix disordered arguments to bus_space_barrier().dfr2000-08-281-1/+1
|
* Define a pcic module versionimp2000-08-281-0/+1
|
* Removed detection for Voodoo Banshee and Voodoo3 cards. I forsee certaincokane2000-08-282-16/+43
| | | | | | | | | possible complications with the forthcoming DRI code, and feel that DRI should handle the device-level interaction. Read http://people.FreeBSD.org/~cokane/3dfx.html to find out more. Basically want to move toward using OpenGL and DRI for everything on these cards. Added a few defines and spacing style fixes in tdfx_vars.h
* remove clause 3 licencemjacob2000-08-271-7/+1
|
* various fixesmjacob2000-08-277-241/+409
|
* Call destroy_dev() when sio devices go away.phk2000-08-271-6/+12
|
* Fix ioctl MOUSE_SETMODE as defined in mouse(4).yokota2000-08-271-2/+5
| | | | | (Do not return EINVAL when -1 is specified as a new value, as it should mean "preserve the current value.")
* Allow the DPT pci attachment to share IRQ'speter2000-08-261-1/+2
| | | | Submitted by: Jonathan Chen <jon@spock.org>
* Regen.gehenna2000-08-262-2/+18
|
* Add vendor IBM product USB CD-ROM Drivegehenna2000-08-261-0/+4
|
* Minor tweaks to have the card be properly enabled via the CCR.imp2000-08-261-6/+9
| | | | | Minor debug changes Minor power management pessimizations
* Move acpi_softc into acpi.h to be shared from additional files.iwasaki2000-08-253-12/+433
| | | | | Add PowerResource manipulation code; acpi_powerres.c. (more files to be created something like acpi_battery, acpi_thermal.c...)
* Fix newbus resource allocationsroger2000-08-242-10/+16
| | | | | PR: kern/18744 Submitted by: Alexander Langer <alex@cichlids.com>
* Add orthogonal part of ACPI support code.takawata2000-08-2421-0/+7195
| | | | | | | This does not come effect until non-orthogonal part is commited. Approved by: jkh Obtained from: ACPI for FreeBSD CVS repository.
* Add spltty()/splx() in the watchdog timer routine.yokota2000-08-241-0/+3
|
* Sync to pccarddevs 1.5imp2000-08-242-107/+286
|
* o Fix unterminated commentimp2000-08-241-28/+53
| | | | | | | | | | | | | | | | | | | | o Sync to NetBSD (rev NetBSD-user edited-log): 1.97 onoe add Samsung MagicLAN SWL-2000N 1.96 gmcgarry Add entries for all Xircom ethernet models. 1.95 onoe Add Farallon SkyLINE 11mb card as Intersil Prism2 [...] 1.94 joda add 3Com 3CRWE737A (AirConnect) 1.93 soren Include vendor name for IBM products. 1.92 onoe Add Farallon SkyLINE Wireless LAN Card for awi(4) [...] 1.91 soren Add Olicom GoCard. 1.90 gmcgarry Clean up XIRCOM entries - Add entry for Xircom CreditCard Ethernet + Modem 28 - Add entry for Intel EtherExpress PRO/100 - Add entry for Compaq Netelligent 10/100 Ethernet 1.89 is RATOC REX-R280 (another if_mbe_pcmcia card) support by [...] 1.88 joda Panasonic KXLC003 1.87 scw [...] SOHOware PCMCIA Ethernet card, model ND5100-E [...] 1.86 itojun add CIS for Corega Wireless LAN PCC-11 [...] o Minor diffs between the two files corrected to aid future sync.
* This is the initial import of a new driver for the current family ofmsmith2000-08-236-0/+4842
| | | | PCI:SCSI RAID controllers from Mylex.
* Update include directives for Linuxulator headers after themarcel2000-08-221-3/+3
| | | | MD/MI split.
* Save a pointer to the dev, if any, that each function attach.imp2000-08-222-2/+7
| | | | Remove some bogus printfs.
* Fix a bug upon initialization. (_INDX_ADDR -> _INDX_DATA)tanimura2000-08-211-5/+6
|
* Fix up the command in the destination buffer, not the source.n_hibma2000-08-211-2/+2
| | | | | This makes the conversion from Test-Unit-Ready to Start-Stop-Unit in the case of SCSI (Iomega Zip drive) actually work.
* rework feeder sytem to allow feeders in kldscg2000-08-2023-304/+705
| | | | | | | | modify driver capability reporting format to list every audio format seperately- required for above and because we could not previously indicate that mono was unsupported. there should be no functional impact.
* Remove all traces of Julians DEVFS (incl from kern/subr_diskslice.c)phk2000-08-203-35/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | Remove old DEVFS support fields from dev_t. Make uid, gid & mode members of dev_t and set them in make_dev(). Use correct uid, gid & mode in make_dev in disk minilayer. Add support for registering alias names for a dev_t using the new function make_dev_alias(). These will show up as symlinks in DEVFS. Use makedev() rather than make_dev() for MFSs magic devices to prevent DEVFS from noticing this abuse. Add a field for DEVFS inode number in dev_t. Add new DEVFS in fs/devfs. Add devfs cloning to: disk minilayer (ie: ad(4), sd(4), cd(4) etc etc) md(4), tun(4), bpf(4), fd(4) If DEVFS add -d flag to /sbin/inits args to make it mount devfs. Add commented out DEVFS to GENERIC
* Unbreak LINT.n_hibma2000-08-201-1/+1
|
* o Move to using PCCARD_SOFTC(dev)imp2000-08-194-20/+16
| | | | | o fill in the size of the actual softc, rather than 1 in data structure o minor debugging improvements.
* o move to using PCIC_SOFTC(dev) to get the softcimp2000-08-193-15/+13
| | | | | o move pcic_deactivate into pcic_detach o Better debug messages
* fix SNDCTL_DSP_GETODELAYcg2000-08-191-1/+2
| | | | | PR: kern/20340 Submitted by: Takashi SHIRAI <shirai@nintendo.co.jp>
* don't complain about bad irqs if using a shared irqcg2000-08-191-0/+3
|
* Recognize ESS 1888 in Dell Latitude XPicg2000-08-191-0/+1
| | | | | PR: kern/18714 Submitted by: Sean O'Connell <sean@stat.Duke.EDU>
* Replace the mbuf external reference counting code with somethingdwmalone2000-08-195-143/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that should be better. The old code counted references to mbuf clusters by using the offset of the cluster from the start of memory allocated for mbufs and clusters as an index into an array of chars, which did the reference counting. If the external storage was not a cluster then reference counting had to be done by the code using that external storage. NetBSD's system of linked lists of mbufs was cosidered, but Alfred felt it would have locking issues when the kernel was made more SMP friendly. The system implimented uses a pool of unions to track external storage. The union contains an int for counting the references and a pointer for forming a free list. The reference counts are incremented and decremented atomically and so should be SMP friendly. This system can track reference counts for any sort of external storage. Access to the reference counting stuff is now through macros defined in mbuf.h, so it should be easier to make changes to the system in the future. The possibility of storing the reference count in one of the referencing mbufs was considered, but was rejected 'cos it would often leave extra mbufs allocated. Storing the reference count in the cluster was also considered, but because the external storage may not be a cluster this isn't an option. The size of the pool of reference counters is available in the stats provided by "netstat -m". PR: 19866 Submitted by: Bosko Milekic <bmilekic@dsuper.net> Reviewed by: alfred (glanced at by others on -net)
* Call bus_generic_detach on pcic before deleting the children. Thisimp2000-08-191-1/+4
| | | | | | has the side effect of detaching the children before I delete them. When I put the last commits in a loop for loop it died after 5 or so iterations. After this change, I lasted 50 before I stopped the test.
* Remove pcic_isa_identify. I don't think it is needed.imp2000-08-193-26/+21
| | | | | | | Add pcic_detach which removes all of the pcic's children. This lets me load/unload pcic multiple times w/o having multiple instances of each slot attached to pcic.
* - Fixed the conversion to bus_space interface.nyan2000-08-177-608/+2504
| | | | | | - Added PC-98 Cbus devices support. The original patch is submitted by chi@bd.mbn.or.jp (Chiharu Shibata) - Removed old ed driver.
* Add support for loading this as a module (before there were someimp2000-08-172-11/+16
| | | | | | | | | problems). Also pick an irq if one isn't specified. Ditto for memory. Add additional printfs in the error paths. These will disappear in time. There are still some panics, but this is a good checkpoint.
* Rearrange the probe a bit, hopefully this will help to eleminatesos2000-08-164-145/+145
| | | | | | | | | | | some of the fake devices sometimes seen on single device ATA channels. Proberly fail on failures in ata-disk.c, retry instead of hang. Cleanup the VIA probe/init code a bit. Fix a couble of missing free's in atapi-cd.c in the changer code.
* open_drive:grog2000-08-161-16/+21
| | | | | | | | | | | | | Add support for AMD RAID controllers as "disks". Requested-by: Marius Bendiksen <mbendiks@eunet.no> Remove potential panic when attempting to open non-existent drivers. init_drive: Return error codes correctly. Previously it would occasionally return 0. The error was redetected elsewhere, but this was causing a number of confusing error messages.
* Add another USR modem.peter2000-08-151-0/+1
| | | | | PR: 20621 Submitted by: Masanori Taira <mtaira@logicaleffect.com>
* awictl configuration interface is never used and now it is replaced byonoe2000-08-141-72/+0
| | | | wicontrol(8).
* Add support for WEP functionality.onoe2000-08-144-369/+1629
| | | | | | | Add support for wi(4) compatible configuration interface. It enables wicontrol(8) to configure some 802.11 specific parameters. Some minor fixes from NetBSD. Obtained from: NetBSD current
OpenPOWER on IntegriCloud