summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Fix the PCCARD ATA breakage..sos2000-10-302-4/+10
| | | | | | | | This is due to a bug that has been in there since Warneer did the PCCARD stuff, the altioaddr is not offset 8 its offset 14 from the base address. Also only probe the master device, no known PCCARD ATA thingies has a slave AFAIK..
* Add pfil.9 manpage to build after a repository copy.ru2000-10-301-133/+0
|
* Revert previous commit after discussion with phk.kris2000-10-301-0/+1
|
* Remove unused #includesphk2000-10-304-7/+0
| | | | Reviewed by: ken
* Fix support for cardbus cards:wpaul2000-10-302-2/+9
| | | | | | | | | | - Add DRIVER_MODULE() declaration to make this driver a child of cardbus - Handle different width EEPROMs The CIS parser still barfs when scanning this card, but it seems to probe/attach correctly anyway. I can't do a traffic test just yet since I don't have a proper crossover cable handy.
* Remove more unused #includes.phk2000-10-3036-36/+0
|
* Write support for the cd(4) driver.ken2000-10-303-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows writing to DVD-RAM, PD and similar drives that probe as CD devices. Note that these are randomly writeable devices, not sequential-only devices like CD-R drives, which are supported by cdrecord. Add a new flag value for dsopen(), DSO_COMPATLABEL. The cd(4) driver now uses this flag instead of the DSO_NOLABELS flag. The DSO_NOLABELS always used a "fake" disklabel for the entire disk, provided by the caller. With the DSO_COMPATLABEL flag, dsopen() will first search the media for a label, and if it finds a label, it will use that label. Otherwise it will use the fake disklabel provided by the caller. This provides backwards compatibility, since we will still have labels for ISO9660 media. It also provides new functionality, since you can now have a regular BSD disklabel on read-only media, or on writeable media (e.g. DVD-RAM). Bruce and I both think that we should eventually (in a few years) get away from using disklabels for ISO9660 media, and just use the whole disk device (/dev/cd0). At that point disklabel handling in the cd(4) driver could follow the "normal" model, as used in the da(4) driver. Also, clean up the path in a couple of places in cdregister(). (Thanks to Nick Hibma for catching that bug.) Reviewed by: bde
* Add some additional message types for coming raylan driver from Duncanimp2000-10-301-0/+35
| | | | Barclay.
* Remember to decrement interrupt nesting level if leaving earlymjacob2000-10-301-0/+1
| | | | (in the unlikely case we get a clock interrupt on a non-primary CPU).
* _aio_aqueue(): Change kevent registration to use its own struct file pointer.alc2000-10-291-3/+4
| | | | | | Otherwise, aio_read() and aio_write() on sockets are broken if a kevent is registered. (The code after kevent registration for handling sockets assumes that the struct file pointer "fp" still refers to the socket, not the kqueue.)
* Allow all users to access the dev -> devname sysctl.phk2000-10-291-1/+1
|
* Remove unneeded <stddef.h> #includes.phk2000-10-2910-19/+0
|
* Make a few more mallocs use M_ZERO.dwmalone2000-10-294-12/+8
| | | | | | Submitted by: josh@zipperup.org Submitted by: Robert Drehmel <robd@gmx.net> Approved by: imp
* Unmask cypress ata controllers. This bug was hidden beforegallatin2000-10-291-0/+1
| | | | | the addition of the serverworks isab support because the cypress case was the last one in the switch
* Make malloc use M_ZERO in some more locations.dwmalone2000-10-295-16/+7
| | | | | | | | Don't check for a null pointer if malloc called with M_WAITOK. Submitted by: josh@zipperup.org Submitted by: Robert Drehmel <robd@gmx.net> Approved by: bp
* Move suser() and suser_xxx() prototypes and a related #define fromphk2000-10-2962-64/+15
| | | | | | | | | <sys/proc.h> to <sys/systm.h>. Correctly document the #includes needed in the manpage. Add one now needed #include of <sys/systm.h>. Remove the consequent 48 unused #includes of <sys/proc.h>.
* Add the use of M_ZERO to some malloc calls.dwmalone2000-10-297-29/+15
| | | | | | Submitted by: josh@zipperup.org Submitted by: Robert Drehmel <robd@gmx.net> Approved by: gibbs
* Weaken a bogus dependency on <sys/proc.h> in <sys/buf.h> by #ifdef'ingphk2000-10-2922-21/+2
| | | | | | | | | | the offending inline function (BUF_KERNPROC) on it being #included already. I'm not sure BUF_KERNPROC() is even the right thing to do or in the right place or implemented the right way (inline vs normal function). Remove consequently unneeded #includes of <sys/proc.h>
* Remove unneeded #include <sys/proc.h> lines.phk2000-10-2966-66/+0
|
* fix warning compile error about unused variabledarrenr2000-10-292-0/+4
|
* Fix params passed to pci_porten() and pci_memen().phk2000-10-292-4/+4
|
* Add a hook for doing #include magic (for src/tools/tools/kerninclude).phk2000-10-296-6/+6
|
* Fix conflicts creted by import.darrenr2000-10-2916-82/+102
|
* Change flags of ncv and nsp driver. Both were conflicted with the flagsnon2000-10-292-2/+2
| | | | | | | used in lower layer (scsi_low.c). The flag of ncv for KME KXLC004 was chaged from 0x1 to 0x100. The flag of nsp for PIO mode was chaged from 0x1 to 0x100.
* Changed not to use struct isa_device in the argument of scsi_low_activate().non2000-10-292-3/+4
| | | | | You will not need COMPAT_OLDISA in config file. This interface may have to change in future.
* Remove unnecessary printf().non2000-10-292-2/+0
|
* Add hints for ISA cards (such as TMC1610M) which use stg driver.non2000-10-292-0/+6
| | | | The values has been given by Arai Mikio <m-arai@sco.bekkoame.ne.jp>.
* Reduce kernel stack usage by not having large packets on the stack.tegge2000-10-292-1032/+2048
| | | | | | Supply correct size parameter to dhcpd. Replace some magic numbers with macro names. Handle more than one interface.
* Count per-address statistics for IP fragments.joe2000-10-292-2/+12
| | | | | Requested by: ru Obtained from: BSD/OS
* Nuke a bit of dead code.truckman2000-10-291-5/+0
|
* Unconditionally turning on the I/O and memory enable bits in the PCImsmith2000-10-282-2/+28
| | | | | | | command register is too aggressive. Revert to the previous behaviour, but leave the new behaviour available as an undocumented option. It's not clear what the Right, Right Thing is to do here, but the more conservative approach is safer.
* Don't ignore VESA modes that have the NON-VGA bit set. All of the SVGAjhb2000-10-281-2/+1
| | | | | graphical modes on some systems have this bit set causing our VESA code to ignore them.
* Add a brief comment telling people to retain 'device miibus' as necessary.nik2000-10-282-0/+2
| | | | | PR: docs/21981 Submitted by: Matthew Emmerton <matt@gsicomp.on.ca>
* Add missing call to knote_fdclose() in setugidsafety() and fdcloseexec().alc2000-10-281-0/+4
| | | | Reviewed by: jlemon
* add commented-out dependancies on the new sb8 and sb16 driverscg2000-10-281-0/+2
|
* modules for the new sb8 and sb16 driverscg2000-10-282-0/+16
|
* add commented-out entries for the new sb8 and sb16 driverscg2000-10-281-0/+2
|
* split up sb16 and sb/sbpro driverscg2000-10-282-928/+690
| | | | | | | we do not support sb versions <2.00, and the sb8 driver has not been tested yet. these drivers are not yet enabled by default.
* add PC-Card melody beep(PC Card bus, kludge version)sanpei2000-10-282-41/+92
| | | | Original idea from: PAO3
* Restore GDC mode to initial mode instead of 24KHz.nyan2000-10-282-2/+2
| | | | Submitted by: Tomokazu HARADA <tkhara@osk4.3web.ne.jp>
* Fixed extention memory check routine.nyan2000-10-283-4/+5
| | | | Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
* Removed extra calculation for X position (PC-98 only).nyan2000-10-282-2/+0
| | | | Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
* Return -10 from the PCI probe to allow room for an updated driver tomsmith2000-10-283-3/+3
| | | | override one built into the kernel.
* Fix typo s/DE_DEVICEID_FE2500/DC_DEVICEID_FE2500/peter2000-10-282-2/+2
|
* Add PCI IDs for some additional cardbus cards. Yes, there really iswpaul2000-10-286-5/+39
| | | | | | | a RealTek 8139 cardbus device. Unfortunately it doesn't quite work yet because the CIS parser barfs on it. Submitted by msmith, with some small tweaks by me.
* We should include <machine/stdarg.h> not <stdarg.h>msmith2000-10-282-2/+2
| | | | Submitted by: phk
* Quick fix for namespace problems which broke many ports. Spellbde2000-10-281-6/+6
| | | | | uint16_t as "unsigned short" like it used to be and uint32_t as "unsigned int" not like it used to be (was: "unsigned long").
* Some AML code assumes that a function without an explicit ReturnOp willmsmith2000-10-282-0/+38
| | | | | | | | | | | | return the last value returned by a nested method call. This violates the ACPI spec, but is implemented by the Microsoft interpreter, and thus vendors can (and do) get away with it. Intel's stance is that this is illegal and should not be supported. As they put it, however, we have to live in the real world. So go ahead and implement it. Submitted by: Mitsaru IWASAKI <iwasaki@jp.freebsd.org>
* FreeBSD-specific customisations:msmith2000-10-286-4/+138
| | | | | | | - Set debugger options for kernel build - Define some missing functions - Bring in GCC defines - Disable the 'wbinvd' macro as it conflicts with our inline
* Add some extra fuctions:msmith2000-10-283-0/+244
| | | | | | - AcpiGetProcessorID (fetch the ACPI processor ID for a given ACPI_HANDLE) - AcpiSetSystemSleepState (set the Sx sleeping state, proposed by Intel but not actually implemented)
OpenPOWER on IntegriCloud