DaemonForums  

Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th April 2010
thirdm thirdm is offline
Package Pilot
 
Join Date: May 2009
Posts: 208
Thanked 3 Times in 3 Posts
Default Why XXX_softc in BSD?

I'm reading autoconfiguration code in OpenBSD and see structs named XXX_softc which are based on struct device, but add more struct members. e.g. pcmcia_softc in
sys/dev/pcmcia/pcmciavar.h. Where does this name, "softc," come from? Is the c short for something? config? What's soft about it?
Reply With Quote
  #2   (View Single Post)  
Old 8th April 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,903
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by thirdm View Post
Where does this name, "softc," come from?
Questions like this are better addressed on the project's official tech@ mailing list. Information on subscribing can be found at the following:

http://openbsd.org/mail.html
Reply With Quote
  #3   (View Single Post)  
Old 8th April 2010
thirdm thirdm is offline
Package Pilot
 
Join Date: May 2009
Posts: 208
Thanked 3 Times in 3 Posts
Default Really?

Quote:
Originally Posted by ocicat View Post
Questions like this are better addressed on the project's official tech@ mailing list.
My feeling about openbsd-tech is it's not a place for novices to ask general questions. I sort of self-ban myself from there, figuring it's where people programming openbsd communicate about what they're doing and what patches they have.

Maybe freebsd's usenet group would be a good place for this? I thought of openbsd-misc, but figured they would find it annoying. All BSDs have these softc structs, and the freebsd groups seem fairly chatty.
Reply With Quote
  #4   (View Single Post)  
Old 8th April 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,903
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by thirdm View Post
My feeling about openbsd-tech is it's not a place for novices to ask general questions.
I don't interpret your question to be general.
Quote:
Maybe freebsd's usenet group would be a good place for this?
What you are looking for is to talk to a project developer -- especially one who has worked with this structure. Anyone else will simply be shooting in the dark. Hence, my suggestion of posting to tech@.

I have no knowledge of FreeBSD's Usenet group, so you are on your own there.
Reply With Quote
  #5   (View Single Post)  
Old 8th April 2010
J65nko J65nko is online now
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,189
Thanked 182 Times in 149 Posts
Default

I would suggest to ask your question on the OpenBSD misc list.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #6   (View Single Post)  
Old 8th April 2010
thirdm thirdm is offline
Package Pilot
 
Join Date: May 2009
Posts: 208
Thanked 3 Times in 3 Posts
Default okay

Yes, I think misc is probably a better bet so I tried there.
Reply With Quote
  #7   (View Single Post)  
Old 8th April 2010
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,798
Thanked 214 Times in 189 Posts
Default

Looks like you got a quick and specific answer, too.
Reply With Quote
  #8   (View Single Post)  
Old 8th April 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,080
Thanked 198 Times in 156 Posts
Default

http://marc.info/?l=openbsd-misc&m=127074645030284&w=2
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:04 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick