summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* - Free interrupt handler in ep_free().mdodd2003-03-296-18/+32
| | | | | - Move ep_pccard_detach() to if_ep.c and rename to ep_detach() - Specify detach methods for all bus frontends.
* Add create_geom and destroy_geom methods.phk2003-03-291-0/+159
|
* remove a blank line.phk2003-03-291-1/+0
|
* Checksum the configuration EEPROM.mdodd2003-03-291-0/+43
|
* - Return error status instead of value in get_e().mdodd2003-03-294-32/+71
| | | | | - Modify ep_get_macaddr() to return an error status. - Reverse the return value logic of eeprom_rdy().
* Switch vr_encap over to using m_defrag instead of its own versionsilby2003-03-292-28/+4
| | | | | | | | | of the function. No functional change, this driver already handled long mbuf chains correctly. MFC after: 2 weeks
* Update if_dc to use m_defrag, removing the semi-duplicate dc_coalsilby2003-03-292-70/+60
| | | | | | | | | | | function. Also, use m_defrag where appropriate to defrag long mbuf chains in the same fashion as was done in if_sis.c. Before this change, if_dc would blow up and take down the interface if fed a really long mbuf chain. MFC after: 2 weeks
* Fix the osf1 abi module on SMP systems by making the size ofgallatin2003-03-292-2/+3
| | | | | | | | | | | | | | | | a struct pmap be the same on both SMP and UP kernels. It turns out that the size of a struct pmap is much larger on alpha SMP systems due to the number of pm_asn's being dependant on MAX_CPU. Since modules are supposed to be SMP agnostic, this has the affect of moving around the "interesting bits" of the vmspace (daddr, dsize) that the osf1 module wants to frob. So the module ends up scribbling in a pmap struct, and the user either sees a panic, or an application failure. While here, I've also shrunk MAXCPU to 8 now that it affects the size of pmap structs on UP systesm. This should be plenty, as I'm unware of any hardware we currently run in which supports more than 8 CPUs.
* Have sis_encap use m_defrag if:silby2003-03-291-1/+25
| | | | | | | | | | | | | | | 1. The chain passed in is > 31 fragments long or 2. The chain will not fit in the remaining descriptors without defragmentation. This is slightly less clear than other network drivers because the sis chips share one descriptor list for all packets, it seems. Before this change, a > 127 fragment chain would get stuck in the IFQUEUE permanently, bringing all network traffic to a halt. MFC after: 2 weeks
* opt_geom.h is no longer required for this module.mdodd2003-03-291-5/+2
|
* Add 'idt' driver to module build.mdodd2003-03-291-0/+1
|
* - Deal with netisr changes.mdodd2003-03-291-5/+5
| | | | - Wrap idt_atm_harpconn() in conditional define T_ATM_BUFQUEUE
* Add module infrastructure for 'dpt' driver.mdodd2003-03-292-0/+15
|
* Add module infrastructure for 'if_ex'.mdodd2003-03-292-0/+13
|
* - Declare ex_devclass in if_ex.cmdodd2003-03-294-8/+8
| | | | - Rename module datastructures in if_ex_isa.c to be more standard.
* - Move ex_pccard_detach() to if_ex.c and rename it to ex_detach().mdodd2003-03-294-15/+22
| | | | - Add detach method to ISA front end.
* Reformat for readability.mdodd2003-03-291-96/+98
|
* Add module infrastructure for 'vpd' and 'smbios' and move 'smbios'mdodd2003-03-295-2/+29
| | | | to new home.
* Remove useless code.mdodd2003-03-291-6/+0
|
* Don't compile the identify method yet.mdodd2003-03-291-0/+4
|
* Register dependency on the elink module.mdodd2003-03-291-0/+3
|
* Add module infrastructure for elink.mdodd2003-03-292-0/+11
|
* Add module infrastructure for if_ie.mdodd2003-03-292-0/+11
|
* Second round of updates to the ATA driver.sos2003-03-2911-537/+614
| | | | | | | | | | | | Clean up the DMA interface too much unneeded stuff crept in with the busdma code back when. Modify the ATA_IN* / ATA_OUT* macros so that resource and offset are gotten from a table. That allows for new chipsets that doesn't nessesarily have things ordered the good old way. This also removes the need for the wierd PC98 resource functions. Tested on: i386, PC98, Alpha, Sparc64
* - Move driver to newbus.mdodd2003-03-298-541/+1124
| | | | | | - Provide identify methods for EtherExpress and 3c507 cards; this means these cards no longer need wired configs. - Provide a detach method.
* - Change ELINK_ID_PORT; the 3c507 likes 0x100 better.mdodd2003-03-292-2/+19
| | | | - Add module metadata.
* Clear the IFF_OACTIVE flag at the end of ieinit(). This preventsmdodd2003-03-291-0/+2
| | | | | | | | the adapter from becoming wedged when when the interface is is brought up by ether_ioctl() (when you set an IP address for example.) Confirmed this "fix" from NetBSD's i82586 backend. It seems hackish to me but whatever.
* 'speaker' not 'atspeaker'mdodd2003-03-291-1/+1
|
* Retire 'atspeaker' and 'pcspeaker'. We'll use 'speaker' whichmdodd2003-03-293-11/+1
| | | | | | is the same as the config device directive. Reminded by: Takahashi Yoshihiro <nyan@jp.FreeBSD.org>
* Adjust shared memory allocation to work on cards with only 8 KB of RAM.mdodd2003-03-291-6/+6
|
* Clean up argument comments for bus_dma_tag_create() calls.mdodd2003-03-2916-308/+451
|
* fixed a mbuf leak when an IP packet from ESP tunnel is redirectedsuz2003-03-291-0/+7
| | | | obtained from: KAME
* - Track resources in our softc.mdodd2003-03-295-127/+278
| | | | | | | | | | - Sanitize dpt_alloc(). - Add helper functions for resource alloc/release. - Add detach method. - Relocate definition of devclass_t. - Move some debugging output behind bootverbose. - Implement an identify method for ISA devices but don't use it right now.
* Fix up the long mbuf chain recovery code to use m_defrag; the oldsilby2003-03-291-19/+8
| | | | | | | code messed up on B & C chipsets because it lost the packet header and therefore the flag indicating the need for hardware checksums. MFC after: 2 weeks
* Pass the vm_page's address to sf_buf_alloc(); map the vm_page as partalc2003-03-293-13/+8
| | | | | | | | | | of sf_buf_alloc() instead of expecting sf_buf_alloc()'s caller to map it. The ultimate reason for this change is to enable two optimizations: (1) that there never be more than one sf_buf mapping a vm_page at a time and (2) 64-bit architectures can transparently use their 1-1 virtual to physical mapping (e.g., "K0SEG") avoiding the overhead of pmap_qenter() and pmap_qremove().
* Add the m_defrag routine, as discussed on committers@. Thissilby2003-03-292-0/+84
| | | | | | | incarnation should address the concerns of all in the discussion, and keeps statistics which show how much it is used. MFC after: 2 weeks
* Add MBUF_FRAG_TEST to NOTES.silby2003-03-291-0/+7
| | | | Submitted by: Hiten Pandya <hiten@unixdaemons.com>
* Text formatting changes.mdodd2003-03-292-65/+68
|
* Don't panic if we aren't plugged into a hub.mdodd2003-03-291-5/+18
|
* add missing copyright noticessam2003-03-283-4/+90
| | | | Noticed by: Robert Watson
* Check for the PS_NEEDSIGCHK flag in the right flags field.jhb2003-03-282-2/+2
|
* Perform warm reset if codec reports ready on attach.orion2003-03-281-16/+25
| | | | Move AC97 link control power up poke so it is always performed on attach.
* Move details of dev_t (and udev_t) to <sys/_types.h>.mike2003-03-284-31/+28
|
* Sysctl treats `long' and `unsigned long' differently - fix a comment.robert2003-03-281-1/+1
|
* bump __FreeBSD_version for thread-safe realpath(3)fjoe2003-03-281-1/+1
|
* Fix an XXX: and implement LINUX_BLKGETSIZE correctly.phk2003-03-281-6/+14
|
* pccarddevs_data.h no longer generatedimp2003-03-281-3/+2
|
* MFp4:imp2003-03-282-106/+10
| | | | | Don't generate the data file. Use 0xffffffff rather than -1 for sign safety as these fields are uint32_t.
* - Clean up function calling conventions.mdodd2003-03-284-439/+525
| | | | | | - Be consistent about what we call our softc. - Minor formatting. - Add some register definitions gleaned from NetBSD/Linux.
* Allow m_dup_pkthdr to accept mbufs with attached clusters assilby2003-03-281-3/+3
| | | | | | targets. Submitted by: bmilekic
OpenPOWER on IntegriCloud