summaryrefslogtreecommitdiffstats
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
|
* Use default geometry in case the device doesn't provide one:phk2003-03-291-1/+6
| | | | | | | 512 for sectorsize. 63 for sectors. 255 for heads. This will mostly show up on MD(4) devices.
* Checksum the configuration EEPROM.mdodd2003-03-291-0/+43
|
* BDE'ifyfjoe2003-03-291-79/+89
|
* - 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
* fix truncation check and buffer overflow checkfjoe2003-03-291-11/+11
|
* 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
* sendmail 8.12.9 has been importedgshapiro2003-03-291-4/+4
|
* Fix conflicts from sendmail 8.12.9 importgshapiro2003-03-294-9/+139
|
* This commit was generated by cvs2svn to compensate for changes in r112810,gshapiro2003-03-2958-174/+329
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import sendmail 8.12.9gshapiro2003-03-2962-183/+464
| |
* | 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
* | Align signal frame placed on stack to 16 bytes so that SSE FPU registerdeischen2003-03-291-1/+2
| | | | | | | | | | | | restores can work. Also correct allocation for signal frame size. Reviewed by: mini
* | 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.
* | Don't dereference flags if NULL (see http.c rev 1.87)des2003-03-291-1/+1
| |
* | 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.
* | Fill in the rest of the fields in the resulting struct tmmtm2003-03-291-2/+3
| | | | | | | | | | | | | | | | | | | | from strptime(3). Previously, they would get filled only for the %s specifier and as a side effect of using the the %Z specifier with a GMT time zone. PR: misc/48993 Approved by: markm (mentor) Silence on: -standards
* | Correct a typo in previous commitkris2003-03-291-1/+1
| |
* | '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>
* | Note: this is OLDCARD, and tweak comment about clpd 6729/30.imp2003-03-291-1/+3
| |
* | Add a new man page for bus_activate_resource andimp2003-03-292-2/+100
| | | | | | | | | | bus_deactivate_resource. It could use some improvement, and others are welcomed to do so :-)
OpenPOWER on IntegriCloud