summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Add support for Corega FEtherII CB-TXD (CardBus 100M/10M).sanpei2003-01-112-4/+14
| | | | Fix typo (Coreaga->Corega)
* correct printf formatsam2003-01-111-1/+1
| | | | Noticed by: alpha tinderbox
* Reset the channel in attach if its not the console.jake2003-01-111-0/+7
|
* Add symlink support to devfs_rule_matchpath(). This allows the userdd2003-01-111-1/+2
| | | | to unhide symlinks as well as hide them.
* Major bugfixes for large memory and fast systems.scottl2003-01-114-67/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aac.c: Re-arrange the interrupt handler to optimize the common case of the adapter interrupting us because one or more commands are complete, and do a read across the pci bus to ensure that all posted status writes are flushed. This should close a race that could cause command completion interrupts to be lost. Follow the spec a bit closer when filling out command structures. Enable the Fast Response feature to eliminate the need for the card to DMA successfull command completions back into host memory. Tell the controller how much physical memory we have. Without this there was a chance that our DMA regions would collide with the memory window used by the cache on the controller. The result would be massive data corruption. This seemed to mainly affect systems with >2GB of memory. Fix a few whitespace problems. aac_debug.c: Add an extra diagnostic when printing out commands. aac_disk.c: Add extra sanity checks. aacreg.h: Prepare for making this 64-bit clean by reducing the use of enumeration types in structures. Many thanks to Justin Gibbs for helping track these down.
* Remove all use of the LOG2() macro/inline, undoing some non-optimal cruftdillon2003-01-112-32/+16
| | | | | | | that crept in recently. GCC will optimize the divides and multiplies for us. Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU> MFC after: 1 day
* make sem_leave return a usable errno instead of -1.alfred2003-01-101-3/+3
| | | | | | make ksem_close return that usable errno instead of -1 (ERESTART). PR: 46957
* Output the fstype of each partition in a disklabel in the configurationjhb2003-01-101-0/+7
| | | | text similar to the way that the MBR module dumps its slice types.
* MFi386: revision 1.552.nyan2003-01-102-4/+0
|
* Don't record thread pointer, it's not permanent in process life cycle,davidxu2003-01-101-6/+6
| | | | use process pointer instead.
* Make newer integrated SiS900 cards working.mbr2003-01-102-2/+36
| | | | | | | | | | | Allow to read EEPROM from LAN. It is shared between a 1394 controller and the NIC and each time we access it, we need to set SIS_EECMD_REQ. Idea from: linux driver source Reviewed by: luoqi Obtained from: linux driver source (idea)
* Sis no longer implements the enhanced phy controlmbr2003-01-102-53/+262
| | | | | | | | | | register, and phy has to be directly accessed via mdio. Patch converted to CURRENT from STABLE. Submitted by: luoqi Reviewed by: luoqi (again) MFC after: 2 weeks
* SIS_CFG_EDB_MASTER_EN indicates the EDB bus is used instead ofmbr2003-01-102-3/+14
| | | | | | | | | the PCI bus. When this bit is set, the Max DMA Burst Size for TX/RX DMA should be no larger than 64 bytes. Reviewed by: luoqi Obtained from: (idea from linux driver source) MFC after: 2 weeks
* When reading PHY regs over the i2c bus, the turnaround ACK bitmbr2003-01-108-8/+8
| | | | | | | | | | is read one clock edge too late. This bit is driven low by slave (as any other input data bits from slave) when the clock is LOW. The current code did read the bit after the clock was driven high again. Reviewed by: luoqi MFC after: 2 weeks
* o Improve wording of the comment that accompanies fs_pad. Themarcel2003-01-101-1/+6
| | | | | | | | | | | padding is not specific to non-i386 architectures. It is caused by non-i386 specific alignment requirements of fs_swuid, o Add a CTASSERT to catch a change in the size of struct fs at compile-time rather than run-time. Ok'd: gordon Tested on: i386 ia64
* Add preliminary support for the Hawking PN672TX CardBus cards.imp2003-01-104-0/+30
| | | | | # Preliminary because there are some subtle things the NetBSD driver does # that we don't do yet. My card works for me w/o them.
* Don't allow user process to set an invalid window state through sigreturn.jake2003-01-102-4/+9
| | | | Spotted by: tmm
* Clear the target hardware address field when generating an ARP request.tmm2003-01-101-0/+1
| | | | | Reviewed by: nectar MFC after: 1 week
* Fix superblock alignment problems on non-i386 platforms. Also change fs_uuidgordon2003-01-091-2/+3
| | | | | | | | to fs_swuid, making it more descriptive. Submitted by: marcel Reviewed by: peter Pointy hat to: gordon
* Fix for DELL PERC firmware. Driver was hangingemoore2003-01-091-2/+16
| | | | | | | | | during load time; this attributed to the mailbox busy byte not being set prior to issuing a polling command. Approved by: ps MFC: 7 days
* Add support for the Davicom DM9009 chipset.trhodes2003-01-094-0/+8
| | | | | | PR: 46859 Submitted by: Boaz Haberman <boaz@ool-182f8b09.dyn.optonline.net> Approved by: rwatson
* Remove earlysetcpuclass() as it has been OBE.jhb2003-01-094-34/+0
| | | | Suggested by: bde
* Rework part of the previous processor name changes so that we readjhb2003-01-099-82/+56
| | | | | | | | cpu_exthigh and cpu_brand in printcpuinfo() instead of in identify_cpu(). We also only do it for known-good values of cpu_vendor which is a bit more conservative. Reviewed by: bde (mostly)
* Build gem(4) on powerpc also.obrien2003-01-091-2/+5
|
* Moved if_hme to hme.obrien2003-01-092-10/+1
| | | | (I need a score card to keep track of the /sys layout fights)
* Add an hme(4) module.obrien2003-01-091-0/+9
| | | | | PR: 46871 Submitted by: Hartmut Brandt <brandt@fokus.gmd.de>
* Oops, add zstty to the witness order list.jake2003-01-091-0/+1
| | | | Noticed by: benno
* Dont probe PnP devices.sos2003-01-091-0/+4
| | | | Submitted by: Takahashi Yoshihiro <nyan@FreeBSD.org>
* Fix typosos2003-01-091-1/+1
| | | | PR: 45375
* Make ofw_pci_find_node() use the reg property instead of thebenno2003-01-091-5/+5
| | | | assigned-addresses property. This works a lot better.
* Add a pcib variant to allow us to fix up interrupt assignments.benno2003-01-092-0/+119
| | | | We probably want to do something wrt bus enumeration as well at some point.
* - Add error messages for bulkxfer.simokawa2003-01-092-4/+7
| | | | - Reduce register access.
* Allocate interrupts from the resource list.benno2003-01-091-2/+4
|
* - Remove the ignore list and replace it with a quirk list of sorts.benno2003-01-092-23/+58
| | | | | | | | - Add a quirk type for devices whose interrupt properties are actually attached to their children. - Flag the "escc" (zs-alike serial controller) device as having this quirk. - Rework the interrupt discovery code to deal with devices that have more than one interrupt.
* Invoke the driver directly when a request is submitted via crypto_dispatchsam2003-01-091-21/+52
| | | | | | | | | | | | | | | or crypto_kdispatch unless the driver is currently blocked. This eliminates the context switch to the dispatch thread for virtually all requests. Note that this change means that for software crypto drivers the caller will now block until the request is completed and the callback is dispatched to the callback thread (h/w drivers will typically just dispatch the op to the device and return quickly). If this is an issue we can either implement a non-blocking interface in the s/w crypto driver or use either the "no delay" flag in the crypto request or the "software driver" capability flag to control what to do. Sponsored by: Vernier Networks
* o handle jumbograms in m_clonesam2003-01-091-52/+82
| | | | | | o fixup some comments Submitted by: Doug Ambrisko <ambrisko@verniernetworks.com>
* Merge from NetBSD and arrange for FreeBSD's slight differences inimp2003-01-092-817/+423
| | | | | | | | ucom. This gets my Sanyo SCP-4900 working. Approved by: joe
* - remove unneeded includesgrehan2003-01-091-5/+17
| | | | | - fix big in use of rid for SYS_RES_IRQ - catch up with ATA common code by adding lock function
* Remove obsolete GEOM option, and bring diskless options up-to-dategrehan2003-01-091-7/+3
| | | | Approved by: benno
* Include if_hme_sbus.c, so that the module can also be used on sbustmm2003-01-091-1/+1
| | | | machines. Remove opt_bdg.h, which is not needed.
* Add detach, shutdown, suspend and resume methods.tmm2003-01-094-12/+142
| | | | Tested by: jake
* Add sbus specific zs file.jake2003-01-081-1/+2
|
* Split this into bus specific front end(s), so that it can be used by ppc.jake2003-01-084-279/+398
| | | | | | | | | This abstracts out all the differences I could see between the netbsd sparc64 and macppc zs drivers. In particular the offsets of the csr and data registers are different, so we use a separate bus handle for each and use bus_space_subregion to add the bus specific offsets. Requested by: benno
* Steal some space from fs_fsmnt to create fs_volname and fs_uuid. The volnamegordon2003-01-081-1/+9
| | | | | | | | will be used to support volume names with the help of a GEOM module (to be committed). uuid will be used to deal with conflicting volume names (which doesn't work just yet). Approved by: mckusick@
* Build a gem module, for sparc64 only for now.tmm2003-01-082-1/+10
|
* Add detach, shutdown, suspend and resume methods. The latter two aretmm2003-01-083-42/+97
| | | | not really tested, but are derived from the original NetBSD version.
* In vm_page_alloc(), honor VM_ALLOC_ZERO for system and interrupt classalc2003-01-081-12/+5
| | | | | | | requests when the number of free pages is below the reserved threshold. Previously, VM_ALLOC_ZERO was only honored when the number of free pages was above the reserved threshold. Honoring it in all cases generally makes sense, does no harm, and simplifies the code.
* Consistently use spaces in between arguments to strcmp(). Whitespacejhb2003-01-082-6/+6
| | | | only.
* Fix module dependancy name.obrien2003-01-081-1/+1
| | | | | PR: 46871 Submitted by: Hartmut Brandt <brandt@fokus.gmd.de>
* Add an hme(4) module.obrien2003-01-082-0/+13
| | | | | PR: 46871 Submitted by: Hartmut Brandt <brandt@fokus.gmd.de>
OpenPOWER on IntegriCloud